Open CASCADE Technology  7.2.0
Public Types | Public Member Functions | Static Public Member Functions

LDOM_XmlReader Class Reference

#include <LDOM_XmlReader.hxx>

Public Types

enum  RecordType {
  XML_UNKNOWN, XML_HEADER, XML_DOCTYPE, XML_COMMENT,
  XML_START_ELEMENT, XML_END_ELEMENT, XML_FULL_ELEMENT, XML_TEXT,
  XML_CDATA, XML_EOF
}
 

Public Member Functions

 LDOM_XmlReader (const Handle< LDOM_MemManager > &aDocument, TCollection_AsciiString &anErrorString, const Standard_Boolean theTagPerStep=Standard_False)
 
RecordType ReadRecord (Standard_IStream &theIStream, LDOM_OSStream &theData)
 
LDOM_BasicElementGetElement () const
 
void CreateElement (const char *theName, const Standard_Integer theLen)
 

Static Public Member Functions

static Standard_Boolean getInteger (LDOMBasicString &theValue, const char *theStart, const char *theEnd)
 

Member Enumeration Documentation

◆ RecordType

Enumerator
XML_UNKNOWN 
XML_HEADER 
XML_DOCTYPE 
XML_COMMENT 
XML_START_ELEMENT 
XML_END_ELEMENT 
XML_FULL_ELEMENT 
XML_TEXT 
XML_CDATA 
XML_EOF 

Constructor & Destructor Documentation

◆ LDOM_XmlReader()

LDOM_XmlReader::LDOM_XmlReader ( const Handle< LDOM_MemManager > &  aDocument,
TCollection_AsciiString anErrorString,
const Standard_Boolean  theTagPerStep = Standard_False 
)

Member Function Documentation

◆ CreateElement()

void LDOM_XmlReader::CreateElement ( const char *  theName,
const Standard_Integer  theLen 
)

◆ GetElement()

LDOM_BasicElement& LDOM_XmlReader::GetElement ( ) const
inline

◆ getInteger()

static Standard_Boolean LDOM_XmlReader::getInteger ( LDOMBasicString &  theValue,
const char *  theStart,
const char *  theEnd 
)
static

◆ ReadRecord()

RecordType LDOM_XmlReader::ReadRecord ( Standard_IStream theIStream,
LDOM_OSStream theData 
)

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