27 #include "../../../../maptools/AbstractLayer.h" 
   28 #include "../../../../maptools/DataSetLayer.h" 
   29 #include "../../../../maptools/DataSetAdapterLayer.h" 
   30 #include "../../../../maptools/FolderLayer.h" 
   31 #include "../../../../maptools/QueryLayer.h" 
   32 #include "../../../../maptools/RasterLayer.h" 
   41 #include <boost/functional/factory.hpp> 
   42 #include <boost/bind.hpp> 
   52   sm_factories[
"DATASETLAYER"] =  boost::bind(boost::factory<DataSetLayerItem*>(),_1, _2);
 
   53   sm_factories[
"DATASETADAPTERLAYER"] =  boost::bind(boost::factory<DataSetAdapterLayerItem*>(),_1, _2);
 
   54   sm_factories[
"QUERYLAYER"] =  boost::bind(boost::factory<QueryLayerItem*>(),_1, _2);
 
   55   sm_factories[
"FOLDERLAYER"] =  boost::bind(boost::factory<FolderLayerItem*>(),_1, _2);
 
   56   sm_factories[
"RASTERLAYER"] =  boost::bind(boost::factory<RasterLayerItem*>(),_1, _2);
 
The class that represents a dataset layer item in a LayerTreeModel. 
 
A class for building layer items. 
 
The class that represents a raster layer item in a LayerTreeModel. 
 
The class that represents a query layer item in a LayerTreeModel. 
 
static std::map< std::string, FactoryFnctType > sm_factories
 
The class that represents a folder layer item in a LayerTreeModel. 
 
The class that represents a dataset adapter layer item in a LayerTreeModel.