Open CASCADE Technology 7.8.2.dev
LDOM_Node Class Reference

#include <LDOM_Node.hxx>

Inheritance diagram for LDOM_Node:

Public Types

enum  NodeType {
  UNKNOWN = 0 , ELEMENT_NODE = 1 , ATTRIBUTE_NODE = 2 , TEXT_NODE = 3 ,
  CDATA_SECTION_NODE = 4 , COMMENT_NODE = 8
}
 

Public Member Functions

 LDOM_Node ()
 
 LDOM_Node (const LDOM_Node &anOther)
 
const LDOM_MemManagergetOwnerDocument () const
 
LDOM_Nodeoperator= (const LDOM_Node &anOther)
 
LDOM_Nodeoperator= (const LDOM_NullPtr *aNull)
 
Standard_Boolean operator== (const LDOM_NullPtr *) const
 
Standard_Boolean operator!= (const LDOM_NullPtr *) const
 
Standard_Boolean operator== (const LDOM_Node &anOther) const
 
Standard_Boolean operator!= (const LDOM_Node &anOther) const
 
Standard_Boolean isNull () const
 
NodeType getNodeType () const
 
LDOMString getNodeName () const
 
LDOMString getNodeValue () const
 
LDOM_Node getFirstChild () const
 
LDOM_Node getLastChild () const
 
LDOM_Node getNextSibling () const
 
void removeChild (const LDOM_Node &aChild)
 
void appendChild (const LDOM_Node &aChild)
 
Standard_Boolean hasChildNodes () const
 
void SetValueClear () const
 

Protected Member Functions

const LDOM_BasicNodeOrigin () const
 
 LDOM_Node (const LDOM_BasicNode &anOrig, const Handle< LDOM_MemManager > &aDoc)
 

Protected Attributes

Handle< LDOM_MemManagermyDocument
 
LDOM_BasicNodemyOrigin
 
const LDOM_BasicNodemyLastChild
 

Member Enumeration Documentation

◆ NodeType

Enumerator
UNKNOWN 
ELEMENT_NODE 
ATTRIBUTE_NODE 
TEXT_NODE 
CDATA_SECTION_NODE 
COMMENT_NODE 

Constructor & Destructor Documentation

◆ LDOM_Node() [1/3]

LDOM_Node::LDOM_Node ( )
inline

◆ LDOM_Node() [2/3]

LDOM_Node::LDOM_Node ( const LDOM_Node & anOther)
inline

◆ LDOM_Node() [3/3]

LDOM_Node::LDOM_Node ( const LDOM_BasicNode & anOrig,
const Handle< LDOM_MemManager > & aDoc )
inlineprotected

Member Function Documentation

◆ appendChild()

void LDOM_Node::appendChild ( const LDOM_Node & aChild)

◆ getFirstChild()

LDOM_Node LDOM_Node::getFirstChild ( ) const

◆ getLastChild()

LDOM_Node LDOM_Node::getLastChild ( ) const

◆ getNextSibling()

LDOM_Node LDOM_Node::getNextSibling ( ) const

◆ getNodeName()

LDOMString LDOM_Node::getNodeName ( ) const

◆ getNodeType()

NodeType LDOM_Node::getNodeType ( ) const

◆ getNodeValue()

LDOMString LDOM_Node::getNodeValue ( ) const

◆ getOwnerDocument()

const LDOM_MemManager & LDOM_Node::getOwnerDocument ( ) const

◆ hasChildNodes()

Standard_Boolean LDOM_Node::hasChildNodes ( ) const

◆ isNull()

Standard_Boolean LDOM_Node::isNull ( ) const

◆ operator!=() [1/2]

Standard_Boolean LDOM_Node::operator!= ( const LDOM_Node & anOther) const

◆ operator!=() [2/2]

Standard_Boolean LDOM_Node::operator!= ( const LDOM_NullPtr * ) const
inline

◆ operator=() [1/2]

LDOM_Node & LDOM_Node::operator= ( const LDOM_Node & anOther)

◆ operator=() [2/2]

LDOM_Node & LDOM_Node::operator= ( const LDOM_NullPtr * aNull)

◆ operator==() [1/2]

Standard_Boolean LDOM_Node::operator== ( const LDOM_Node & anOther) const

◆ operator==() [2/2]

Standard_Boolean LDOM_Node::operator== ( const LDOM_NullPtr * ) const
inline

◆ Origin()

const LDOM_BasicNode & LDOM_Node::Origin ( ) const
protected

◆ removeChild()

void LDOM_Node::removeChild ( const LDOM_Node & aChild)

◆ SetValueClear()

void LDOM_Node::SetValueClear ( ) const

Field Documentation

◆ myDocument

Handle< LDOM_MemManager > LDOM_Node::myDocument
protected

◆ myLastChild

const LDOM_BasicNode* LDOM_Node::myLastChild
protected

◆ myOrigin

LDOM_BasicNode* LDOM_Node::myOrigin
protected

The documentation for this class was generated from the following file: