|
SFCGAL
2.2.0
|
Registry for dynamic information about SFCGAL library. More...
#include <Registry.h>
Public Types | |
| typedef std::vector< Geometry * >::iterator | prototype_iterator |
| typedef std::vector< Geometry * >::const_iterator | const_prototype_iterator |
Public Member Functions | |
| ~Registry () | |
| destructor More... | |
| void | addPrototype (const Geometry &g) |
| Register a new Geometry type. More... | |
| std::vector< std::string > | getGeometryTypes () const |
| returns the list of the geometry types More... | |
| Geometry * | newGeometryByTypeName (const std::string &geometryTypeName) const |
| returns a new instance of the given geometryTypeName More... | |
| Geometry * | newGeometryByTypeId (int typeId) const |
| returns a new instance of the given geometryType More... | |
Static Public Member Functions | |
| static Registry & | instance () |
| returns the instance of the registry More... | |
| typedef std::vector<Geometry *>::const_iterator SFCGAL::tools::Registry::const_prototype_iterator |
| typedef std::vector<Geometry *>::iterator SFCGAL::tools::Registry::prototype_iterator |
| SFCGAL::tools::Registry::~Registry | ( | ) |
destructor
| void SFCGAL::tools::Registry::addPrototype | ( | const Geometry & | g | ) |
Register a new Geometry type.
| auto SFCGAL::tools::Registry::getGeometryTypes | ( | ) | const |
returns the list of the geometry types
|
static |
returns the instance of the registry
| auto SFCGAL::tools::Registry::newGeometryByTypeId | ( | int | typeId | ) | const |
returns a new instance of the given geometryType
| auto SFCGAL::tools::Registry::newGeometryByTypeName | ( | const std::string & | geometryTypeName | ) | const |
returns a new instance of the given geometryTypeName
1.8.10