Definition at line 300 of file Requirement.h.
§ Prioritized()
Arbiter::Requirement::Prioritized::Prioritized |
( |
std::shared_ptr< ArbiterRequirement > |
requirement, |
|
|
int |
priority |
|
) |
| |
|
explicit |
§ clone()
std::unique_ptr<Base> Arbiter::Requirement::Prioritized::clone |
( |
| ) |
const |
|
overridevirtual |
§ cloneRequirement()
§ describe()
std::ostream& Arbiter::Requirement::Prioritized::describe |
( |
std::ostream & |
os | ) |
const |
|
overridevirtual |
§ hash()
size_t Arbiter::Requirement::Prioritized::hash |
( |
| ) |
const |
|
overridevirtualnoexcept |
§ intersect()
Attempts to create a requirement which expresses the intersection of this requirement and the given one.
In other words, this attempts to find the loosest possible requirement which is a superset of the two inputs. Any version which passes the intersected requirement would also pass either one of the original inputs.
Returns nullptr
if no intersection is possible.
Implements ArbiterRequirement.
§ operator!=()
bool Arbiter::Base::operator!= |
( |
const Base & |
other | ) |
const |
|
inherited |
§ operator==()
bool Arbiter::Requirement::Prioritized::operator== |
( |
const Arbiter::Base & |
other | ) |
const |
|
overridevirtual |
§ priority()
int Arbiter::Requirement::Prioritized::priority |
( |
| ) |
const |
|
overridevirtualnoexcept |
§ satisfiedBy()
Returns whether this requirement would be satisfied by using the given selected version.
Implements ArbiterRequirement.
§ visit()
void Arbiter::Requirement::Prioritized::visit |
( |
Visitor & |
visitor | ) |
const |
|
overridevirtual |
Visits the requirement, then any child requirements.
The default implementation simply visits this requirement.
Reimplemented from ArbiterRequirement.
§ _requirement
The documentation for this class was generated from the following file: