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< UrlextraUrls () const
 Additional software for the product They are complementary, not alternatives.
std::list< UrloptionalUrls () const
 Optional software for the product (for example.
std::list< std::string > flags () const
 The product flags.
Label shortName () const
Label longName () const
std::string distributionName () const
 Vendor specific distribution id.
Edition distributionEdition () const
 Vendor specific distribution version.

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< Url > zypp::Product::extraUrls (  )  const

Additional software for the product They are complementary, not alternatives.

Definition at line 59 of file Product.cc.

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

std::list< Url > zypp::Product::optionalUrls (  )  const

Optional software for the product (for example.

Non OSS repositories) They are complementary, not alternatives.

Definition at line 62 of file Product.cc.

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

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

The product flags.

Definition at line 65 of file Product.cc.

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

Label zypp::Product::shortName (  )  const

Definition at line 69 of file Product.cc.

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

Label zypp::Product::longName (  )  const

Definition at line 73 of file Product.cc.

References zypp::ResObject::summary().

std::string zypp::Product::distributionName (  )  const

Vendor specific distribution id.

Definition at line 76 of file Product.cc.

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

Edition zypp::Product::distributionEdition (  )  const

Vendor specific distribution version.

Definition at line 79 of file Product.cc.

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

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

Access implementation.

Implements zypp::ResObject.

Referenced by category(), distributionEdition(), distributionName(), extraUrls(), flags(), optionalUrls(), 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 Tue Nov 28 16:49:37 2006 for zypp by  doxygen 1.5.0