#include <Repository.h>
Public Types | |
| typedef repo::RepositoryImpl | Impl |
| typedef repo::RepositoryImpl_Ptr | Impl_Ptr |
| typedef unsigned long | NumericId |
Public Member Functions | |
| Repository () | |
| Repository (const Impl_Ptr &impl_r) | |
| NumericId | numericId () const |
| Runtime unique numeric Repository Id. | |
| const ResStore & | resolvables () const |
| const RepoInfo & | info () const |
| const std::list < packagedelta::PatchRpm > & | patchRpms () const |
| const std::list < packagedelta::DeltaRpm > & | deltaRpms () const |
Static Public Attributes | |
| static const Repository | noRepository |
A dummy Repository (Id 0) providing nothing, doing nothing. | |
Private Member Functions | |
| friend | b () const |
| bool | boolTest () const |
| SafeBool test. | |
Private Attributes | |
| RW_pointer< Impl, rw_pointer::Intrusive < Impl > > | _pimpl |
| Pointer to implementation. | |
Related Functions | |
| (Note that these are not member functions.) | |
| std::ostream & | operator<< (std::ostream &str, const Repository &obj) |
| bool | operator== (const Repository &lhs, const Repository &rhs) |
| bool | operator!= (const Repository &lhs, const Repository &rhs) |
| bool | operator< (const Repository &lhs, const Repository &rhs) |
Definition at line 24 of file Repository.h.
Definition at line 27 of file Repository.h.
| typedef repo::RepositoryImpl_Ptr zypp::Repository::Impl_Ptr |
Definition at line 28 of file Repository.h.
| typedef unsigned long zypp::Repository::NumericId |
Definition at line 57 of file Repository.h.
| zypp::Repository::Repository | ( | ) |
Default ctor: noRepository.
Definition at line 20 of file Repository.cc.
| zypp::Repository::Repository | ( | const Impl_Ptr & | impl_r | ) | [explicit] |
Factory ctor taking a RepositoryImpl. This is quite low level. You usually want to use RepoManager to manage the repositories.
Definition at line 29 of file Repository.cc.
| Repository::NumericId zypp::Repository::numericId | ( | ) | const |
Runtime unique numeric Repository Id.
Definition at line 41 of file Repository.cc.
References _pimpl.
Referenced by zypp::solver::detail::Testcase::createTestcase(), zypp::ResObject::dumpOn(), zypp::solver::detail::HelixControl::HelixControl(), zypp::solver::detail::HelixControl::installResolvable(), zypp::solver::detail::HelixControl::lockResolvable(), zypp::target::IMediaKey::operator<(), and zypp::target::operator<<().
| const ResStore & zypp::Repository::resolvables | ( | ) | const |
| const RepoInfo & zypp::Repository::info | ( | ) | const |
Repository info used to create this repository
Definition at line 49 of file Repository.cc.
References _pimpl.
Referenced by zypp::operator<(), zypp::target::operator<<(), zypp::operator<<(), zypp::operator==(), zypp::repo::RepoMediaAccess::provideFile(), zypp::repo::RepoMediaAccess::Impl::setVerifierForRepo(), and zypp::solver::detail::ResolverInfo::toString().
| const std::list< packagedelta::PatchRpm > & zypp::Repository::patchRpms | ( | ) | const |
| const std::list< packagedelta::DeltaRpm > & zypp::Repository::deltaRpms | ( | ) | const |
| zypp::Repository::b | ( | ) | const [private] |
| bool zypp::Repository::boolTest | ( | ) | const [inline, private] |
| std::ostream & operator<< | ( | std::ostream & | str, | |
| const Repository & | obj | |||
| ) | [related] |
Definition at line 66 of file Repository.cc.
| bool operator== | ( | const Repository & | lhs, | |
| const Repository & | rhs | |||
| ) | [related] |
Definition at line 71 of file Repository.cc.
| bool operator!= | ( | const Repository & | lhs, | |
| const Repository & | rhs | |||
| ) | [related] |
Definition at line 98 of file Repository.h.
| bool operator< | ( | const Repository & | lhs, | |
| const Repository & | rhs | |||
| ) | [related] |
Definition at line 76 of file Repository.cc.
const Repository zypp::Repository::noRepository [static] |
A dummy Repository (Id 0) providing nothing, doing nothing.
Definition at line 49 of file Repository.h.
Referenced by boolTest(), zypp::solver::detail::ResolverContext::collectCompareInfo(), zypp::pool::PoolImpl::knownRepositories(), and zypp::detail::ResObjectImplIf::repository().
RW_pointer<Impl,rw_pointer::Intrusive<Impl> > zypp::Repository::_pimpl [private] |
Pointer to implementation.
Definition at line 90 of file Repository.h.
Referenced by boolTest(), deltaRpms(), info(), numericId(), patchRpms(), and resolvables().
1.5.3