TagGroup Class Reference
#include <Ample.h>
List of all members.
Detailed Description
Node tag group class. Represents a single tag group in a node.
Member Typedef Documentation
Member Function Documentation
Adds the specified observer to this object.
- Parameters:
-
| observer | The observer to add. |
| void createTag |
( |
const std::string & |
name, |
|
|
VNTagType |
type, |
|
|
const VNTag & |
value | |
|
) |
| | |
Creates a new tag in this tag group.
- Parameters:
-
| name | The desired name of the tag. |
| type | The desired type of the tag. |
| value | The initial value of the tag. |
| unsigned int getDataVersion |
( |
void |
|
) |
const [inherited] |
- Returns:
- The current version of the internal state.
| uint16 getID |
( |
void |
|
) |
const |
- Returns:
- The ID of this tag group.
| const std::string& getName |
( |
void |
|
) |
const |
- Returns:
- The name of this tag group.
| Node& getNode |
( |
void |
|
) |
const |
- Returns:
- The node containing this tag group.
| const ObserverList& getObservers |
( |
void |
|
) |
const [inline, inherited] |
- Returns:
- The list of observers attached to this object.
| unsigned int getStructureVersion |
( |
void |
|
) |
const [inherited] |
- Returns:
- The current version of the internal structure.
| const Tag* getTagByID |
( |
uint16 |
ID |
) |
const |
- Parameters:
-
| ID | The ID of the desired tag. |
- Returns:
- The tag with the specified ID, or
NULL if no such tag exists.
| Tag* getTagByID |
( |
uint16 |
ID |
) |
|
- Parameters:
-
| ID | The ID of the desired tag. |
- Returns:
- The tag with the specified ID, or
NULL if no such tag exists.
| const Tag* getTagByIndex |
( |
unsigned int |
index |
) |
const |
- Parameters:
-
| index | The index of the desired tag. |
- Returns:
- The tag at the specified index, or
NULL if no such tag exists.
| Tag* getTagByIndex |
( |
unsigned int |
index |
) |
|
- Parameters:
-
| index | The index of the desired tag. |
- Returns:
- The tag at the specified index, or
NULL if no such tag exists.
| const Tag* getTagByName |
( |
const std::string & |
name |
) |
const |
- Parameters:
-
| name | The name of the desired tag. |
- Returns:
- The tag with the specified name, or
NULL if no such tag exists.
| Tag* getTagByName |
( |
const std::string & |
name |
) |
|
- Parameters:
-
| name | The name of the desired tag. |
- Returns:
- The tag with the specified name, or
NULL if no such tag exists.
| unsigned int getTagCount |
( |
void |
|
) |
const |
- Returns:
- The number of tags in this tag group.
Removes the specified observer from this object.
- Parameters:
-
| observer | The observer to remove. |
Removes the specified observer from this object.
- Parameters:
-
| observer | The observer to remove. |
| void setName |
( |
const std::string & |
name |
) |
|
Changes the name of this tag group.
- Parameters:
-
Friends And Related Function Documentation
friend class Node [friend] |