libzypp  17.8.0
zypp::PackageKeyword Class Reference

Package keywords. More...

#include <PackageKeyword.h>

Inheritance diagram for zypp::PackageKeyword:

Public Member Functions

 PackageKeyword ()
 Default ctor: empty keyword. More...
 
 PackageKeyword (sat::detail::IdType id_r)
 Ctor taking keyword as string. More...
 
 PackageKeyword (const IdString &idstr_r)
 
 PackageKeyword (const std::string &str_r)
 
 PackageKeyword (const char *cstr_r)
 
- Public Member Functions inherited from zypp::IdStringType< PackageKeyword >
IdString idStr () const
 
bool empty () const
 
unsigned size () const
 
const char * c_str () const
 
std::string asString () const
 
IdType id () const
 
 operator bool () const
 Evaluate in a boolean context ( ! empty() ). More...
 
 operator IdString () const
 Explicit conversion to IdString. More...
 
 operator std::string () const
 Explicit conversion to std::string. More...
 
int compare (const PackageKeyword &rhs) const
 
int compare (const IdStringType &rhs) const
 
int compare (const IdString &rhs) const
 
int compare (const std::string &rhs) const
 
int compare (const char *rhs) const
 

Private Attributes

IdString _str
 

Friends

class IdStringType< PackageKeyword >
 

Additional Inherited Members

- Public Types inherited from zypp::IdStringType< PackageKeyword >
typedef IdString::IdType IdType
 
- Static Public Member Functions inherited from zypp::IdStringType< PackageKeyword >
static int compare (const PackageKeyword &lhs, const PackageKeyword &rhs)
 
static int compare (const PackageKeyword &lhs, const IdString &rhs)
 
static int compare (const PackageKeyword &lhs, const std::string &rhs)
 
static int compare (const PackageKeyword &lhs, const char *rhs)
 
static int compare (const IdString &lhs, const PackageKeyword &rhs)
 
static int compare (const IdString &lhs, const IdString &rhs)
 
static int compare (const IdString &lhs, const std::string &rhs)
 
static int compare (const IdString &lhs, const char *rhs)
 
static int compare (const std::string &lhs, const PackageKeyword &rhs)
 
static int compare (const std::string &lhs, const IdString &rhs)
 
static int compare (const std::string &lhs, const std::string &rhs)
 
static int compare (const std::string &lhs, const char *rhs)
 
static int compare (const char *lhs, const PackageKeyword &rhs)
 
static int compare (const char *lhs, const IdString &rhs)
 
static int compare (const char *lhs, const std::string &rhs)
 
static int compare (const char *lhs, const char *rhs)
 
- Protected Member Functions inherited from zypp::IdStringType< PackageKeyword >
 IdStringType ()
 
 IdStringType (const IdStringType &)
 
void operator= (const IdStringType &)
 
 ~IdStringType ()
 
- Static Protected Member Functions inherited from zypp::sat::detail::PoolMember
static PoolImplmyPool ()
 

Detailed Description

Package keywords.

See also
IdStringType

Definition at line 28 of file PackageKeyword.h.

Constructor & Destructor Documentation

◆ PackageKeyword() [1/5]

zypp::PackageKeyword::PackageKeyword ( )
inline

Default ctor: empty keyword.

Definition at line 32 of file PackageKeyword.h.

◆ PackageKeyword() [2/5]

zypp::PackageKeyword::PackageKeyword ( sat::detail::IdType  id_r)
inlineexplicit

Ctor taking keyword as string.

Definition at line 35 of file PackageKeyword.h.

◆ PackageKeyword() [3/5]

zypp::PackageKeyword::PackageKeyword ( const IdString idstr_r)
inlineexplicit

Definition at line 36 of file PackageKeyword.h.

◆ PackageKeyword() [4/5]

zypp::PackageKeyword::PackageKeyword ( const std::string &  str_r)
inlineexplicit

Definition at line 37 of file PackageKeyword.h.

◆ PackageKeyword() [5/5]

zypp::PackageKeyword::PackageKeyword ( const char *  cstr_r)
inlineexplicit

Definition at line 38 of file PackageKeyword.h.

Friends And Related Function Documentation

◆ IdStringType< PackageKeyword >

friend class IdStringType< PackageKeyword >
friend

Definition at line 41 of file PackageKeyword.h.

Member Data Documentation

◆ _str

IdString zypp::PackageKeyword::_str
private

Definition at line 42 of file PackageKeyword.h.


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