|
FiReS
0.2.0
FiReS - Filter, Retrieval and Search
|
Class for linking property names to properties GIDs. More...
#include <PropertyGIDsManager.h>
Collaboration diagram for fires::PropertyGIDsManager:Static Public Member Functions | |
| static PropertyGID | getPropertyGID (const std::string &label) |
| Converts from property name to property GID. More... | |
| static const std::string & | getPropertyLabel (PropertyGID gid) |
| Converts from property property GID to property name. More... | |
Static Protected Attributes | |
| static PropertyGID | nextPropertyGID |
| Next porperty ID to use. | |
| static std::map< std::string, PropertyGID > | _labelToGID |
| Map to convert from name to GID. | |
| static std::map< PropertyGID, std::string > | _GIDToLabel |
| Map to convert from GID to name. | |
Class for linking property names to properties GIDs.
Definition at line 43 of file PropertyGIDsManager.h.
|
static |
Converts from property name to property GID.
If the property has not been used before a new GID is assigned. If the number of properties exceed the maximum value possible an exception is reaised
| label | Name of the property |
Referenced by fires::PropertyManager::registerProperty(), and fires::DependenciesManager::setUpdater().
Here is the caller graph for this function:
|
static |
Converts from property property GID to property name.
| gid | GID of the property |