Open CASCADE Technology  7.1.0.beta
Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | Friends

LDOM_Node Class Reference

#include <LDOM_Node.hxx>

Inheritance diagram for LDOM_Node:
Inheritance graph
[legend]

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
 

Friends

char * db_pretty_print (const LDOM_Node *, int, char *)
 

Member Enumeration Documentation

Enumerator
UNKNOWN 
ELEMENT_NODE 
ATTRIBUTE_NODE 
TEXT_NODE 
CDATA_SECTION_NODE 
COMMENT_NODE 

Constructor & Destructor Documentation

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

Member Function Documentation

void LDOM_Node::appendChild ( const LDOM_Node aChild)
LDOM_Node LDOM_Node::getFirstChild ( ) const
LDOM_Node LDOM_Node::getLastChild ( ) const
LDOM_Node LDOM_Node::getNextSibling ( ) const
LDOMString LDOM_Node::getNodeName ( ) const
NodeType LDOM_Node::getNodeType ( ) const
LDOMString LDOM_Node::getNodeValue ( ) const
const LDOM_MemManager& LDOM_Node::getOwnerDocument ( ) const
Standard_Boolean LDOM_Node::hasChildNodes ( ) const
Standard_Boolean LDOM_Node::isNull ( ) const
Standard_Boolean LDOM_Node::operator!= ( const LDOM_NullPtr *  ) const
inline
Standard_Boolean LDOM_Node::operator!= ( const LDOM_Node anOther) const
LDOM_Node& LDOM_Node::operator= ( const LDOM_Node anOther)
LDOM_Node& LDOM_Node::operator= ( const LDOM_NullPtr *  aNull)
Standard_Boolean LDOM_Node::operator== ( const LDOM_NullPtr *  ) const
inline
Standard_Boolean LDOM_Node::operator== ( const LDOM_Node anOther) const
const LDOM_BasicNode& LDOM_Node::Origin ( ) const
protected
void LDOM_Node::removeChild ( const LDOM_Node aChild)
void LDOM_Node::SetValueClear ( ) const

Friends And Related Function Documentation

char* db_pretty_print ( const LDOM_Node ,
int  ,
char *   
)
friend

Field Documentation

Handle< LDOM_MemManager > LDOM_Node::myDocument
protected
const LDOM_BasicNode* LDOM_Node::myLastChild
protected
LDOM_BasicNode* LDOM_Node::myOrigin
protected

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