#include <Ample.h>


Public Types | |
| typedef Observer< NodeObserver > | ObserverType |
| typedef std::vector < NodeObserver * > | ObserverList |
Public Member Functions | |
| void | createFragment (VNMFragmentID ID, VNMFragmentType type, const VMatFrag &value) |
| Fragment * | getFragmentByID (VNMFragmentID ID) |
| const Fragment * | getFragmentByID (VNMFragmentID ID) const |
| Fragment * | getFragmentByIndex (unsigned int index) |
| const Fragment * | getFragmentByIndex (unsigned int index) const |
| Fragment * | getFragmentByName (const std::string &name) |
| const Fragment * | getFragmentByName (const std::string &name) const |
| uint16 | getFragmentCount (void) const |
| void | destroy (void) |
| void | createTagGroup (const std::string &name) |
| TagGroup * | getTagGroupByID (uint16 ID) |
| const TagGroup * | getTagGroupByID (uint16 ID) const |
| TagGroup * | getTagGroupByIndex (unsigned int index) |
| const TagGroup * | getTagGroupByIndex (unsigned int index) const |
| TagGroup * | getTagGroupByName (const std::string &name) |
| const TagGroup * | getTagGroupByName (const std::string &name) const |
| unsigned int | getTagGroupCount (void) const |
| Tag * | getTagByNames (const std::string &groupName, const std::string &tagName) |
| const Tag * | getTagByNames (const std::string &groupName, const std::string &tagName) const |
| bool | isMine (void) const |
| VNodeID | getID (void) const |
| VNodeType | getType (void) const |
| const std::string & | getName (void) const |
| void | setName (const std::string &name) |
| Session & | getSession (void) const |
| unsigned int | getDataVersion (void) const |
| unsigned int | getStructureVersion (void) const |
| void | addObserver (NodeObserver &observer) |
| void | removeObserver (NodeObserver &observer) |
| void | removeObserver (Observer< NodeObserver > &observer) |
| const ObserverList & | getObservers (void) const |
Friends | |
| class | Session |
typedef std::vector<NodeObserver *> ObserverList [inherited] |
typedef Observer<NodeObserver > ObserverType [inherited] |
| void addObserver | ( | NodeObserver & | observer | ) | [inline, inherited] |
Adds the specified observer to this object.
| observer | The observer to add. |
| void createFragment | ( | VNMFragmentID | ID, | |
| VNMFragmentType | type, | |||
| const VMatFrag & | value | |||
| ) |
| void createTagGroup | ( | const std::string & | name | ) | [inherited] |
Creates a new tag group in this node.
| name | The desired name of the tag group. |
| void destroy | ( | void | ) | [inherited] |
Destroys this node.
| unsigned int getDataVersion | ( | void | ) | const [inherited] |
| const Fragment* getFragmentByID | ( | VNMFragmentID | ID | ) | const |
| ID | The ID of the desired material fragment. |
NULL if no such material fragment exists. | Fragment* getFragmentByID | ( | VNMFragmentID | ID | ) |
| ID | The ID of the desired material fragment. |
NULL if no such material fragment exists. | const Fragment* getFragmentByIndex | ( | unsigned int | index | ) | const |
| index | The index of the desired material fragment. |
NULL if no such material fragment exists. | Fragment* getFragmentByIndex | ( | unsigned int | index | ) |
| index | The index of the desired material fragment. |
NULL if no such material fragment exists. | const Fragment* getFragmentByName | ( | const std::string & | name | ) | const |
| name | The name of the desired material fragment |
NULL if no such material fragment exists. | Fragment* getFragmentByName | ( | const std::string & | name | ) |
| name | The name of the desired material fragment |
NULL if no such material fragment exists. | uint16 getFragmentCount | ( | void | ) | const |
| VNodeID getID | ( | void | ) | const [inherited] |
| const std::string& getName | ( | void | ) | const [inherited] |
| const ObserverList& getObservers | ( | void | ) | const [inline, inherited] |
| Session& getSession | ( | void | ) | const [inherited] |
| unsigned int getStructureVersion | ( | void | ) | const [inherited] |
| const Tag* getTagByNames | ( | const std::string & | groupName, | |
| const std::string & | tagName | |||
| ) | const [inherited] |
| groupName | The name of the group of the desired tag. | |
| tagName | The name of the desired tag. |
| Tag* getTagByNames | ( | const std::string & | groupName, | |
| const std::string & | tagName | |||
| ) | [inherited] |
| groupName | The name of the group of the desired tag. | |
| tagName | The name of the desired tag. |
| const TagGroup* getTagGroupByID | ( | uint16 | ID | ) | const [inherited] |
| ID | The ID of the desired tag group. |
NULL if no such tag group exists. | TagGroup* getTagGroupByID | ( | uint16 | ID | ) | [inherited] |
| ID | The ID of the desired tag group. |
NULL if no such tag group exists. | const TagGroup* getTagGroupByIndex | ( | unsigned int | index | ) | const [inherited] |
| index | The index of the desired tag group. |
NULL if no such tag group exists. | TagGroup* getTagGroupByIndex | ( | unsigned int | index | ) | [inherited] |
| index | The index of the desired tag group. |
NULL if no such tag group exists. | const TagGroup* getTagGroupByName | ( | const std::string & | name | ) | const [inherited] |
| name | The name of the desired tag group. |
NULL if no such tag group exists. | TagGroup* getTagGroupByName | ( | const std::string & | name | ) | [inherited] |
| name | The name of the desired tag group. |
NULL if no such tag group exists. | unsigned int getTagGroupCount | ( | void | ) | const [inherited] |
| VNodeType getType | ( | void | ) | const [inherited] |
| bool isMine | ( | void | ) | const [inherited] |
true if this node was created from this client, otherwise false. | void removeObserver | ( | Observer< NodeObserver > & | observer | ) | [inline, inherited] |
Removes the specified observer from this object.
| observer | The observer to remove. |
| void removeObserver | ( | NodeObserver & | observer | ) | [inline, inherited] |
Removes the specified observer from this object.
| observer | The observer to remove. |
| void setName | ( | const std::string & | name | ) | [inherited] |
Changes the name of this node.
| name | The desired name. |
1.6.1