My Project
|
Implementation of Action::Result. More...
Public Member Functions | |
Impl (const bool result) | |
Constructor. | |
MatchingEntities & | matches () |
Get read/write access to set of matching entities. | |
const MatchingEntities & | matches () const |
Get read only access to set of matching entities. | |
bool | result () const |
Get condition value. | |
void | makeSetUnion (const Impl &rhs) |
Incorporate another result set into the current set as if by set union. | |
void | makeSetIntersection (const Impl &rhs) |
Incorporate another result set into the current set as if by set intersection. | |
bool | operator== (const Impl &that) const |
Equality predicate. | |
Implementation of Action::Result.
|
inlineexplicit |
Constructor.
Creates a result set with a known condition value.
[in] | result_arg | Condition value. |
void Opm::Action::Result::Impl::makeSetIntersection | ( | const Impl & | rhs | ) |
Incorporate another result set into the current set as if by set intersection.
Final result set condition value is logical AND of the current condition value and that of the other result set. Set of matching entities is the intersection of the current set and that of the other result set, albeit with special case handling of empty sets of matching entities.
Any existing set of matching entities will be cleared if the aggregate condition value is false.
[in] | rhs | Other result set. |
void Opm::Action::Result::Impl::makeSetUnion | ( | const Impl & | rhs | ) |
Incorporate another result set into the current set as if by set union.
Final result set condition value is logical OR of the current condition value and that of the other result set. Set of matching entities is union of the current set and that of the other result set.
Any existing set of matching entities will be cleared if the aggregate condition value is false.
[in] | rhs | Other result set. |
bool Opm::Action::Result::Impl::operator== | ( | const Impl & | that | ) | const |
Equality predicate.
[in] | that | Object against which *this
|
that
.