#include <ProductFileReader.h>
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 |
zypp::parser::xml::Reader
Definition at line 38 of file ProductFileReader.h.
| 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.
| zypp::parser::yum::ProductFileReader::ProductFileReader | ( | const Pathname & | products_file, | |
| ProcessProduct | callback | |||
| ) |
CTOR.
Creates also xml::Reader and starts reading.
| 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 | ( | ) |
Definition at line 62 of file ProductFileReader.h.
1.5.3