zypp::parser Namespace Reference


Classes

class  LibXMLHelper
 Easy access to xmlNodes for C++. More...
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

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)


Function Documentation

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 33 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 52 of file XMLNodeIterator.cc.

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

Definition at line 109 of file XMLNodeIterator.cc.

References error.


Generated on Thu Jul 6 00:07:32 2006 for zypp by  doxygen 1.4.6