OpenLexocad
28.0
|
#include <PropertyNameTool.h>
Static Public Member Functions | |
static std::string | getPNameAsString (const Base::PName n) |
Returns the string representation of the property name index. More... | |
static Base::PName | getPNameFromString (const std::string &n) |
Returns the index for the property name string. More... | |
static void | init () |
ADD ALL NEW PROPERTY NAMES HERE... More... | |
static void | addUserProperty (unsigned int index, const std::string &name) |
Adds a user defined property name by index and name. Index must be greater PName::USER (10000) More... | |
Static Public Attributes | |
static unsigned int | userNameCnt |
User name count. More... | |
This class is used to store all property names and their indices in a central location for fast access and low memory footprint.
|
static |
Adds a user defined property name by index and name. Index must be greater PName::USER (10000)
|
static |
Returns the string representation of the property name index.
|
static |
Returns the index for the property name string.
|
static |
ADD ALL NEW PROPERTY NAMES HERE...
|
static |
User name count.