libzypp  17.14.0
zypp::parser::ProductFileData Class Reference

Data returned by ProductFileReader. More...

#include <ProductFileReader.h>

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. More...
 
bool empty () const
 Whether this is an empty object without valid data. More...
 
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 registerFlavor () 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

◆ Upgrades

Definition at line 92 of file ProductFileReader.h.

Constructor & Destructor Documentation

◆ ProductFileData()

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

Ctor takes ownership of allocated_r.

Definition at line 86 of file ProductFileReader.cc.

Member Function Documentation

◆ empty()

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

Whether this is an empty object without valid data.

Definition at line 48 of file ProductFileReader.h.

◆ vendor()

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

Definition at line 90 of file ProductFileReader.cc.

◆ name()

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

Definition at line 91 of file ProductFileReader.cc.

◆ edition()

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

Definition at line 92 of file ProductFileReader.cc.

◆ arch()

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

Definition at line 93 of file ProductFileReader.cc.

◆ shortName()

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

Definition at line 95 of file ProductFileReader.cc.

◆ summary()

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

Definition at line 96 of file ProductFileReader.cc.

◆ productline()

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

Definition at line 98 of file ProductFileReader.cc.

◆ registerTarget()

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

Definition at line 99 of file ProductFileReader.cc.

◆ registerRelease()

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

Definition at line 100 of file ProductFileReader.cc.

◆ registerFlavor()

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

Definition at line 101 of file ProductFileReader.cc.

◆ updaterepokey()

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

Definition at line 103 of file ProductFileReader.cc.

◆ upgrades()

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

Definition at line 105 of file ProductFileReader.cc.

Friends And Related Function Documentation

◆ operator<<()

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

Stream output

Definition at line 107 of file ProductFileReader.cc.

Member Data Documentation

◆ _pimpl

RWCOW_pointer<Impl> zypp::parser::ProductFileData::_pimpl
private

Definition at line 96 of file ProductFileReader.h.


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