zypp::Edition::Impl Struct Reference

Edition implementation. More...

List of all members.

Public Member Functions

 Impl ()
 Impl (const std::string &edition_r)
 Impl (const std::string &version_r, const std::string &release_r, epoch_t epoch_r)
 Impl (const std::string &version_r, const std::string &release_r, const std::string &epoch_r)
 ~Impl ()
 Dtor.

Static Public Member Functions

static epoch_t validateE (const std::string &epoch_r)
 return validated epoch ([0-9]*) or throw
static const std::string & validateVR (const std::string &vr_r)
 return validated version/release or throw

Public Attributes

epoch_t _epoch
std::string _version
std::string _release

Static Public Attributes

static const str::regex _rxVR
static const str::regex _rxEdition


Detailed Description

Edition implementation.

Todo:
Unifiy Impl in Edition::noedition and Edition::Edition()

Definition at line 140 of file Edition.cc.


Constructor & Destructor Documentation

zypp::Edition::Impl::Impl  )  [inline]
 

Definition at line 142 of file Edition.cc.

zypp::Edition::Impl::Impl const std::string &  edition_r  )  [inline]
 

Definition at line 146 of file Edition.cc.

References _epoch, _release, _rxEdition, _version, zypp::solver::detail::str, and ZYPP_THROW.

zypp::Edition::Impl::Impl const std::string &  version_r,
const std::string &  release_r,
epoch_t  epoch_r
[inline]
 

Definition at line 169 of file Edition.cc.

zypp::Edition::Impl::Impl const std::string &  version_r,
const std::string &  release_r,
const std::string &  epoch_r
[inline]
 

Definition at line 177 of file Edition.cc.

zypp::Edition::Impl::~Impl  )  [inline]
 

Dtor.

Definition at line 186 of file Edition.cc.


Member Function Documentation

static epoch_t zypp::Edition::Impl::validateE const std::string &  epoch_r  )  [inline, static]
 

return validated epoch ([0-9]*) or throw

Definition at line 190 of file Edition.cc.

References zypp::Edition::noepoch, and ZYPP_THROW.

static const std::string& zypp::Edition::Impl::validateVR const std::string &  vr_r  )  [inline, static]
 

return validated version/release or throw

Definition at line 203 of file Edition.cc.

References _rxVR, and ZYPP_THROW.


Member Data Documentation

epoch_t zypp::Edition::Impl::_epoch
 

Definition at line 211 of file Edition.cc.

Referenced by Impl().

std::string zypp::Edition::Impl::_version
 

Definition at line 212 of file Edition.cc.

Referenced by Impl().

std::string zypp::Edition::Impl::_release
 

Definition at line 213 of file Edition.cc.

Referenced by Impl().

const str::regex zypp::Edition::Impl::_rxVR [static]
 

Definition at line 215 of file Edition.cc.

Referenced by validateVR().

const str::regex zypp::Edition::Impl::_rxEdition [static]
 

Definition at line 216 of file Edition.cc.

Referenced by Impl().


The documentation for this struct was generated from the following file:
Generated on Thu Jul 6 00:07:30 2006 for zypp by  doxygen 1.4.6