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

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

Member Enumeration Documentation

Enumerator
TYPE_ELEMENT 
TYPE_TEXT 

Constructor & Destructor Documentation

libetonyek::KEYXMLReader::KEYXMLReader ( const KEYXMLReader other)
private
libetonyek::KEYXMLReader::KEYXMLReader ( WPXInputStream *  input)
explicit
libetonyek::KEYXMLReader::KEYXMLReader ( WPXInputStream *  input,
TokenizerFunction_t  tokenizer 
)
libetonyek::KEYXMLReader::KEYXMLReader ( const ElementIterator iterator)
libetonyek::KEYXMLReader::KEYXMLReader ( const MixedIterator iterator)
libetonyek::KEYXMLReader::~KEYXMLReader ( )

Member Function Documentation

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().

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().

int libetonyek::KEYXMLReader::getToken ( const char *  token) const
void libetonyek::KEYXMLReader::initialize ( WPXInputStream *  input)
private

Referenced by KEYXMLReader().

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

Member Data Documentation

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.5