![]() |
VR-Forces 4.8 Class Documentation
|
DtTerrainContentItemKey. More...
Public Member Functions | |
| DtTerrainContentItemKey () | |
| Default CTOR. More... | |
| DtTerrainContentItemKey (int type, int id, const DtTerrainContentItemKey &parentKey) | |
| CTOR. More... | |
| DtTerrainContentItemKey (int type, const std::string &name, const DtTerrainContentItemKey &parentKey) | |
| CTOR. More... | |
| DtTerrainContentItemKey (int type, const std::string &name, int parentType, int parentId) | |
| CTOR. More... | |
| DtTerrainContentItemKey (int type, int id, int parentType, int parentId) | |
| CTOR. More... | |
| void | invalid () |
| Invalid the key. More... | |
| void | setType (int type) |
| Sets the type of the key. More... | |
| void | setId (int id) |
| Sets the id of the key. More... | |
| void | setParentType (int type) |
| Sets the type of the parent key. More... | |
| void | setParentId (int id) |
| Sets the id of the parent key. More... | |
| void | setParentKey (const DtTerrainContentItemKey &parentKey) |
| Sets the key of the parent. More... | |
The unique name of the key. | |
| int | myType |
| int | myId |
| int | myParentType |
| int | myParentId |
| bool | myUseName |
| std::string | myName |
| void | setName (const std::string &name) |
| const int | type () const |
| Gets the type of the key. More... | |
| const int | id () const |
| Gets the id of the key. More... | |
| const int | parentType () const |
| Gets the type of the parent key. More... | |
| const int | parentId () const |
| Gets the id of the parent key. More... | |
| std::string | name () const |
| const bool | useName () const |
| Whether this key uses name as comparison instead of id. More... | |
| bool | operator< (const DtTerrainContentItemKey &) const |
| The less operator override. More... | |
| bool | operator== (const DtTerrainContentItemKey &) const |
| The eaqul operator override. More... | |
Key of the terrain content item, represented by the TerrainContentItemType and id(Different meaning depends on the context of different content item type) or TerrainContentItemType and unique name(When there is no meaningful id associated with the item).
| makVrv::DtTerrainContentItemKey::DtTerrainContentItemKey | ( | ) |
Default CTOR.
| makVrv::DtTerrainContentItemKey::DtTerrainContentItemKey | ( | int | type, |
| int | id, | ||
| const DtTerrainContentItemKey & | parentKey | ||
| ) |
CTOR.
| type | TerrainContentItemType enum, the type of the terrain content item. |
| id | The id of the terrain content item key. |
| parentKey | The key of the parent item. |
| makVrv::DtTerrainContentItemKey::DtTerrainContentItemKey | ( | int | type, |
| const std::string & | name, | ||
| const DtTerrainContentItemKey & | parentKey | ||
| ) |
CTOR.
| type | TerrainContentItemType enum, the type of the terrain content item. |
| name | The unique name of the terrain content item key. |
| parentKey | The key of the parent item. |
| makVrv::DtTerrainContentItemKey::DtTerrainContentItemKey | ( | int | type, |
| const std::string & | name, | ||
| int | parentType, | ||
| int | parentId | ||
| ) |
CTOR.
| type | TerrainContentItemType enum, the type of the terrain content item. |
| name | The unique name of the terrain content item key. |
| parentType | The type of the parent item. |
| parentId | The id of the parent item. |
| makVrv::DtTerrainContentItemKey::DtTerrainContentItemKey | ( | int | type, |
| int | id, | ||
| int | parentType, | ||
| int | parentId | ||
| ) |
CTOR.
| type | TerrainContentItemType enum, the type of the terrain content item. |
| id | The id of the terrain content item key. |
| parentType | The type of the parent item. |
| parentId | The id of the parent item. |
| void makVrv::DtTerrainContentItemKey::invalid | ( | ) |
Invalid the key.
| void makVrv::DtTerrainContentItemKey::setType | ( | int | type | ) |
Sets the type of the key.
| type | TerrainContentItemType enum, the type of the terrain content item. |
| void makVrv::DtTerrainContentItemKey::setId | ( | int | id | ) |
Sets the id of the key.
| id | The unique index of the key, different meaning depends on the context of different content item type. |
| void makVrv::DtTerrainContentItemKey::setParentType | ( | int | type | ) |
Sets the type of the parent key.
| type | TerrainContentItemType enum, the type of the terrain content item. |
| void makVrv::DtTerrainContentItemKey::setParentId | ( | int | id | ) |
Sets the id of the parent key.
| id | The unique index of the key, different meaning depends on the context of different content item type. |
| void makVrv::DtTerrainContentItemKey::setParentKey | ( | const DtTerrainContentItemKey & | parentKey | ) |
Sets the key of the parent.
| parentKey | The key of the parent. |
| void makVrv::DtTerrainContentItemKey::setName | ( | const std::string & | name | ) |
| const int makVrv::DtTerrainContentItemKey::type | ( | ) | const |
Gets the type of the key.
| const int makVrv::DtTerrainContentItemKey::id | ( | ) | const |
Gets the id of the key.
| const int makVrv::DtTerrainContentItemKey::parentType | ( | ) | const |
Gets the type of the parent key.
| const int makVrv::DtTerrainContentItemKey::parentId | ( | ) | const |
Gets the id of the parent key.
| std::string makVrv::DtTerrainContentItemKey::name | ( | ) | const |
| const bool makVrv::DtTerrainContentItemKey::useName | ( | ) | const |
Whether this key uses name as comparison instead of id.
| bool makVrv::DtTerrainContentItemKey::operator< | ( | const DtTerrainContentItemKey & | ) | const |
The less operator override.
| bool makVrv::DtTerrainContentItemKey::operator== | ( | const DtTerrainContentItemKey & | ) | const |
The eaqul operator override.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |