zypp::parser::ProductFileData Class Reference

Data returned by ProductFileReader. More...

#include <ProductFileReader.h>

List of all members.

Classes

struct  Impl
struct  Upgrade

Public Types

typedef std::vector< UpgradeUpgrades

Public Member Functions

 ProductFileData (Impl *allocated_r=0)
 Ctor takes ownership of allocated_r.
bool empty () const
 Whether this is an empty object without valid data.
IdString vendor () const
IdString name () const
Edition edition () const
Arch arch () const
std::string shortName () const
std::string summary () const
std::string productline () const
std::string registerTarget () const
std::string registerRelease () const
std::string updaterepokey () const
const Upgradesupgrades () const

Private Attributes

RWCOW_pointer< Impl_pimpl

Related Functions

(Note that these are not member functions.)

std::ostream & operator<< (std::ostream &str, const ProductFileData &obj)


Detailed Description

Data returned by ProductFileReader.

See also:
ProductFileReader

Definition at line 40 of file ProductFileReader.h.


Member Typedef Documentation

Definition at line 91 of file ProductFileReader.h.


Constructor & Destructor Documentation

zypp::parser::ProductFileData::ProductFileData ( Impl allocated_r = 0  ) 

Ctor takes ownership of allocated_r.

Definition at line 85 of file ProductFileReader.cc.


Member Function Documentation

bool zypp::parser::ProductFileData::empty (  )  const [inline]

Whether this is an empty object without valid data.

Definition at line 48 of file ProductFileReader.h.

References zypp::IdString::empty(), and name().

IdString zypp::parser::ProductFileData::vendor (  )  const

Definition at line 89 of file ProductFileReader.cc.

References _pimpl.

Referenced by zypp::parser::operator<<().

IdString zypp::parser::ProductFileData::name (  )  const

Definition at line 90 of file ProductFileReader.cc.

References _pimpl.

Referenced by empty(), and zypp::parser::operator<<().

Edition zypp::parser::ProductFileData::edition (  )  const

Definition at line 91 of file ProductFileReader.cc.

References _pimpl.

Referenced by zypp::parser::operator<<().

Arch zypp::parser::ProductFileData::arch (  )  const

Definition at line 92 of file ProductFileReader.cc.

References _pimpl.

Referenced by zypp::parser::operator<<().

std::string zypp::parser::ProductFileData::shortName (  )  const

Definition at line 94 of file ProductFileReader.cc.

References _pimpl.

Referenced by zypp::target::TargetImpl::distributionLabel().

std::string zypp::parser::ProductFileData::summary (  )  const

Definition at line 95 of file ProductFileReader.cc.

References _pimpl.

Referenced by zypp::target::TargetImpl::distributionLabel().

std::string zypp::parser::ProductFileData::productline (  )  const

Definition at line 97 of file ProductFileReader.cc.

References _pimpl.

std::string zypp::parser::ProductFileData::registerTarget (  )  const

Definition at line 98 of file ProductFileReader.cc.

References _pimpl.

std::string zypp::parser::ProductFileData::registerRelease (  )  const

Definition at line 99 of file ProductFileReader.cc.

References _pimpl.

std::string zypp::parser::ProductFileData::updaterepokey (  )  const

Definition at line 101 of file ProductFileReader.cc.

References _pimpl.

const ProductFileData::Upgrades & zypp::parser::ProductFileData::upgrades (  )  const

Definition at line 103 of file ProductFileReader.cc.

References _pimpl.

Referenced by zypp::parser::operator<<().


Friends And Related Function Documentation

std::ostream & operator<< ( std::ostream &  str,
const ProductFileData obj 
) [related]

Stream output

Definition at line 105 of file ProductFileReader.cc.


Member Data Documentation


The documentation for this class was generated from the following files:

doxygen