Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

indri::xml::XMLReader Class Reference

#include <XMLReader.hpp>

List of all members.

Public Member Functions

XMLNoderead (const char *buffer, size_t length)
XMLNoderead (const std::string &str)

Private Types

enum  { TAG_OPEN_TYPE, TAG_CLOSE_TYPE, TAG_OPEN_CLOSE_TYPE, TAG_CDATA_TYPE }

Private Member Functions

int _tryFindChar (char ch, const char *buffer, int start, int finish)
int _findChar (char ch, const char *buffer, int start, int finish)
int _tryFindBeginTag (const char *buffer, int start, int finish)
int _findBeginTag (const char *buffer, int start, int finish)
int _findEndTag (const char *buffer, int start, int finish)
int _tryFindText (const char *buffer, int start, int finish)
int _findText (const char *buffer, int start, int finish)
int _findNotName (const char *buffer, int start, int finish)
int _findSpace (const char *buffer, int start, int finish)
int _readTag (const char *buffer, int bufferStart, int bufferEnd, std::string *tagName, std::map< std::string, std::string > *attributes, int *tagType)
int _findClosingTag (const char *buffer, int start, int end, std::string &openingTagName, bool *tagsBetween)
void _read (XMLNode **parent, const char *buffer, int start, int end)


Member Enumeration Documentation

anonymous enum [private]
 

Enumeration values:
TAG_OPEN_TYPE 
TAG_CLOSE_TYPE 
TAG_OPEN_CLOSE_TYPE 
TAG_CDATA_TYPE 


Member Function Documentation

int indri::xml::XMLReader::_findBeginTag const char *  buffer,
int  start,
int  finish
[private]
 

int indri::xml::XMLReader::_findChar char  ch,
const char *  buffer,
int  start,
int  finish
[private]
 

int indri::xml::XMLReader::_findClosingTag const char *  buffer,
int  start,
int  end,
std::string &  openingTagName,
bool *  tagsBetween
[private]
 

int indri::xml::XMLReader::_findEndTag const char *  buffer,
int  start,
int  finish
[private]
 

int indri::xml::XMLReader::_findNotName const char *  buffer,
int  start,
int  finish
[private]
 

int indri::xml::XMLReader::_findSpace const char *  buffer,
int  start,
int  finish
[private]
 

int indri::xml::XMLReader::_findText const char *  buffer,
int  start,
int  finish
[private]
 

void indri::xml::XMLReader::_read XMLNode **  parent,
const char *  buffer,
int  start,
int  end
[private]
 

int indri::xml::XMLReader::_readTag const char *  buffer,
int  bufferStart,
int  bufferEnd,
std::string *  tagName,
std::map< std::string, std::string > *  attributes,
int *  tagType
[private]
 

int indri::xml::XMLReader::_tryFindBeginTag const char *  buffer,
int  start,
int  finish
[private]
 

int indri::xml::XMLReader::_tryFindChar char  ch,
const char *  buffer,
int  start,
int  finish
[private]
 

int indri::xml::XMLReader::_tryFindText const char *  buffer,
int  start,
int  finish
[private]
 

indri::xml::XMLNode * indri::xml::XMLReader::read const std::string &  str  ) 
 

indri::xml::XMLNode * indri::xml::XMLReader::read const char *  buffer,
size_t  length
 


The documentation for this class was generated from the following files:
Generated on Tue Jun 15 11:03:04 2010 for Lemur by doxygen 1.3.4