18 #ifndef CUPT_CACHE_RELATION_SEEN
19 #define CUPT_CACHE_RELATION_SEEN
32 CUPT_LOCAL
const char* p_parseVersionPart(
const char*,
const char*);
33 CUPT_LOCAL
const char* p_parseRelationSymbols(
const char*,
const char*);
34 CUPT_LOCAL
const char* p_parsePackagePart(
const char*,
const char*);
35 CUPT_LOCAL
const char* __init(
const char*,
const char*);
37 Relation(pair<const char*, const char*> input,
char const* * end);
43 enum Type { Less, Equal, More, LessOrEqual, MoreOrEqual, LiteralyEqual, None };
45 static const string strings[];
57 explicit Relation(pair< const char*, const char* > input);
65 string toString()
const;
74 bool isSatisfiedBy(
const string& otherVersionString)
const;
80 bool operator==(
const Relation& other)
const;
87 CUPT_LOCAL
const char* p_parseArchitectures(
const char*,
const char*);
88 CUPT_LOCAL
const char* p_parseProfiles(
const char*,
const char*);
89 CUPT_LOCAL
void __init(
const char*,
const char*,
const char*);
91 vector<string> architectureFilters;
92 vector<vector<string>> buildProfiles;
105 string toString()
const;
112 CUPT_LOCAL
void __init(
const char*,
const char*);
115 string toString()
const;
117 string getHashString()
const;
146 CUPT_LOCAL
void __init(
const char*,
const char*);
149 string toString()
const;
178 CUPT_LOCAL
void __init(
const char*,
const char*);
181 string toString()
const;
197 explicit RelationLine(pair< const char*, const char* > input);
210 CUPT_LOCAL
void __init(
const char*,
const char*);
213 string toString()
const;
244 RelationLine toRelationLine(
const string& currentArchitecture)
const;