zypp::parser::yum::ProductFileReader Class Reference

Reader of products.xml file conforming to RNC definition located at zypp/parser/yum/schema/products.rnc. More...

#include <ProductFileReader.h>

Inheritance diagram for zypp::parser::yum::ProductFileReader:
[legend]

List of all members.

Public Types

typedef function
< bool(const
data::Product_Ptr &)> 
ProcessProduct
 Consumer callback definition.

Public Member Functions

 ProductFileReader (const Pathname &products_file, ProcessProduct callback)
 CTOR.
 ~ProductFileReader ()
 DTOR.

Private Attributes

RW_pointer< Impl,
rw_pointer::Scoped
< Impl > > 
_pimpl

Classes

class  Impl


Detailed Description

Reader of products.xml file conforming to RNC definition located at zypp/parser/yum/schema/products.rnc.

See also:
zypp::data::Product

zypp::parser::xml::Reader

Definition at line 38 of file ProductFileReader.h.


Member Typedef Documentation

typedef function<bool(const data::Product_Ptr &)> zypp::parser::yum::ProductFileReader::ProcessProduct

Consumer callback definition.

Function which will process the read data must be of this type.

Definition at line 46 of file ProductFileReader.h.


Constructor & Destructor Documentation

zypp::parser::yum::ProductFileReader::ProductFileReader ( const Pathname &  products_file,
ProcessProduct  callback 
)

CTOR.

Creates also xml::Reader and starts reading.

Parameters:
products_file products.xml file to read.
callback Function which will process read data.

Definition at line 277 of file ProductFileReader.cc.

zypp::parser::yum::ProductFileReader::~ProductFileReader (  ) 

DTOR.

Definition at line 282 of file ProductFileReader.cc.


Member Data Documentation

RW_pointer<Impl,rw_pointer::Scoped<Impl> > zypp::parser::yum::ProductFileReader::_pimpl [private]

Definition at line 62 of file ProductFileReader.h.


The documentation for this class was generated from the following files:
Generated on Tue Sep 25 19:23:24 2007 for libzypp by  doxygen 1.5.3