#include "TFItem.h"
#include <tf/TFElementSTD.h>
#include "TFItemSTD.h"
Go to the source code of this file.
Functions | |
TFItemSP | genTFItem (TFEltSP elt, QCanvas *canvas) |
TFItem Factory function, defined in "TFItemFactory.cpp". |
|
TFItem Factory function, defined in "TFItemFactory.cpp". this simple function generates the correct TFItem for each TFElement type if you add a new TFElement type, you should also have a corresponding TFItem, modify this funciton to produce the right one. Definition at line 29 of file TFItemFactory.cpp. References gutz::SmartPtrRef< TFElement >::getPtr(), and TFItemSP. Referenced by TFItemVec::addItem(). |