46 WList(
const std::vector<std::string>& wlist,
const std::string& wlname);
49 std::size_t
size()
const;
62 void add(
const std::string& well);
69 void del(
const std::string& well);
76 bool has(
const std::string& well)
const;
81 const std::string&
getName()
const {
return this->name; }
84 const std::vector<std::string>&
wells()
const;
102 return ! (*
this == that);
110 template<
class Serializer>
113 serializer(well_list);
119 std::vector<std::string> well_list;
Class for (de-)serializing.
Definition Serializer.hpp:94
Named sequence of wells.
Definition WList.hpp:32
WList()=default
Default constructor.
void del(const std::string &well)
Remove named well from this well list.
Definition WList.cpp:54
void serializeOp(Serializer &serializer)
Convert between byte array and object representation.
Definition WList.hpp:111
bool operator==(const WList &data) const
Equality predicate.
Definition WList.cpp:64
void clear()
Remove all wells from this well list.
Definition WList.cpp:36
bool has(const std::string &well) const
Whether or not named well is on the current list.
Definition WList.cpp:41
const std::string & getName() const
Retrieve name of current well list.
Definition WList.hpp:81
void add(const std::string &well)
Add named well to this well list.
Definition WList.cpp:46
const std::vector< std::string > & wells() const
Sequence of named wells on current well list.
Definition WList.cpp:59
bool empty() const
Predicate for an empty well list.
Definition WList.hpp:52
std::size_t size() const
Number of wells in this well list.
Definition WList.cpp:31
bool operator!=(const WList &that) const
Inequality predicate.
Definition WList.hpp:100
This class implements a small container which holds the transmissibility mulitpliers for all the face...
Definition Exceptions.hpp:30