libetonyek::KEYXMLReader Class Reference

#include <KEYXMLReader.h>

Classes

class  AttributeIterator
 
class  ElementIterator
 
struct  Impl
 
class  MixedIterator
 
class  NodeIterator
 

Public Types

typedef boost::function< int(const char *)> TokenizerFunction_t
 

Public Member Functions

 KEYXMLReader (WPXInputStream *input)
 
 KEYXMLReader (WPXInputStream *input, TokenizerFunction_t tokenizer)
 
 KEYXMLReader (const ElementIterator &iterator)
 
 KEYXMLReader (const MixedIterator &iterator)
 
 ~KEYXMLReader ()
 
const char * getName () const
 Get the local name of the current element. More...
 
const char * getNamespace () const
 Get the namespace URI of the current element. More...
 
int getToken (const char *token) const
 

Private Types

enum  Type { TYPE_ELEMENT = 0x1, TYPE_TEXT = 0x2 }
 

Private Member Functions

 KEYXMLReader (const KEYXMLReader &other)
 
KEYXMLReaderoperator= (const KEYXMLReader &other)
 
void initialize (WPXInputStream *input)
 

Private Attributes

Impl *const m_impl
 
bool m_owner
 

Member Typedef Documentation

◆ TokenizerFunction_t

typedef boost::function<int(const char *)> libetonyek::KEYXMLReader::TokenizerFunction_t

Member Enumeration Documentation

◆ Type

Enumerator
TYPE_ELEMENT 
TYPE_TEXT 

Constructor & Destructor Documentation

◆ KEYXMLReader() [1/5]

libetonyek::KEYXMLReader::KEYXMLReader ( const KEYXMLReader other)
private

◆ KEYXMLReader() [2/5]

libetonyek::KEYXMLReader::KEYXMLReader ( WPXInputStream *  input)
explicit

◆ KEYXMLReader() [3/5]

libetonyek::KEYXMLReader::KEYXMLReader ( WPXInputStream *  input,
TokenizerFunction_t  tokenizer 
)

◆ KEYXMLReader() [4/5]

libetonyek::KEYXMLReader::KEYXMLReader ( const ElementIterator iterator)

◆ KEYXMLReader() [5/5]

libetonyek::KEYXMLReader::KEYXMLReader ( const MixedIterator iterator)

◆ ~KEYXMLReader()

libetonyek::KEYXMLReader::~KEYXMLReader ( )

Member Function Documentation

◆ getName()

const char * libetonyek::KEYXMLReader::getName ( ) const

Get the local name of the current element.

Warning
Can only be used before any iterator is used.

Referenced by libetonyek::getNameId().

◆ getNamespace()

const char * libetonyek::KEYXMLReader::getNamespace ( ) const

Get the namespace URI of the current element.

Warning
Can only be used before any iterator is used.

Referenced by libetonyek::getNamespaceId().

◆ getToken()

int libetonyek::KEYXMLReader::getToken ( const char *  token) const

◆ initialize()

void libetonyek::KEYXMLReader::initialize ( WPXInputStream *  input)
private

Referenced by KEYXMLReader().

◆ operator=()

KEYXMLReader& libetonyek::KEYXMLReader::operator= ( const KEYXMLReader other)
private

Member Data Documentation

◆ m_impl

Impl* const libetonyek::KEYXMLReader::m_impl
private

◆ m_owner

bool libetonyek::KEYXMLReader::m_owner
private

Referenced by ~KEYXMLReader().


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

Generated for libetonyek by doxygen 1.8.13