Public Member Functions | |
mixture (Istream &is) | |
Construct from Istream. More... | |
const word & | name () const |
Public Member Functions inherited from List< substance > | |
constexpr | List () noexcept |
Default construct. More... | |
List (const label len) | |
Construct with given size. More... | |
List (const label len, const substance &val) | |
Construct with given size and value for all elements. More... | |
List (const label len, const Foam::zero) | |
Construct with given size initializing all elements to zero. More... | |
List (const Foam::one, const substance &val) | |
Construct with length=1, copying the value as the only content. More... | |
List (const Foam::one, substance &&val) | |
Construct with length=1, moving the value as the only content. More... | |
List (const Foam::one, const Foam::zero) | |
Construct with length=1, initializing content to zero. More... | |
List (const List< substance > &a) | |
Copy construct from list. More... | |
List (const UList< substance > &a) | |
Copy construct contents from list. More... | |
List (List< substance > &a, bool reuse) | |
Construct as copy or re-use as specified. More... | |
List (const UList< substance > &list, const labelUList &indices) | |
Copy construct subset of list. More... | |
List (const UList< substance > &list, const FixedList< label, N > &indices) | |
Copy construct subset of list. More... | |
List (const FixedList< substance, N > &list) | |
Construct as copy of FixedList<T, N> More... | |
List (const PtrList< substance > &list) | |
Construct as copy of PtrList<T> More... | |
List (const SLList< substance > &list) | |
Construct as copy of SLList<T> More... | |
List (const IndirectListBase< substance, Addr > &list) | |
Construct as copy of IndirectList contents. More... | |
List (std::initializer_list< substance > list) | |
Construct from an initializer list. More... | |
List (List< substance > &&list) | |
Move construct from List. More... | |
List (DynamicList< substance, SizeMin > &&list) | |
Move construct from DynamicList. More... | |
List (SortableList< substance > &&list) | |
Move construct from SortableList. More... | |
List (SLList< substance > &&list) | |
Move construct from SLList. More... | |
List (Istream &is) | |
Construct from Istream. More... | |
autoPtr< List< substance > > | clone () const |
Clone. More... | |
~List () | |
Destructor. More... | |
void | clear () |
Clear the list, i.e. set size to zero. More... | |
void | resize (const label len) |
Adjust allocated size of list. More... | |
void | resize (const label len, const substance &val) |
Adjust allocated size of list and set val for new elements. More... | |
void | resize (const label newLen) |
void | resize_nocopy (const label len) |
Adjust allocated size of list without necessarily. More... | |
void | setSize (const label n) |
Alias for resize() More... | |
void | setSize (const label n, const substance &val) |
Alias for resize() More... | |
void | append (const substance &val) |
Append an element at the end of the list. More... | |
void | append (substance &&val) |
Move append an element at the end of the list. More... | |
void | append (const UList< substance > &list) |
Append a List to the end of this list. More... | |
void | append (const IndirectListBase< substance, Addr > &list) |
Append IndirectList contents at the end of this list. More... | |
label | appendUniq (const substance &val) |
Append an element if not already in the list. More... | |
void | transfer (List< substance > &list) |
void | transfer (DynamicList< substance, SizeMin > &list) |
void | transfer (SortableList< substance > &list) |
substance & | newElmt (const label i) |
void | operator= (const UList< substance > &a) |
Assignment to UList operator. Takes linear time. More... | |
void | operator= (const List< substance > &list) |
Assignment operator. Takes linear time. More... | |
void | operator= (const SLList< substance > &list) |
Assignment to SLList operator. Takes linear time. More... | |
void | operator= (const IndirectListBase< substance, Addr > &list) |
Assignment from IndirectList. Takes linear time. More... | |
void | operator= (const FixedList< substance, N > &list) |
Copy assignment from FixedList. More... | |
void | operator= (std::initializer_list< substance > list) |
Assignment to an initializer list. More... | |
void | operator= (const substance &val) |
Assignment of all entries to the given value. More... | |
void | operator= (const Foam::zero) |
Assignment of all entries to zero. More... | |
void | operator= (List< substance > &&list) |
Move assignment. Takes constant time. More... | |
void | operator= (DynamicList< substance, SizeMin > &&list) |
Move assignment. Takes constant time. More... | |
void | operator= (SortableList< substance > &&list) |
Move assignment. Takes constant time. More... | |
void | operator= (SLList< substance > &&list) |
Move assignment. Takes constant time. More... | |
Istream & | readList (Istream &is) |
Read List from Istream, discarding contents of existing List. More... | |
Istream & | readList (Istream &is) |
Istream & | readList (Istream &is) |
void | shallowCopy (const UList< substance > &)=delete |
No shallowCopy permitted. More... | |
std::enable_if< std::is_same< bool, TypeT >::value, bool >::type | set (const label i, bool val=true) |
A bitSet::set() method for a list of bool. More... | |
Additional Inherited Members | |
Public Types inherited from List< substance > | |
typedef SubList< substance > | subList |
Declare type of subList. More... | |
Static Public Member Functions inherited from List< substance > | |
static const List< substance > & | null () |
Return a null List. More... | |
Construct from Istream.
Definition at line 68 of file mixture.H.
References Foam::abort(), Foam::endl(), Foam::FatalError, and FatalErrorInFunction.