zypp::source::plaindir::PlaindirImpl Class Reference

#include <PlaindirImpl.h>

Inheritance diagram for zypp::source::plaindir::PlaindirImpl:

zypp::source::SourceImpl zypp::base::ReferenceCounted zypp::base::ProvideNumericId< _Derived, _NumericIdType > NonCopyable List of all members.

Public Types

typedef intrusive_ptr< PlaindirImplPtr
typedef intrusive_ptr< const
PlaindirImpl
constPtr

Public Member Functions

 PlaindirImpl ()
 Default ctor.
 ~PlaindirImpl ()
 Dtor.
virtual std::string type () const
 String identifying the type of the source.

Static Public Member Functions

static std::string typeString ()
 String identifying the type of the source.

Private Member Functions

virtual void factoryInit ()
 Ctor substitute.
virtual void createResolvables (Source_Ref source_r)
 Late initialize the ResStore.
int extract_packages_from_directory (ResStore &store, const Pathname &path, Source_Ref source, bool recursive)

Detailed Description

Definition at line 37 of file PlaindirImpl.h.


Member Typedef Documentation

typedef intrusive_ptr<PlaindirImpl> zypp::source::plaindir::PlaindirImpl::Ptr

Definition at line 40 of file PlaindirImpl.h.

typedef intrusive_ptr<const PlaindirImpl> zypp::source::plaindir::PlaindirImpl::constPtr

Definition at line 41 of file PlaindirImpl.h.


Constructor & Destructor Documentation

zypp::source::plaindir::PlaindirImpl::PlaindirImpl (  ) 

Default ctor.

Definition at line 28 of file PlaindirImpl.cc.

zypp::source::plaindir::PlaindirImpl::~PlaindirImpl (  ) 

Dtor.

Definition at line 33 of file PlaindirImpl.cc.


Member Function Documentation

static std::string zypp::source::plaindir::PlaindirImpl::typeString (  )  [inline, static]

String identifying the type of the source.

Definition at line 51 of file PlaindirImpl.h.

Referenced by type().

virtual std::string zypp::source::plaindir::PlaindirImpl::type ( void   )  const [inline, virtual]

String identifying the type of the source.

Reimplemented from zypp::source::SourceImpl.

Definition at line 55 of file PlaindirImpl.h.

References typeString().

void zypp::source::plaindir::PlaindirImpl::factoryInit (  )  [private, virtual]

Ctor substitute.

Actually get the metadata.

Exceptions:
EXCEPTION on fail

Reimplemented from zypp::source::SourceImpl.

Definition at line 39 of file PlaindirImpl.cc.

References MIL, zypp::source::SourceImpl::path(), zypp::source::SourceImpl::url(), and ZYPP_THROW.

void zypp::source::plaindir::PlaindirImpl::createResolvables ( Source_Ref  source_r  )  [private, virtual]

Late initialize the ResStore.

Reimplemented from zypp::source::SourceImpl.

Definition at line 51 of file PlaindirImpl.cc.

References zypp::source::SourceImpl::_store, extract_packages_from_directory(), MIL, zypp::source::SourceImpl::path(), zypp::source::SourceImpl::selfSourceRef(), and zypp::source::SourceImpl::url().

int zypp::source::plaindir::PlaindirImpl::extract_packages_from_directory ( ResStore store,
const Pathname &  path,
Source_Ref  source,
bool  recursive 
) [private]

Definition at line 59 of file PlaindirImpl.cc.

References zypp::Source_Ref::alias(), DBG, ERR, zypp::ResStore::insert(), and zypp::filesystem::readdir().

Referenced by createResolvables().


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