Tag Class Reference
#include <Ample.h>
List of all members.
Detailed Description
Node tag class. Represents a single tag in a node's tag group.
Member Typedef Documentation
Member Function Documentation
| void addObserver |
( |
TagObserver & |
observer |
) |
[inline, inherited] |
Adds the specified observer to this object.
- Parameters:
-
| observer | The observer to add. |
| unsigned int getDataVersion |
( |
void |
|
) |
const [inherited] |
- Returns:
- The current version of the internal state.
- Returns:
- The group containing this tag.
| uint16 getID |
( |
void |
|
) |
const |
- Returns:
- The ID of this tag.
| const std::string& getName |
( |
void |
|
) |
const |
- Returns:
- The name of this tag.
| 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.
| VNTagType getType |
( |
void |
|
) |
const |
- Todo:
- Replace VNTag with some OO.
- Returns:
- The type of this tag.
| const VNTag& getValue |
( |
void |
|
) |
const |
- Returns:
- The current value of this tag.
Removes the specified observer from this object.
- Parameters:
-
| observer | The observer to remove. |
| void removeObserver |
( |
TagObserver & |
observer |
) |
[inline, inherited] |
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.
- Parameters:
-
| void setType |
( |
VNTagType |
type, |
|
|
const VNTag & |
value | |
|
) |
| | |
Changes the type of this tag and sets an initial value.
- Parameters:
-
| type | The desired type. |
| value | The desired initial value. |
| void setValue |
( |
const VNTag & |
value |
) |
|
Changes the value of this tag.
- Parameters:
-
Friends And Related Function Documentation