#include <Target.h>
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. | |
| void | reset () |
| reload the target in future calls if needed. | |
| ResStore::resfilter_const_iterator | byKindBegin (const ResObject::Kind &kind_r) const |
| load resolvables of certain kind in the internal store and return a iterator successive calls will be faster as resolvables are cached- | |
| ResStore::resfilter_const_iterator | byKindEnd (const ResObject::Kind &kind_r) const |
| 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 |
| 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. | |
| Date | timestamp () const |
| return the last modification date of the 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) |
| Stream output. | |
Definition at line 49 of file Target.h.
| typedef target::TargetImpl zypp::Target::Impl |
| typedef intrusive_ptr<Impl> zypp::Target::Impl_Ptr |
| typedef std::list<PoolItem_Ref> zypp::Target::PoolItemList |
| zypp::Target::Target | ( | const Pathname & | root = "/" |
) | [explicit] |
| zypp::Target::Target | ( | const Impl_Ptr & | impl_r | ) | [explicit] |
| const ResStore & zypp::Target::resolvables | ( | ) |
| void zypp::Target::reset | ( | ) |
| ResStore::resfilter_const_iterator zypp::Target::byKindBegin | ( | const ResObject::Kind & | kind_r | ) | const |
| ResStore::resfilter_const_iterator zypp::Target::byKindEnd | ( | const ResObject::Kind & | kind_r | ) | const |
| Target_Ptr zypp::Target::nullimpl | ( | ) | [static] |
Null implementation.
Definition at line 51 of file Target.cc.
References _nullimpl, zypp::target::TargetImpl::nullimpl(), and Target().
| target::rpm::RpmDb & zypp::Target::rpmDb | ( | ) |
| bool zypp::Target::providesFile | ( | const std::string & | name_str, | |
| const std::string & | path_str | |||
| ) | const |
| ResObject::constPtr zypp::Target::whoOwnsFile | ( | const std::string & | path_str | ) | const |
| bool zypp::Target::isStorageEnabled | ( | ) | const |
| void zypp::Target::enableStorage | ( | const Pathname & | root_r | ) |
| bool zypp::Target::setInstallationLogfile | ( | const Pathname & | path_r | ) |
| Pathname zypp::Target::root | ( | ) | const |
| Date zypp::Target::timestamp | ( | ) | const |
| std::ostream & zypp::Target::dumpOn | ( | std::ostream & | str | ) | const [private, virtual] |
Stream output.
Reimplemented from zypp::base::ReferenceCounted.
Definition at line 97 of file Target.cc.
References _pimpl.
friend class zypp_detail::ZYppImpl [friend] |
| std::ostream & operator<< | ( | std::ostream & | str, | |
| const Target & | obj | |||
| ) | [friend] |
RW_pointer<Impl,rw_pointer::Intrusive<Impl> > zypp::Target::_pimpl [private] |
Pointer to implementation.
Definition at line 122 of file Target.h.
Referenced by byKindBegin(), byKindEnd(), dumpOn(), enableStorage(), isStorageEnabled(), providesFile(), reset(), resolvables(), root(), rpmDb(), setInstallationLogfile(), timestamp(), and whoOwnsFile().
Target_Ptr zypp::Target::_nullimpl [static, private] |
1.5.3