|
opm-common
|
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. | |
| ValueRange< std::string > | wells () const |
| Assignment operator. | |
| bool | hasWell (const std::string &well) const |
| Whether or not named well is in the list of matching entities. | |
| bool | operator== (const MatchingEntities &that) const |
| Equality predicate. | |
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::hasWell | ( | const std::string & | well | ) | const |
Whether or not named well is in the list of matching entities.
| [in] | well | Well name. |
well is among the matching wells. | bool Opm::Action::Result::MatchingEntities::operator== | ( | const MatchingEntities & | that | ) | const |
Equality predicate.
| [in] | that | Object against which will be tested for equality. |
that. | Opm::Action::Result::ValueRange< std::string > Opm::Action::Result::MatchingEntities::wells | ( | ) | const |
Assignment operator.
| [in] | that | Source object whose value will overwrite MatchingEntities& operator=(MatchingEntities&& rhs);
|