#include <Target.h>
Inheritance diagram for zypp::Target:
Public Types | |
typedef target::TargetImpl | Impl |
typedef intrusive_ptr< Impl > | Impl_Ptr |
typedef std::list< PoolItem_Ref > | PoolItemList |
Public Member Functions | |
const ResStore & | resolvables () |
All resolvables provided by the target. | |
target::rpm::RpmDb & | rpmDb () |
Refference to the RPM database. | |
bool | providesFile (const std::string &name_str, const std::string &path_str) const |
If the package is installed and provides the file Needed to evaluate split provides during Resolver::Upgrade(). | |
ResObject::constPtr | whoOwnsFile (const std::string &path_str) const |
void | getResolvablesToInsDel (const ResPool pool_r, PoolItemList &dellist_r, PoolItemList &instlist_r, PoolItemList &srclist_r) const |
Sort according to prereqs and media numbers. | |
bool | isStorageEnabled () const |
enables the storage target | |
void | enableStorage (const Pathname &root_r) |
bool | setInstallationLogfile (const Pathname &path_r) |
Set the log file for target. | |
Pathname | root () const |
Return the root set for this target. | |
Target (const Pathname &root="/") | |
Ctor. | |
Target (const Impl_Ptr &impl_r) | |
Ctor. | |
Static Public Member Functions | |
static Target_Ptr | nullimpl () |
Null implementation. | |
Private Member Functions | |
std::ostream & | dumpOn (std::ostream &str) const |
Stream output. | |
Private Attributes | |
RW_pointer< Impl, rw_pointer::Intrusive< Impl > > | _pimpl |
Pointer to implementation. | |
Static Private Attributes | |
static Target_Ptr | _nullimpl |
Friends | |
class | zypp_detail::ZYppImpl |
Direct access to Impl. | |
std::ostream & | operator<< (std::ostream &str, const Target &obj) |
Definition at line 49 of file Target.h.
|
|
|
|
|
|
|
Ctor.
Definition at line 32 of file Target.cc. Referenced by nullimpl(). |
|
Ctor.
|
|
All resolvables provided by the target.
Definition at line 67 of file Target.cc. References _pimpl. |
|
Null implementation.
Definition at line 51 of file Target.cc. References _nullimpl, zypp::target::TargetImpl::nullimpl(), and Target(). |
|
Refference to the RPM database.
Definition at line 70 of file Target.cc. References _pimpl. |
|
If the package is installed and provides the file Needed to evaluate split provides during Resolver::Upgrade().
Definition at line 85 of file Target.cc. References _pimpl. |
|
Definition at line 88 of file Target.cc. References _pimpl. |
|
Sort according to prereqs and media numbers.
Definition at line 94 of file Target.cc. References _pimpl. |
|
enables the storage target
Definition at line 75 of file Target.cc. References _pimpl. |
|
Definition at line 78 of file Target.cc. References _pimpl. |
|
Set the log file for target.
Definition at line 100 of file Target.cc. References _pimpl. |
|
Return the root set for this target.
Definition at line 82 of file Target.cc. References _pimpl. |
|
Stream output.
Reimplemented from zypp::base::ReferenceCounted. Definition at line 91 of file Target.cc. References _pimpl. |
|
Direct access to Impl.
|
|
Stream output. |
|
Pointer to implementation.
Definition at line 112 of file Target.h. Referenced by dumpOn(), enableStorage(), getResolvablesToInsDel(), isStorageEnabled(), providesFile(), resolvables(), root(), rpmDb(), setInstallationLogfile(), and whoOwnsFile(). |
|
Definition at line 114 of file Target.h. Referenced by nullimpl(). |