relation against certain binary package
More...
#include <cupt/cache/relation.hpp>
Detailed Description
relation against certain binary package
Constructor & Destructor Documentation
| cupt::cache::Relation::Relation |
( |
const string & |
input | ) |
|
|
explicit |
constructor
Parses input and constructs Relation from it.
- Parameters
-
| input | stringified relation |
| cupt::cache::Relation::Relation |
( |
pair< string::const_iterator, string::const_iterator > |
input | ) |
|
|
explicit |
constructor
Parses input and constructs Relation from it.
- Parameters
-
| input | pair of begin iterator and end iterator of stringified relation |
Member Function Documentation
| 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
| 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: