#include <ResourceName.h>
Groups a name and index of a resource. Used in ResourceManager.
◆ ResourceName()
Ult::ResourceName::ResourceName |
( |
| ) |
|
|
inline |
◆ GetIndex()
int Ult::ResourceName::GetIndex |
( |
| ) |
const |
|
inline |
Returns the hash table key of this resource.
◆ GetName()
std::string Ult::ResourceName::GetName |
( |
| ) |
const |
|
inline |
Returns the string name of this resource.
◆ operator==()
bool Ult::ResourceName::operator== |
( |
const ResourceName & | resName | ) |
|
|
inline |
Checks if both the name and index of the ResourceName's are equal.
◆ SetIndex()
void Ult::ResourceName::SetIndex |
( |
const int | index | ) |
|
|
inline |
Store the index of this resource.
◆ SetName()
void Ult::ResourceName::SetName |
( |
const std::string & | name | ) |
|
|
inline |
Store the string name of this resource.
The documentation for this class was generated from the following file: