zypp::source::SourceProber Class Reference

Base class for Source prober. More...

#include <SourceImpl.h>

Inheritance diagram for zypp::source::SourceProber:

zypp::source::susetags::SuseTagsProber zypp::source::yum::YUMProber List of all members.

Public Member Functions

 SourceProber (media::MediaAccessId media_id, const Pathname &path)
virtual ~SourceProber ()
virtual bool operator() ()=0

Protected Attributes

media::MediaAccessId _media_id
Pathname _path

Detailed Description

Base class for Source prober.

Source probe implementations get a attached media id and return a bool, wether the source is a source of this type

Definition at line 46 of file SourceImpl.h.


Constructor & Destructor Documentation

zypp::source::SourceProber::SourceProber ( media::MediaAccessId  media_id,
const Pathname &  path 
) [inline]

Definition at line 49 of file SourceImpl.h.

virtual zypp::source::SourceProber::~SourceProber (  )  [inline, virtual]

Definition at line 53 of file SourceImpl.h.


Member Function Documentation

virtual bool zypp::source::SourceProber::operator() (  )  [pure virtual]

Implemented in zypp::source::susetags::SuseTagsProber, and zypp::source::yum::YUMProber.


Member Data Documentation

media::MediaAccessId zypp::source::SourceProber::_media_id [protected]

Definition at line 59 of file SourceImpl.h.

Referenced by zypp::source::yum::YUMProber::operator()(), and zypp::source::susetags::SuseTagsProber::operator()().

Pathname zypp::source::SourceProber::_path [protected]

Definition at line 60 of file SourceImpl.h.

Referenced by zypp::source::yum::YUMProber::operator()(), and zypp::source::susetags::SuseTagsProber::operator()().


The documentation for this class was generated from the following file:
Generated on Tue Nov 28 16:49:40 2006 for zypp by  doxygen 1.5.0