zypp::RepoCollector Struct Reference

List of all members.

Public Member Functions

 RepoCollector ()
 ~RepoCollector ()
bool collect (const RepoInfo &repo)

Public Attributes

RepoInfoList repos


Detailed Description

Simple callback to collect the results Classes like RepoFileParser call the callback once per each repo in a file.

Passing this functor as callback, you can collect all resuls at the end, without dealing with async code.

Definition at line 77 of file RepoManager.cc.


Constructor & Destructor Documentation

zypp::RepoCollector::RepoCollector (  )  [inline]

Definition at line 79 of file RepoManager.cc.

References MIL.

zypp::RepoCollector::~RepoCollector (  )  [inline]

Definition at line 84 of file RepoManager.cc.

References MIL.


Member Function Documentation

bool zypp::RepoCollector::collect ( const RepoInfo repo  )  [inline]

Definition at line 89 of file RepoManager.cc.


Member Data Documentation

RepoInfoList zypp::RepoCollector::repos

Definition at line 97 of file RepoManager.cc.

Referenced by zypp::repositories_in_file().


The documentation for this struct was generated from the following file:
Generated on Tue Sep 25 19:23:16 2007 for libzypp by  doxygen 1.5.3