Common Platform Enumearation (2.3) See http://cpe.mitre.org/ for more information on the Common Platform Enumearation.
More...
#include <CpeId.h>
|
| | CpeId () |
| | Default ctor: ANY-Cpeid, all attribute values are ANY.
|
| |
| | CpeId (const std::string &cpe_r) |
| | Ctor parsing from string representation (empty or URI or FS)
|
| |
| | CpeId (const char *cpe_r) |
| | Ctor parsing from string representation (empty or URI or FS)
|
| |
| | CpeId (const std::string &cpe_r, NoThrowType) |
| | Ctor parsing from string (empty or URI or FS, non throwing) Creates an empty CpeId if string is malformed.
|
| |
| | ~CpeId () |
| | Dtor.
|
| |
| | operator bool () const |
| | Evaluate in boolean context: not an ANY-CpeId.
|
| |
| std::string | asString () const |
| | Default string representation [asFS].
|
| |
| std::string | asFs () const |
| | String representation as Formated-String (in/out).
|
| |
| std::string | asUri () const |
| | String representation as URI (in/out).
|
| |
| std::string | asWfn () const |
| | String representation as Well-Formed-Name (internal format, out only).
|
| |
| SetCompare | compare (const CpeId &trg) const |
| | Compare sets.
|
| |
| SetCompare | compare (const SetRelationMixin< CpeId > &trg) const |
| |
| bool | compare (const CpeId &trg, SetCompare cmp) const |
| | Compare sets and match against SetCompare.
|
| |
| bool | compare (const SetRelationMixin< CpeId > &trg, SetCompare cmp) const |
| |
| bool | compare (const CpeId &trg, SetRelation rel) const |
| | Compare sets and match against SetRelation.
|
| |
| bool | compare (const SetRelationMixin< CpeId > &trg, SetRelation rel) const |
| |
|
(Note that these are not member functions.)
|
| std::ostream & | operator<< (std::ostream &str, const CpeId &obj) |
| |
Common Platform Enumearation (2.3) See http://cpe.mitre.org/ for more information on the Common Platform Enumearation.
Definition at line 31 of file CpeId.h.
'enum class Attribute'
Definition at line 56 of file CpeId.h.
Default ctor: ANY-Cpeid, all attribute values are ANY.
Definition at line 376 of file CpeId.cc.
| zypp::CpeId::CpeId |
( |
const std::string & |
cpe_r | ) |
|
|
explicit |
Ctor parsing from string representation (empty or URI or FS)
- Exceptions
-
| std::invalid_argument | if string is malformed |
Definition at line 380 of file CpeId.cc.
| zypp::CpeId::CpeId |
( |
const char * |
cpe_r | ) |
|
|
inlineexplicit |
Ctor parsing from string representation (empty or URI or FS)
- Exceptions
-
| std::invalid_argument | if string is malformed |
Definition at line 76 of file CpeId.h.
| zypp::CpeId::CpeId |
( |
const std::string & |
cpe_r, |
|
|
NoThrowType |
|
|
) |
| |
Ctor parsing from string (empty or URI or FS, non throwing) Creates an empty CpeId if string is malformed.
Definition at line 384 of file CpeId.cc.
| zypp::CpeId::operator bool |
( |
| ) |
const |
|
explicit |
Evaluate in boolean context: not an ANY-CpeId.
Definition at line 401 of file CpeId.cc.
| std::string zypp::CpeId::asString |
( |
| ) |
const |
|
inline |
Default string representation [asFS].
Definition at line 93 of file CpeId.h.
| std::string zypp::CpeId::asFs |
( |
| ) |
const |
String representation as Formated-String (in/out).
cpe:2.3:a:opensuse:libzypp:14.16.0:beta:*:*:*:*:*:*
Definition at line 404 of file CpeId.cc.
| std::string zypp::CpeId::asUri |
( |
| ) |
const |
String representation as URI (in/out).
cpe:/a:opensuse:libzypp:14.16.0:beta
Definition at line 407 of file CpeId.cc.
| std::string zypp::CpeId::asWfn |
( |
| ) |
const |
String representation as Well-Formed-Name (internal format, out only).
wfn:[part="a",vendor="opensuse",product="libzypp", version="14\.16\.0",update="beta"]
Definition at line 410 of file CpeId.cc.
| SetCompare zypp::CpeId::setRelationMixinCompare |
( |
const CpeId & |
trg | ) |
const |
|
private |
| std::ostream & operator<< |
( |
std::ostream & |
str, |
|
|
const CpeId & |
obj |
|
) |
| |
|
related |
Stream output
Definition at line 132 of file CpeId.h.
Indicator argument for non-trowing ctor.
Definition at line 62 of file CpeId.h.
Implementation class.
Pointer to implementation.
Definition at line 123 of file CpeId.h.
The documentation for this class was generated from the following files: