A class for building layer items. More...
#include <TreeItemFactory.h>
Public Types | |
| typedef boost::function< TreeItem *(const te::map::AbstractLayerPtr &)> | FactoryFnctType |
Static Public Member Functions | |
| static void | finalize () |
| static void | initialize () |
| static TreeItem * | make (const te::map::AbstractLayerPtr &layer) |
| static void | reg (const std::string &key, const FactoryFnctType &f) |
Static Private Attributes | |
| static std::map< std::string, FactoryFnctType > | sm_factories |
A class for building layer items.
Definition at line 59 of file TreeItemFactory.h.
| typedef boost::function<TreeItem* (const te::map::AbstractLayerPtr&)> te::qt::widgets::TreeItemFactory::FactoryFnctType |
Definition at line 63 of file TreeItemFactory.h.
|
static |
Definition at line 51 of file TreeItemFactory.cpp.
References sm_factories.
|
static |
Definition at line 45 of file TreeItemFactory.cpp.
References sm_factories.
|
static |
Definition at line 56 of file TreeItemFactory.cpp.
References sm_factories.
Referenced by te::qt::widgets::LayerItemModel::addLayer(), te::qt::widgets::LayerItemModel::addLayers(), GetFolder(), and GetRootFolder().
|
static |
Definition at line 40 of file TreeItemFactory.cpp.
References sm_factories.
|
staticprivate |
Definition at line 75 of file TreeItemFactory.h.
Referenced by finalize(), initialize(), make(), and reg().