zypp::parser Namespace Reference


Classes

class  LibXMLHelper
 Easy access to xmlNodes for C++. More...
class  ParserProgress
class  SAXParser
class  XMLParserError
 class for reporting syntax errors in XMLNodeIterator. More...
class  XMLNodeIteratorBase
 Abstract class to iterate over an xml stream. More...
class  XMLNodeIterator

Namespaces

namespace  tagfile
namespace  xmlstore
namespace  yum
namespace  yum2

Functions

int ioread (void *context, char *buffer, int bufferLen)
 Internal function to read from the input stream.
int ioclose (void *context)
 Internal function to finish reading.
std::ostream & operator<< (std::ostream &out, const XMLParserError &error)
: The element name
startElementDebug: : An XML parser context

called when an opening tag has been processed.

static void startElementDebug (void *ctx ATTRIBUTE_UNUSED, const xmlChar *name, const xmlChar **atts)
static xmlEntityPtr my_getEntity (void *user_data, const xmlChar *name)
static void endElementDebug (void *ctx ATTRIBUTE_UNUSED, const xmlChar *name)
static xmlEntityPtr getEntity_receiver (void *user_data, const xmlChar *name)

Variables

static xmlSAXHandler emptySAXHandlerStruct
static xmlSAXHandlerPtr emptySAXHandler = &emptySAXHandlerStruct
xmlSAXHandlerPtr debugSAXHandler


Function Documentation

static void zypp::parser::startElementDebug ( void *ctx  ATTRIBUTE_UNUSED,
const xmlChar *  name,
const xmlChar **  atts 
) [static]

Definition at line 65 of file SAXParser.cc.

static xmlEntityPtr zypp::parser::my_getEntity ( void *  user_data,
const xmlChar *  name 
) [static]

Definition at line 81 of file SAXParser.cc.

static void zypp::parser::endElementDebug ( void *ctx  ATTRIBUTE_UNUSED,
const xmlChar *  name 
) [static]

Definition at line 87 of file SAXParser.cc.

static xmlEntityPtr zypp::parser::getEntity_receiver ( void *  user_data,
const xmlChar *  name 
) [static]

Definition at line 116 of file SAXParser.cc.

Referenced by zypp::parser::SAXParser::SAXParser().

int zypp::parser::@222::ioread ( void *  context,
char *  buffer,
int  bufferLen 
) [static]

Internal function to read from the input stream.

This feeds the xmlTextReader used in the XMLNodeIterator.

Parameters:
context points to the istream to read from
buffer is to be filled with what's been read
bufferLen max memory bytes to read
Returns:

Definition at line 41 of file XMLNodeIterator.cc.

References xml_assert.

int zypp::parser::@222::ioclose ( void *  context  )  [static]

Internal function to finish reading.

This is required by the xmlTextReader API, but not needed since the stream will be created when the istream object vanishes.

Parameters:
context points to the istream to read from
Returns:
0 on success.

Definition at line 60 of file XMLNodeIterator.cc.

std::ostream & zypp::parser::operator<< ( std::ostream &  out,
const XMLParserError &  error 
)

Definition at line 117 of file XMLNodeIterator.cc.

References error.


Variable Documentation

xmlSAXHandler zypp::parser::emptySAXHandlerStruct [static]

Initial value:

 {
    NULL, 
    NULL, 
    NULL, 
    NULL, 
    NULL, 
    NULL, 
    NULL, 
    NULL, 
    NULL, 
    NULL, 
    NULL, 
    NULL, 
    NULL, 
    NULL, 
    NULL, 
    NULL, 
    NULL, 
    NULL, 
    NULL, 
    NULL, 
    NULL, 
    NULL, 
    NULL, 
    NULL, 
    NULL, 
    NULL, 
    NULL,  
    1
}

Definition at line 23 of file SAXParser.cc.

Referenced by zypp::parser::SAXParser::SAXParser().

xmlSAXHandlerPtr zypp::parser::emptySAXHandler = &emptySAXHandlerStruct [static]

Definition at line 54 of file SAXParser.cc.

xmlSAXHandlerPtr zypp::parser::debugSAXHandler


Generated on Tue Nov 28 16:49:39 2006 for zypp by  doxygen 1.5.0