class SugNode

Currently just serves its purpose as SugElement's parent, this is a direct translation of the XML IDL.

Inheritance:


Public Methods

[more] SugNode ()
The class constructor
[more]SugNode* appendChild (SugNode* newChild)
Appends a child (unused)
[more]vector<SugNode> * getChildNodes ()
Return the vector of child nodes.
[more]SugNode* getFirstChild ()
Returns the first child.
[more]SugNode* getLastChild ()
Returns the last child.
[more]SugNode* getNextSibling ()
Returns the next sibling.
[more]char* getNodeName ()
Returns the node name.
[more]unsigned short getNodeType ()
Returns the node type.
[more]char* getNodeValue ()
Returns the node value.
[more]SugNode* getParentNode ()
Returns the parent node.
[more]SugNode* getPreviousSibling ()
Returns the previous sibling.
[more]bool hasAttributes ()
Returns if the node has attributes
[more]bool hasChildNodes ()
Returns if the node has children (unused)
[more]SugNode* insertBefore (SugNode* newChild, SugNode* refChild)
Inserts a child before another (unused)
[more]SugNode* removeChild (SugNode* oldChild)
Removes a child (unused)
[more]SugNode* replaceChild (SugNode* newChild, SugNode* oldChild)
Replaces a child (unused)
[more]SugNode* setFirstChild (SugNode* newFirstChild)
Sets the first child.
[more]SugNode* setLastChild (SugNode* newLastChild)
Sets the last child.
[more]SugNode* setNextSibling (SugNode* newNextSibling)
Sets the next sibling.
[more]char* setNodeName (char* newNodeName)
Sets the node name.
[more]unsigned short setNodeType (unsigned short newNodeType)
Sets the node type.
[more]char* setNodeValue (char* newNodeValue)
Sets the node value.
[more]SugNode* setParentNode (SugNode* newParentNode)
Sets the parent node.
[more]SugNode* setPreviousSibling (SugNode* newPreviousSibling)
Sets the previus sibling.
[more] ~SugNode ()
The class destructor

Protected Fields

[more]vector<SugNode> mChildNodes
The Node's children (currently unused)
[more]SugNode* mFirstChild
The Node's first child (currently unused)
[more]SugNode* mLastChild
The Node's last child (currently unused)
[more]SugNode* mNextSibling
The Node's next sibling (currently unused)
[more]char* mNodeName
The Node's name (currently unused)
[more]unsigned short mNodeType
The Node's type (currently unused)
[more]char* mNodeValue
The Node's value (currently unused)
[more]SugNode* mParentNode
The Node's parent Node (currently unused)
[more]SugNode* mPreviousSibling
The Node's previous sibling (currently unused)


Documentation

Currently just serves its purpose as SugElement's parent, this is a direct translation of the XML IDL. Most of its node type functionality has currently been replaced by a more efficient C++ vector type approach.
ochar* mNodeName
The Node's name (currently unused)

ochar* mNodeValue
The Node's value (currently unused)

ounsigned short mNodeType
The Node's type (currently unused)

oSugNode* mParentNode
The Node's parent Node (currently unused)

ovector<SugNode> mChildNodes
The Node's children (currently unused)

oSugNode* mFirstChild
The Node's first child (currently unused)

oSugNode* mLastChild
The Node's last child (currently unused)

oSugNode* mPreviousSibling
The Node's previous sibling (currently unused)

oSugNode* mNextSibling
The Node's next sibling (currently unused)

ochar* getNodeName()
Returns the node name. (unused)

ochar* setNodeName(char* newNodeName)
Sets the node name. (unused)

ochar* getNodeValue()
Returns the node value. (unused)

ochar* setNodeValue(char* newNodeValue)
Sets the node value. (unused)

ounsigned short getNodeType()
Returns the node type. (unused)

ounsigned short setNodeType(unsigned short newNodeType)
Sets the node type. (unused)

oSugNode* getParentNode()
Returns the parent node. (unused)

oSugNode* setParentNode(SugNode* newParentNode)
Sets the parent node. (unused)

ovector<SugNode> * getChildNodes()
Return the vector of child nodes. (unused)

oSugNode* getFirstChild()
Returns the first child. (unused)

oSugNode* setFirstChild(SugNode* newFirstChild)
Sets the first child. (unused)

oSugNode* getLastChild()
Returns the last child. (unused)

oSugNode* setLastChild(SugNode* newLastChild)
Sets the last child. (unused)

oSugNode* getPreviousSibling()
Returns the previous sibling. (unused)

oSugNode* setPreviousSibling(SugNode* newPreviousSibling)
Sets the previus sibling. (unused)

oSugNode* getNextSibling()
Returns the next sibling. (unused)

oSugNode* setNextSibling(SugNode* newNextSibling)
Sets the next sibling. (unused)

oSugNode* insertBefore(SugNode* newChild, SugNode* refChild)
Inserts a child before another (unused)

oSugNode* replaceChild(SugNode* newChild, SugNode* oldChild)
Replaces a child (unused)

oSugNode* removeChild(SugNode* oldChild)
Removes a child (unused)

oSugNode* appendChild(SugNode* newChild)
Appends a child (unused)

obool hasChildNodes()
Returns if the node has children (unused)

obool hasAttributes()
Returns if the node has attributes

o SugNode()
The class constructor

o ~SugNode()
The class destructor


Direct child classes:
SugElement

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.