zypp::parser Namespace Reference


Classes

class  IniDict
 Parses a INI file and offers its structure as a dictionary. More...
class  IniParser
 Basic SUSEtags parser. More...
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

: 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)

Functions

std::ostream & operator<< (std::ostream &str, const IniDict &obj)
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)

Variables

static xmlSAXHandler emptySAXHandlerStruct
static xmlSAXHandlerPtr emptySAXHandler = &emptySAXHandlerStruct
xmlSAXHandlerPtr debugSAXHandler


Function Documentation

std::ostream& zypp::parser::operator<< std::ostream &  str,
const IniDict &  obj
 

Definition at line 143 of file IniDict.cc.

References zypp::parser::IniDict::entriesBegin(), zypp::parser::IniDict::entriesEnd(), zypp::parser::IniDict::sectionsBegin(), and zypp::parser::IniDict::sectionsEnd().

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::@0::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::@0::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 Thu Apr 24 02:25:10 2008 for zypp by  doxygen 1.4.6