#include <PlaindirImpl.h>
Inheritance diagram for zypp::source::plaindir::PlaindirImpl:

Public Types | |
| typedef intrusive_ptr< PlaindirImpl > | Ptr |
| 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) |
Definition at line 37 of file PlaindirImpl.h.
| 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.
| zypp::source::plaindir::PlaindirImpl::PlaindirImpl | ( | ) |
| zypp::source::plaindir::PlaindirImpl::~PlaindirImpl | ( | ) |
| 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.
| 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().
1.5.0