zypp::parser::yum::PatternFileReader Class Reference

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

#include <PatternFileReader.h>

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

List of all members.

Public Types

typedef function
< bool(const
data::Pattern_Ptr &)> 
ProcessPattern
 Consumer callback definition.

Public Member Functions

 PatternFileReader (const Pathname &pattern_file, ProcessPattern callback)
 CTOR.
 ~PatternFileReader ()
 DTOR.

Private Attributes

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

Classes

class  Impl


Detailed Description

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

See also:
zypp::data::Pattern

zypp::parser::xml::Reader

Definition at line 40 of file PatternFileReader.h.


Member Typedef Documentation

typedef function<bool(const data::Pattern_Ptr &)> zypp::parser::yum::PatternFileReader::ProcessPattern

Consumer callback definition.

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

Definition at line 48 of file PatternFileReader.h.


Constructor & Destructor Documentation

zypp::parser::yum::PatternFileReader::PatternFileReader ( const Pathname &  pattern_file,
ProcessPattern  callback 
)

CTOR.

Creates also xml::Reader and starts reading.

Parameters:
pattern_file pattern.xml file to read.
callback Function which will process read data.

Definition at line 205 of file PatternFileReader.cc.

zypp::parser::yum::PatternFileReader::~PatternFileReader (  ) 

DTOR.

Definition at line 210 of file PatternFileReader.cc.


Member Data Documentation

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

Definition at line 64 of file PatternFileReader.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