zypp::Product Class Reference

Product interface. More...

#include <Product.h>

Inheritance diagram for zypp::Product:
[legend]

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 type () const
 Get the product type (base, add-on).
std::string category () const ZYPP_DEPRECATED
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::type (  )  const

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

Definition at line 47 of file Product.cc.

References pimpl().

Referenced by category().

std::string zypp::Product::category (  )  const [inline]

Deprecated:
Use type.

Definition at line 46 of file Product.h.

References type().

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().

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().

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().

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 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 pimpl().

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

The product flags.

Definition at line 65 of file Product.cc.

References pimpl().

Label zypp::Product::shortName (  )  const

Definition at line 69 of file Product.cc.

References pimpl().

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 pimpl().

Edition zypp::Product::distributionEdition (  )  const

Vendor specific distribution version.

Definition at line 79 of file Product.cc.

References pimpl().

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

Access implementation.

Implements zypp::ResObject.

Referenced by distributionEdition(), distributionName(), extraUrls(), flags(), optionalUrls(), releaseNotesUrl(), shortName(), type(), 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 Sep 25 19:23:15 2007 for libzypp by  doxygen 1.5.3