libzypp  17.8.0
zypp::CpeId::Impl Class Reference

CpeId implementation. More...

Inheritance diagram for zypp::CpeId::Impl:

Public Member Functions

 Impl ()
 
 Impl (const std::string &cpe_r)
 
 operator bool () const
 
std::string asFs () const
 
std::string asUri () const
 
std::string asWfn () const
 
SetCompare setRelationMixinCompare (const Impl &trg) const
 

Private Types

typedef std::array< Value, Attribute::numAttributes > Wfn
 

Static Private Member Functions

static void assignAttr (Wfn &wfn_r, Attribute attr_r, const Value &val_r)
 Assign val_r if it meets attr_r specific contraints. More...
 
static Wfn unbind (const std::string &cpe_r)
 Parse magic and unbind accordingly. More...
 
static Wfn unbindUri (const std::string &cpe_r)
 Parse Uri and unbind. More...
 
static Wfn unbindFs (const std::string &cpe_r)
 Parse Fs and unbind. More...
 

Private Attributes

Wfn _wfn
 

Detailed Description

CpeId implementation.

Definition at line 82 of file CpeId.cc.

Member Typedef Documentation

◆ Wfn

typedef std::array<Value,Attribute::numAttributes> zypp::CpeId::Impl::Wfn
private

Definition at line 84 of file CpeId.cc.

Constructor & Destructor Documentation

◆ Impl() [1/2]

zypp::CpeId::Impl::Impl ( )
inline

Definition at line 87 of file CpeId.cc.

◆ Impl() [2/2]

zypp::CpeId::Impl::Impl ( const std::string &  cpe_r)
inline

Definition at line 89 of file CpeId.cc.

Member Function Documentation

◆ operator bool()

zypp::CpeId::Impl::operator bool ( ) const
inlineexplicit

Definition at line 94 of file CpeId.cc.

◆ asFs()

std::string zypp::CpeId::Impl::asFs ( ) const
inline

Definition at line 97 of file CpeId.cc.

◆ asUri()

std::string zypp::CpeId::Impl::asUri ( ) const
inline

Definition at line 108 of file CpeId.cc.

◆ asWfn()

std::string zypp::CpeId::Impl::asWfn ( ) const
inline

Definition at line 151 of file CpeId.cc.

◆ setRelationMixinCompare()

SetCompare zypp::CpeId::Impl::setRelationMixinCompare ( const Impl trg) const
inline

Definition at line 172 of file CpeId.cc.

◆ assignAttr()

static void zypp::CpeId::Impl::assignAttr ( Wfn wfn_r,
Attribute  attr_r,
const Value val_r 
)
inlinestaticprivate

Assign val_r if it meets attr_r specific contraints.

Exceptions
std::invalid_argumentif string is malformed

Definition at line 214 of file CpeId.cc.

◆ unbind()

CpeId::Impl::Wfn zypp::CpeId::Impl::unbind ( const std::string &  cpe_r)
staticprivate

Parse magic and unbind accordingly.

Exceptions
std::invalid_argumentif string is malformed

Definition at line 287 of file CpeId.cc.

◆ unbindUri()

CpeId::Impl::Wfn zypp::CpeId::Impl::unbindUri ( const std::string &  cpe_r)
staticprivate

Parse Uri and unbind.

Exceptions
std::invalid_argumentif string is malformed

Definition at line 314 of file CpeId.cc.

◆ unbindFs()

CpeId::Impl::Wfn zypp::CpeId::Impl::unbindFs ( const std::string &  cpe_r)
staticprivate

Parse Fs and unbind.

Exceptions
std::invalid_argumentif string is malformed

Definition at line 348 of file CpeId.cc.

Member Data Documentation

◆ _wfn

Wfn zypp::CpeId::Impl::_wfn
private

Definition at line 284 of file CpeId.cc.


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