My Project
|
Container of matching entities. More...
#include <ActionResult.hpp>
Classes | |
class | Impl |
Implementation of Result::MatchingEntities. More... | |
Public Member Functions | |
MatchingEntities () | |
Default constructor. | |
MatchingEntities (const MatchingEntities &rhs) | |
Copy constructor. | |
MatchingEntities (MatchingEntities &&rhs) | |
Move constructor. | |
~MatchingEntities () | |
Destructor. | |
bool | operator== (const MatchingEntities &that) const |
Assignment operator. | |
Friends | |
class | Result |
Container of matching entities.
These are entities–typically wells or groups–for which an ACTIONX condition (or sub-condition) holds.
Opm::Action::Result::MatchingEntities::MatchingEntities | ( | ) |
Default constructor.
Forms an empty set of matching entities. Expected to be called by class Result only.
Opm::Action::Result::MatchingEntities::MatchingEntities | ( | const MatchingEntities & | rhs | ) |
Copy constructor.
[in] | rhs | Source object from which to form an independent copy. |
Opm::Action::Result::MatchingEntities::MatchingEntities | ( | MatchingEntities && | rhs | ) |
Move constructor.
[in,out] | rhs | Source object from which form a new object. Left in an empty state on return from the move constructor. |
|
default |
Destructor.
Needed for PIMPL idiom.
bool Opm::Action::Result::MatchingEntities::operator== | ( | const MatchingEntities & | that | ) | const |
Assignment operator.
[in] | rhs | Source object whose value will overwrite *this.
\return *this.
Move-assignment operator.
\param[in] rhs Source object which will be moved into \code
*this. Left in an empty state on return from the move
constructor.
\return *this.
MatchingEntities& operator=(MatchingEntities&& rhs);
Get sequence of read-only well names for which the current
Result's conditionSatisfied() member function returns true.
ValueRange<std::string> wells() const;
Whether or not named well is in the list of matching entities.
\param[in] well Well name.
\return Whether or not \p well is among the matching wells.
bool hasWell(const std::string& well) const;
Equality predicate.
\param[in] that Object against which \code *this
Class Action::Result holds the boolean result of a ACTIONX condition like. Definition ActionResult.hpp:69 Definition Source.hpp:44 |
that
.