Om
1.0.0
A universal framework for multimedia simulation
|
A class that represents the complete type of a resource object. More...
#include <omResourceTypeID.h>
Public Member Functions | |
ResourceTypeID () | |
Create a new resource type ID with UNDEFINED category, type, and subtype. More... | |
ResourceTypeID (const ResourceCategory &newCategory) | |
Creata new resource type ID that selects any resource type belonging to the given category. More... | |
ResourceTypeID (const ResourceType &newType) | |
Creata new resource type ID that selects any subtype of the given resource type. More... | |
ResourceTypeID (const ResourceType &newType, const ResourceSubType &newSubType) | |
Creata new resource type ID that selects only a given subtype of the given resource type. More... | |
Bool | operator== (const ResourceTypeID &other) const |
Return whether or not this resource type is equal to another. More... | |
Bool | operator!= (const ResourceTypeID &other) const |
Return whether or not this resource type is equal to another. More... | |
Hash | getHashCode () const |
Return an integer hash code for this resource type ID. More... | |
Public Attributes | |
ResourceCategory | category |
The category that the resource type ID belongs to. More... | |
ResourceType | type |
The resource type of the type ID. More... | |
ResourceSubType | subType |
The subtype of the resource type ID. More... | |
A class that represents the complete type of a resource object.
A type ID consists of a tuple of resource category, resource type, and resource subtype. If any of these is UNDEFINED, it reduces the specificity of the ID.
|
inline |
Create a new resource type ID with UNDEFINED category, type, and subtype.
|
inline |
Creata new resource type ID that selects any resource type belonging to the given category.
|
inline |
Creata new resource type ID that selects any subtype of the given resource type.
|
inline |
Creata new resource type ID that selects only a given subtype of the given resource type.
|
inline |
Return whether or not this resource type is equal to another.
|
inline |
Return whether or not this resource type is equal to another.
|
inline |
Return an integer hash code for this resource type ID.
ResourceCategory om::resources::ResourceTypeID::category |
The category that the resource type ID belongs to.
ResourceType om::resources::ResourceTypeID::type |
The resource type of the type ID.
ResourceSubType om::resources::ResourceTypeID::subType |
The subtype of the resource type ID.