RT::RTNode Class Reference

the RTNode interface is the primary datatype for the entire RTAPI-to-FrontEnd Communication Model More...

#include <IRTNode.h>

List of all members.

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 RTNodeparent () const =0
 Gets the parent of this node.
virtual RTNodeListchild_list () const =0
 Gets a RTNodeList that contains all children of this node.
virtual RTNodefirst_child () const =0
 Gets the first child of this node.
virtual RTNodenext_sibling () const =0
 Gets the node immediately following this node.
virtual RTNamedNodeMapattributes ()=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 RTNodeclone () const =0
virtual RTNoderemove_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.

Detailed Description

the RTNode interface is the primary datatype for the entire RTAPI-to-FrontEnd Communication Model

class RTNode


Member Function Documentation

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.


The documentation for this class was generated from the following file:
 All Classes Files Functions Variables Enumerations Enumerator
Generated on Tue Jun 7 15:51:19 2011 for RTAPI by  doxygen 1.6.3