zypp::ResObject Class Reference

Interface base for resolvable objects (common data). More...

#include <ResObject.h>

Inheritance diagram for zypp::ResObject:

zypp::Resolvable zypp::base::ReferenceCounted NonCopyable zypp::Atom zypp::Language zypp::Message zypp::Package zypp::Patch zypp::Pattern zypp::Product zypp::Script zypp::Selection zypp::SrcPackage zypp::SystemResObject List of all members.

Public Types

typedef detail::ResObjectImplIf Impl
typedef ResObject Self
typedef ResTraits< SelfTraitsType
typedef TraitsType::PtrType Ptr
typedef TraitsType::constPtrType constPtr

Public Member Functions

Text summary () const
Text description () const
Text insnotify () const
Text delnotify () const
ByteCount size () const
Source_Ref source () const
ZmdId zmdid () const

Protected Member Functions

 ResObject (const Kind &kind_r, const NVRAD &nvrad_r)
 Ctor.
virtual ~ResObject ()
 Dtor.

Private Member Functions

virtual Implpimpl ()=0
 Access implementation.
virtual const Implpimpl () 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.

Detailed Description

Interface base for resolvable objects (common data).

Definition at line 36 of file ResObject.h.


Member Typedef Documentation

typedef detail::ResObjectImplIf zypp::ResObject::Impl
 

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 39 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 40 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 41 of file ResObject.h.

typedef TraitsType::PtrType zypp::ResObject::Ptr
 

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 TraitsType::constPtrType zypp::ResObject::constPtr
 

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.


Constructor & Destructor Documentation

zypp::ResObject::ResObject const Kind kind_r,
const NVRAD nvrad_r
[protected]
 

Ctor.

Definition at line 27 of file ResObject.cc.

zypp::ResObject::~ResObject  )  [protected, virtual]
 

Dtor.

Definition at line 37 of file ResObject.cc.


Member Function Documentation

Text zypp::ResObject::summary  )  const
 

Definition at line 46 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 49 of file ResObject.cc.

References zypp::detail::ResObjectImplIf::description(), pimpl(), and zypp::TranslatedText::text().

Text zypp::ResObject::insnotify  )  const
 

Definition at line 52 of file ResObject.cc.

References zypp::detail::ResObjectImplIf::insnotify(), pimpl(), and zypp::TranslatedText::text().

Text zypp::ResObject::delnotify  )  const
 

Definition at line 55 of file ResObject.cc.

References zypp::detail::ResObjectImplIf::delnotify(), pimpl(), and zypp::TranslatedText::text().

ByteCount zypp::ResObject::size  )  const
 

Definition at line 58 of file ResObject.cc.

References pimpl(), and zypp::detail::ResObjectImplIf::size().

Source_Ref zypp::ResObject::source  )  const
 

Definition at line 61 of file ResObject.cc.

References pimpl(), and zypp::detail::ResObjectImplIf::source().

ZmdId zypp::ResObject::zmdid  )  const
 

Definition at line 64 of file ResObject.cc.

References pimpl(), and zypp::detail::ResObjectImplIf::zmdid().

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 delnotify(), description(), insnotify(), size(), source(), summary(), 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.


Friends And Related Function Documentation

friend class detail::ImplConnect [friend]
 

Definition at line 75 of file ResObject.h.

template<class _Res>
ResTraits< _Res >::PtrType asKind const ResObject::Ptr p  )  [related]
 

Convert Resolvable::Ptr into Ptr of a certain Kind.

Returns:
NULL iff p is NULL or points to a Resolvable not of the specified Kind.
 asKind<Package>(resPtr);

Definition at line 92 of file ResObject.h.


The documentation for this class was generated from the following files:
Generated on Thu May 4 16:03:36 2006 for zypp by  doxygen 1.4.6