relation against certain binary package
More...
#include <cupt/cache/relation.hpp>
|
string | packageName |
|
string | architecture |
|
Types::Type | relationType |
|
string | versionString |
|
|
| Relation (pair< const char *, const char * > input, char const **end) |
|
relation against certain binary package
◆ Relation()
cupt::cache::Relation::Relation |
( |
pair< const char *, const char * > |
input | ) |
|
|
explicit |
constructor
Parses input and constructs Relation from it.
- Parameters
-
input | pair of begin iterator and end iterator of stringified relation |
◆ isSatisfiedBy()
bool cupt::cache::Relation::isSatisfiedBy |
( |
const string & |
otherVersionString | ) |
const |
is relation satisfied by otherVersionString
This method checks relationType and versionString against otherVersionString.
- Parameters
-
otherVersionString | version string to compare |
- Returns
true
if satisfied, false
if not
◆ operator==()
bool cupt::cache::Relation::operator== |
( |
const Relation & |
other | ) |
const |
operator ==
- Parameters
-
other | relation to compare with |
- Returns
true
if this relation is equal to other, false
otherwise
The documentation for this struct was generated from the following file: