A class that represents a semantic tag for a group of resources.
More...
#include <omResourceTag.h>
A class that represents a semantic tag for a group of resources.
om::resources::ResourceTag::ResourceTag |
( |
| ) |
|
Create a new empty resource tag.
om::resources::ResourceTag::ResourceTag |
( |
const UTF8String & |
newName | ) |
|
Create a new empty resource tag with the specified name.
om::resources::ResourceTag::~ResourceTag |
( |
| ) |
|
const UTF8String& om::resources::ResourceTag::getName |
( |
| ) |
const |
|
inline |
Return a string containing the name of this tag.
void om::resources::ResourceTag::setName |
( |
const UTF8String & |
newName | ) |
|
|
inline |
Set the name of this tag.
Size om::resources::ResourceTag::getResourceCount |
( |
| ) |
const |
|
inline |
Return the number of resources there are in this resource tag.
Return a reference to the resource at the specified index in this resource tag.
Return a const reference to the resource at the specified index in this resource tag.
Bool om::resources::ResourceTag::hasResource |
( |
const void * |
data | ) |
const |
Return whether or not this tag contains the specified resource data object.
Bool om::resources::ResourceTag::getResourceIndex |
( |
const void * |
data, |
|
|
Index & |
componentIndex |
|
) |
| const |
Get the index of the resource in this tag with the specified resource data.
Add a new resource to the end of this resource tag.
The method returns whether or not the resource was able to be added.
Insert a new resource at the specified index within this resource tag.
The method returns whether or not the resource was able to be inserted.
void om::resources::ResourceTag::removeResource |
( |
Index |
resourceIndex | ) |
|
Remove the resource in this group at the specified index.
void om::resources::ResourceTag::clearResources |
( |
| ) |
|
Remove all resources from this resource tag.
const ResourceType om::resources::ResourceTag::RESOURCE_TYPE |
|
static |
The resource type for a resource tag.
The documentation for this class was generated from the following file: