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

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.

References _category, and zypp::Source_Ref::baseSource().


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 59 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 64 of file YUMProductImpl.cc.

References _vendor.

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

Short label.

Reimplemented from zypp::detail::ResObjectImplIf.

Definition at line 69 of file YUMProductImpl.cc.

References _summary.

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

Long description.

Reimplemented from zypp::detail::ResObjectImplIf.

Definition at line 74 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 84 of file YUMProductImpl.cc.

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

Reimplemented from zypp::detail::ProductImplIf.

Definition at line 89 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 94 of file YUMProductImpl.cc.

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

Vendor specific distribution version.

Reimplemented from zypp::detail::ProductImplIf.

Definition at line 99 of file YUMProductImpl.cc.

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

Backlink to the source providing this.

Reimplemented from zypp::detail::ResObjectImplIf.

Definition at line 79 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(), and YUMProductImpl().

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

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

Definition at line 59 of file YUMProductImpl.h.

Referenced by source().


The documentation for this class was generated from the following files:
Generated on Tue Nov 28 16:49:40 2006 for zypp by  doxygen 1.5.0