|
class | Initializer |
|
class | MCoreSystem |
|
◆ GenerateIdForString()
AZ::u32 MCore::StringIdPool::GenerateIdForString |
( |
const AZStd::string & |
objectName | ) |
|
Generate a unique id for the given string which contains the object name. This method is thread safe.
- Parameters
-
objectName | The name of the node to generate an id for. |
- Returns
- The unique id of the given object.
◆ GenerateIdForStringWithoutLock()
AZ::u32 MCore::StringIdPool::GenerateIdForStringWithoutLock |
( |
const AZStd::string & |
objectName | ) |
|
Generate a unique id for the given string which contains the object name. This method is not thread safe.
- Parameters
-
objectName | The name of the node to generate an id for. |
- Returns
- The unique id of the given object.
◆ GetName()
const AZStd::string & MCore::StringIdPool::GetName |
( |
AZ::u32 |
id | ) |
|
Return the name of the given id.
- Parameters
-
id | The unique id to search for the name. |
- Returns
- The name of the given object.
◆ Reserve()
void MCore::StringIdPool::Reserve |
( |
size_t |
numStrings | ) |
|
Reserve space for a given amount of strings.
- Parameters
-
numStrings | The number of strings to reserve space for. |
The documentation for this class was generated from the following file:
- Gems/EMotionFX/Code/MCore/Source/StringIdPool.h