#include <ResObject.h>
Inheritance diagram for zypp::ResObject:

Public Types | |
| typedef detail::ResObjectImplIf | Impl |
| typedef ResObject | Self |
| typedef ResTraits< Self > | TraitsType |
| typedef TraitsType::PtrType | Ptr |
| typedef TraitsType::constPtrType | constPtr |
Public Member Functions | |
| Text | summary () const |
| Text | description () const |
| Text | insnotify () const |
| Text | delnotify () const |
| Text | licenseToConfirm () const |
| Vendor | vendor () const |
| ByteCount | size () const |
| ByteCount | archivesize () const |
| Source_Ref | source () const |
| Backlink to the source providing this. | |
| unsigned | sourceMediaNr () const |
| Number of the source media that provides the data required for installation. | |
| ZYPP_DEPRECATED unsigned | mediaId () const |
| Use sourceMediaNr. | |
| bool | installOnly () const |
| Date | buildtime () const |
| Date | installtime () const |
Time of installation, or 0. | |
| ZmdId | zmdid () const |
Protected Member Functions | |
| ResObject (const Kind &kind_r, const NVRAD &nvrad_r) | |
| Ctor. | |
| virtual | ~ResObject () |
| Dtor. | |
| virtual std::ostream & | dumpOn (std::ostream &str) const |
| Helper for stream output. | |
Private Member Functions | |
| virtual Impl & | pimpl ()=0 |
| Access implementation. | |
| virtual const Impl & | pimpl () const=0 |
| Access implementation. | |
Friends | |
| class | detail::ImplConnect |
Related Functions | |
| (Note that these are not member functions.) | |
| template<class _Res> | |
| ResTraits< _Res >::PtrType | asKind (const ResObject::Ptr &p) |
| Convert Resolvable::Ptr into Ptr of a certain Kind. | |
Definition at line 38 of file ResObject.h.
Reimplemented in zypp::Atom, zypp::Language, zypp::Message, zypp::Package, zypp::Patch, zypp::Pattern, zypp::Product, zypp::Script, zypp::Selection, zypp::SrcPackage, and zypp::SystemResObject.
Definition at line 41 of file ResObject.h.
| typedef ResObject zypp::ResObject::Self |
Reimplemented from zypp::Resolvable.
Reimplemented in zypp::Atom, zypp::Language, zypp::Message, zypp::Package, zypp::Patch, zypp::Pattern, zypp::Product, zypp::Script, zypp::Selection, zypp::SrcPackage, and zypp::SystemResObject.
Definition at line 42 of file ResObject.h.
| typedef ResTraits<Self> zypp::ResObject::TraitsType |
Reimplemented from zypp::Resolvable.
Reimplemented in zypp::Atom, zypp::Language, zypp::Message, zypp::Package, zypp::Patch, zypp::Pattern, zypp::Product, zypp::Script, zypp::Selection, zypp::SrcPackage, and zypp::SystemResObject.
Definition at line 43 of file ResObject.h.
Reimplemented from zypp::Resolvable.
Reimplemented in zypp::Atom, zypp::Language, zypp::Message, zypp::Package, zypp::Patch, zypp::Pattern, zypp::Product, zypp::Script, zypp::Selection, zypp::SrcPackage, and zypp::SystemResObject.
Definition at line 44 of file ResObject.h.
Reimplemented from zypp::Resolvable.
Reimplemented in zypp::Atom, zypp::Language, zypp::Message, zypp::Package, zypp::Patch, zypp::Pattern, zypp::Product, zypp::Script, zypp::Selection, zypp::SrcPackage, and zypp::SystemResObject.
Definition at line 45 of file ResObject.h.
| zypp::ResObject::~ResObject | ( | ) | [protected, virtual] |
| Text zypp::ResObject::summary | ( | ) | const |
Definition at line 57 of file ResObject.cc.
References pimpl(), zypp::detail::ResObjectImplIf::summary(), and zypp::TranslatedText::text().
Referenced by zypp::Product::longName().
| Text zypp::ResObject::description | ( | ) | const |
Definition at line 60 of file ResObject.cc.
References zypp::detail::ResObjectImplIf::description(), pimpl(), and zypp::TranslatedText::text().
| Text zypp::ResObject::insnotify | ( | ) | const |
Definition at line 63 of file ResObject.cc.
References zypp::detail::ResObjectImplIf::insnotify(), pimpl(), and zypp::TranslatedText::text().
| Text zypp::ResObject::delnotify | ( | ) | const |
Definition at line 66 of file ResObject.cc.
References zypp::detail::ResObjectImplIf::delnotify(), pimpl(), and zypp::TranslatedText::text().
| License zypp::ResObject::licenseToConfirm | ( | ) | const |
Definition at line 69 of file ResObject.cc.
References zypp::detail::ResObjectImplIf::licenseToConfirm(), pimpl(), and zypp::TranslatedText::text().
| Vendor zypp::ResObject::vendor | ( | ) | const |
Reimplemented in zypp::Product.
Definition at line 72 of file ResObject.cc.
References pimpl(), and zypp::detail::ResObjectImplIf::vendor().
| ByteCount zypp::ResObject::size | ( | ) | const |
Definition at line 75 of file ResObject.cc.
References pimpl(), and zypp::detail::ResObjectImplIf::size().
| ByteCount zypp::ResObject::archivesize | ( | ) | const |
Reimplemented in zypp::SrcPackage.
Definition at line 78 of file ResObject.cc.
References zypp::detail::ResObjectImplIf::archivesize(), and pimpl().
| Source_Ref zypp::ResObject::source | ( | ) | const |
Backlink to the source providing this.
Definition at line 81 of file ResObject.cc.
References pimpl(), and zypp::detail::ResObjectImplIf::source().
Referenced by dumpOn().
| unsigned zypp::ResObject::sourceMediaNr | ( | ) | const |
Number of the source media that provides the data required for installation.
Zero, if no media access is required.
Definition at line 84 of file ResObject.cc.
References pimpl(), and zypp::detail::ResObjectImplIf::sourceMediaNr().
| ZYPP_DEPRECATED unsigned zypp::ResObject::mediaId | ( | ) | const [inline] |
| bool zypp::ResObject::installOnly | ( | ) | const |
Definition at line 87 of file ResObject.cc.
References zypp::detail::ResObjectImplIf::installOnly(), and pimpl().
| Date zypp::ResObject::buildtime | ( | ) | const |
Definition at line 90 of file ResObject.cc.
References zypp::detail::ResObjectImplIf::buildtime(), and pimpl().
| Date zypp::ResObject::installtime | ( | ) | const |
Time of installation, or 0.
Definition at line 93 of file ResObject.cc.
References zypp::detail::ResObjectImplIf::installtime(), and pimpl().
| ZmdId zypp::ResObject::zmdid | ( | ) | const |
Definition at line 96 of file ResObject.cc.
References pimpl(), and zypp::detail::ResObjectImplIf::zmdid().
| std::ostream & zypp::ResObject::dumpOn | ( | std::ostream & | str | ) | const [protected, virtual] |
Helper for stream output.
Reimplemented from zypp::Resolvable.
Definition at line 45 of file ResObject.cc.
References zypp::Resolvable::dumpOn(), zypp::Source_Ref::numericId(), source(), and sourceMediaNr().
| virtual Impl& zypp::ResObject::pimpl | ( | ) | [private, pure virtual] |
Access implementation.
Implemented in zypp::Atom, zypp::Language, zypp::Message, zypp::Package, zypp::Patch, zypp::Pattern, zypp::Product, zypp::Script, zypp::Selection, zypp::SrcPackage, and zypp::SystemResObject.
Referenced by archivesize(), buildtime(), delnotify(), description(), insnotify(), installOnly(), installtime(), licenseToConfirm(), size(), source(), sourceMediaNr(), summary(), vendor(), and zmdid().
| virtual const Impl& zypp::ResObject::pimpl | ( | ) | const [private, pure virtual] |
Access implementation.
Implemented in zypp::Atom, zypp::Language, zypp::Message, zypp::Package, zypp::Patch, zypp::Pattern, zypp::Product, zypp::Script, zypp::Selection, zypp::SrcPackage, and zypp::SystemResObject.
friend class detail::ImplConnect [friend] |
Definition at line 108 of file ResObject.h.
| ResTraits< _Res >::PtrType asKind | ( | const ResObject::Ptr & | p | ) | [related] |
Convert Resolvable::Ptr into Ptr of a certain Kind.
NULL iff p is NULL or points to a Resolvable not of the specified Kind.asKind<Package>(resPtr);
Definition at line 125 of file ResObject.h.
1.5.0