Om
1.0.0
A universal framework for multimedia simulation
|
A class that represents the category of a generic resource. More...
#include <omResourceCategory.h>
Public Member Functions | |
ResourceCategory () | |
Create a new resource category with an UNDEFINED category string. More... | |
ResourceCategory (const Char *newName) | |
Create a new resource category with the specified constant NULL-terminated category string. More... | |
ResourceCategory (const data::UTF8String &newName) | |
Create a new resource category with the specified category string. More... | |
const data::UTF8String & | getName () const |
Return a string representing the name of this resource category. More... | |
Bool | operator== (const ResourceCategory &other) const |
Return whether or not this resource category is equal to another. More... | |
Bool | operator!= (const ResourceCategory &other) const |
Return whether or not this resource category is equal to another. More... | |
Hash | getHashCode () const |
Return an integer hash code for this resource category. More... | |
template<> | |
const ResourceCategory & | of () |
template<> | |
const ResourceCategory & | of () |
template<> | |
const ResourceCategory & | of () |
template<> | |
const ResourceCategory & | of () |
template<> | |
const ResourceCategory & | of () |
template<> | |
const ResourceCategory & | of () |
template<> | |
const ResourceCategory & | of () |
template<> | |
const ResourceCategory & | of () |
template<> | |
const ResourceCategory & | of () |
template<> | |
const ResourceCategory & | of () |
template<> | |
const ResourceCategory & | of () |
Static Public Member Functions | |
template<typename DataType > | |
static const ResourceCategory & | of () |
Static Public Attributes | |
static const ResourceCategory | UNDEFINED |
An undefined resource category for when no category is specified. More... | |
static const ResourceCategory | GRAPHICS |
A resource category corresponding to graphics data types. More... | |
static const ResourceCategory | PHYSICS |
A resource category corresponding to physics data types. More... | |
static const ResourceCategory | SOUND |
A resource category corresponding to sound data types. More... | |
static const ResourceCategory | TEXT |
A resource category corresponding to textual or string data types. More... | |
static const ResourceCategory | MATH |
A resource category corresponding to math data types. More... | |
A class that represents the category of a generic resource.
An resource category is defined by a unique string.
|
inline |
Create a new resource category with an UNDEFINED category string.
|
inline |
Create a new resource category with the specified constant NULL-terminated category string.
|
inline |
Create a new resource category with the specified category string.
|
inline |
Return a string representing the name of this resource category.
|
inline |
Return whether or not this resource category is equal to another.
|
inline |
Return whether or not this resource category is equal to another.
|
inline |
Return an integer hash code for this resource category.
|
inlinestatic |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
static |
An undefined resource category for when no category is specified.
|
static |
A resource category corresponding to graphics data types.
|
static |
A resource category corresponding to physics data types.
|
static |
A resource category corresponding to sound data types.
|
static |
A resource category corresponding to textual or string data types.
|
static |
A resource category corresponding to math data types.