the RTNode interface is the primary datatype for the entire RTAPI-to-FrontEnd Communication Model More...
#include <IRTNode.h>
Public Member Functions | |
virtual const char * | name () const =0 |
The name of this node. | |
virtual const char * | value () const =0 |
Gets the value of this node. | |
virtual RTNodeType | type () const =0 |
An enum value representing the type of the underlying object. | |
virtual RTNode * | parent () const =0 |
Gets the parent of this node. | |
virtual RTNodeList * | child_list () const =0 |
Gets a RTNodeList that contains all children of this node. | |
virtual RTNode * | first_child () const =0 |
Gets the first child of this node. | |
virtual RTNode * | next_sibling () const =0 |
Gets the node immediately following this node. | |
virtual RTNamedNodeMap * | attributes ()=0 |
Gets a NamedNodeMap containing the attributes of this node (if it is an DOMElement) or null otherwise. | |
virtual int | identifier () const =0 |
virtual bool | cloneable () const =0 |
virtual RTNode * | clone () const =0 |
virtual RTNode * | remove_child (RTNode *oldChild)=0 |
Removes the child node indicated by oldChild from the list of children, and returns it. | |
virtual bool | has_child_nodes () const =0 |
This is a convenience method to allow easy determination of whether a node has any children. | |
virtual void | value (const char *nodeValue)=0 |
Sets Node value as string. | |
virtual void | value (int)=0 |
Sets Node value for Nodes with type nt_Int. | |
virtual void | value (double)=0 |
Sets Node value for Nodes with type nt_Double. | |
virtual void | value (bool)=0 |
Sets Node value for Nodes with type nt_Boolean. | |
virtual void | value (char)=0 |
Sets Node value for Nodes with type nt_Char. | |
virtual void | value (time_t)=0 |
Sets Node value for Nodes with type nt_UtcTimeStamp. | |
virtual void | release ()=0 |
Protected Member Functions | |
RTNode () | |
default constructor | |
RTNode (const RTNode &) | |
copy constructor | |
virtual | ~RTNode () |
Destractor. |
the RTNode interface is the primary datatype for the entire RTAPI-to-FrontEnd Communication Model
class RTNode
virtual RTNode* RT::RTNode::clone | ( | ) | const [pure virtual] |
Performs a "deep copy" of the node, Adds created node to the end of the list of children of this node's parent and returns pointer to the created node
virtual void RT::RTNode::release | ( | ) | [pure virtual] |
Called to indicate that this Node (and its associated children) is no longer in use and that the implementation may relinquish any resources associated with it and its associated children.