zypp::Product Class Reference

Product interface. More...

#include <Product.h>

Inheritance diagram for zypp::Product:

zypp::ResObject zypp::Resolvable zypp::base::ReferenceCounted NonCopyable List of all members.

Public Types

typedef detail::ProductImplIf Impl
typedef Product Self
typedef ResTraits< SelfTraitsType
typedef TraitsType::PtrType Ptr
typedef TraitsType::constPtrType constPtr

Public Member Functions

std::string category () const
 Get the product categoty (base, add-on).
Label vendor () const
 Get the vendor of the product.
Url releaseNotesUrl () const
 The URL to download the release notes for this product.
std::list< UrlupdateUrls () const
 Online updates for the product.
std::list< std::string > flags () const
 The product flags.
Label shortName () const
Label longName () const

Protected Member Functions

 Product (const NVRAD &nvrad_r)
 Ctor.
virtual ~Product ()
 Dtor.

Private Member Functions

virtual Implpimpl ()=0
 Access implementation.
virtual const Implpimpl () const =0
 Access implementation.

Detailed Description

Product interface.

Definition at line 33 of file Product.h.


Member Typedef Documentation

typedef detail::ProductImplIf zypp::Product::Impl
 

Reimplemented from zypp::ResObject.

Definition at line 36 of file Product.h.

typedef Product zypp::Product::Self
 

Reimplemented from zypp::ResObject.

Definition at line 37 of file Product.h.

typedef ResTraits<Self> zypp::Product::TraitsType
 

Reimplemented from zypp::ResObject.

Definition at line 38 of file Product.h.

typedef TraitsType::PtrType zypp::Product::Ptr
 

Reimplemented from zypp::ResObject.

Definition at line 39 of file Product.h.

typedef TraitsType::constPtrType zypp::Product::constPtr
 

Reimplemented from zypp::ResObject.

Definition at line 40 of file Product.h.


Constructor & Destructor Documentation

zypp::Product::Product const NVRAD nvrad_r  )  [protected]
 

Ctor.

Definition at line 29 of file Product.cc.

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

Dtor.

Definition at line 38 of file Product.cc.


Member Function Documentation

std::string zypp::Product::category  )  const
 

Get the product categoty (base, add-on).

Definition at line 47 of file Product.cc.

References zypp::detail::ProductImplIf::category(), and pimpl().

Label zypp::Product::vendor  )  const
 

Get the vendor of the product.

Reimplemented from zypp::ResObject.

Definition at line 50 of file Product.cc.

References pimpl(), and zypp::detail::ProductImplIf::vendor().

Url zypp::Product::releaseNotesUrl  )  const
 

The URL to download the release notes for this product.

Definition at line 53 of file Product.cc.

References pimpl(), and zypp::detail::ProductImplIf::releaseNotesUrl().

std::list< Url > zypp::Product::updateUrls  )  const
 

Online updates for the product.

They are complementary, not alternatives. #163192

Definition at line 56 of file Product.cc.

References pimpl(), and zypp::detail::ProductImplIf::updateUrls().

std::list< std::string > zypp::Product::flags  )  const
 

The product flags.

Definition at line 59 of file Product.cc.

References zypp::detail::ProductImplIf::flags(), and pimpl().

Label zypp::Product::shortName  )  const
 

Definition at line 63 of file Product.cc.

References pimpl(), zypp::detail::ProductImplIf::shortName(), and zypp::TranslatedText::text().

Label zypp::Product::longName  )  const
 

Definition at line 67 of file Product.cc.

References zypp::ResObject::summary().

virtual Impl& zypp::Product::pimpl  )  [private, pure virtual]
 

Access implementation.

Implements zypp::ResObject.

Referenced by category(), flags(), releaseNotesUrl(), shortName(), updateUrls(), and vendor().

virtual const Impl& zypp::Product::pimpl  )  const [private, pure virtual]
 

Access implementation.

Implements zypp::ResObject.


The documentation for this class was generated from the following files:
Generated on Thu Jul 6 00:07:31 2006 for zypp by  doxygen 1.4.6