zypp::source::yum::YUMProductImpl Class Reference

Class representing a patch. More...

#include <YUMProductImpl.h>

Inheritance diagram for zypp::source::yum::YUMProductImpl:

zypp::detail::ProductImplIf zypp::detail::ResObjectImplIf zypp::base::ReferenceCounted NonCopyable List of all members.

Public Member Functions

 YUMProductImpl (Source_Ref source_r, const zypp::parser::yum::YUMProductData &parsed)
 Default ctor.
virtual std::string category () const
 Get the category of the product - addon or base.
virtual Label vendor () const
 Get the vendor of the product.
virtual TranslatedText summary () const
 Short label.
virtual TranslatedText description () const
 Long description.
virtual std::list< std::string > flags () const
 The product flags.
virtual TranslatedText shortName () const
virtual std::string distributionName () const
 Vendor specific distribution id.
virtual Edition distributionEdition () const
 Vendor specific distribution version.
Source_Ref source () const
 Backlink to the source providing this.

Protected Attributes

std::string _category
Label _vendor
TranslatedText _summary
TranslatedText _description
TranslatedText _short_name
std::string _distribution_name
Edition _distribution_edition

Private Attributes

Source_Ref _source

Detailed Description

Class representing a patch.

Definition at line 35 of file YUMProductImpl.h.


Constructor & Destructor Documentation

zypp::source::yum::YUMProductImpl::YUMProductImpl Source_Ref  source_r,
const zypp::parser::yum::YUMProductData parsed
 

Default ctor.

Bug:
CANT BE CONSTUCTED THAT WAY ANYMORE

Definition at line 47 of file YUMProductImpl.cc.


Member Function Documentation

std::string zypp::source::yum::YUMProductImpl::category  )  const [virtual]
 

Get the category of the product - addon or base.

Reimplemented from zypp::detail::ProductImplIf.

Definition at line 60 of file YUMProductImpl.cc.

References _category.

Label zypp::source::yum::YUMProductImpl::vendor  )  const [virtual]
 

Get the vendor of the product.

Reimplemented from zypp::detail::ProductImplIf.

Definition at line 65 of file YUMProductImpl.cc.

References _vendor.

TranslatedText zypp::source::yum::YUMProductImpl::summary  )  const [virtual]
 

Short label.

Reimplemented from zypp::detail::ResObjectImplIf.

Definition at line 70 of file YUMProductImpl.cc.

References _summary.

TranslatedText zypp::source::yum::YUMProductImpl::description  )  const [virtual]
 

Long description.

Reimplemented from zypp::detail::ResObjectImplIf.

Definition at line 75 of file YUMProductImpl.cc.

References _description.

std::list< std::string > zypp::source::yum::YUMProductImpl::flags  )  const [virtual]
 

The product flags.

Reimplemented from zypp::detail::ProductImplIf.

Definition at line 85 of file YUMProductImpl.cc.

TranslatedText zypp::source::yum::YUMProductImpl::shortName  )  const [virtual]
 

Reimplemented from zypp::detail::ProductImplIf.

Definition at line 90 of file YUMProductImpl.cc.

References _short_name.

std::string zypp::source::yum::YUMProductImpl::distributionName  )  const [virtual]
 

Vendor specific distribution id.

Reimplemented from zypp::detail::ProductImplIf.

Definition at line 95 of file YUMProductImpl.cc.

References _distribution_name.

Edition zypp::source::yum::YUMProductImpl::distributionEdition  )  const [virtual]
 

Vendor specific distribution version.

Reimplemented from zypp::detail::ProductImplIf.

Definition at line 100 of file YUMProductImpl.cc.

References _distribution_edition.

Source_Ref zypp::source::yum::YUMProductImpl::source  )  const [virtual]
 

Backlink to the source providing this.

Reimplemented from zypp::detail::ResObjectImplIf.

Definition at line 80 of file YUMProductImpl.cc.

References _source.


Member Data Documentation

std::string zypp::source::yum::YUMProductImpl::_category [protected]
 

Definition at line 52 of file YUMProductImpl.h.

Referenced by category().

Label zypp::source::yum::YUMProductImpl::_vendor [protected]
 

Definition at line 53 of file YUMProductImpl.h.

Referenced by vendor().

TranslatedText zypp::source::yum::YUMProductImpl::_summary [protected]
 

Definition at line 54 of file YUMProductImpl.h.

Referenced by summary().

TranslatedText zypp::source::yum::YUMProductImpl::_description [protected]
 

Definition at line 55 of file YUMProductImpl.h.

Referenced by description().

TranslatedText zypp::source::yum::YUMProductImpl::_short_name [protected]
 

Definition at line 56 of file YUMProductImpl.h.

Referenced by shortName().

std::string zypp::source::yum::YUMProductImpl::_distribution_name [protected]
 

Definition at line 57 of file YUMProductImpl.h.

Referenced by distributionName().

Edition zypp::source::yum::YUMProductImpl::_distribution_edition [protected]
 

Definition at line 58 of file YUMProductImpl.h.

Referenced by distributionEdition().

Source_Ref zypp::source::yum::YUMProductImpl::_source [private]
 

Definition at line 60 of file YUMProductImpl.h.

Referenced by source().


The documentation for this class was generated from the following files:
Generated on Thu Apr 24 02:25:14 2008 for zypp by  doxygen 1.4.6