Result class. More...
Public Member Functions | |
result (const FixedList< point, N > &x) | |
Construct from a single element. More... | |
result | operator+ (const result &x) const |
Add together two lists. More... | |
Public Member Functions inherited from DynamicList< FixedList< point, N > > | |
constexpr | DynamicList () noexcept |
Default construct, an empty list without allocation. More... | |
DynamicList (const label nElem) | |
Construct an empty list with given reserve size. More... | |
DynamicList (const label nElem, const FixedList< point, N > &val) | |
Construct with given size and value for all elements. More... | |
DynamicList (const label nElem, const Foam::zero) | |
Construct with given size initializing all elements to zero. More... | |
DynamicList (const DynamicList< FixedList< point, N >, 16 > &lst) | |
Copy construct. More... | |
DynamicList (const DynamicList< FixedList< point, N >, AnySizeMin > &lst) | |
Copy construct from DynamicList with different sizing parameters. More... | |
DynamicList (const UList< FixedList< point, N > > &lst) | |
Construct from UList. Size set to UList size. More... | |
DynamicList (const FixedList< FixedList< point, N >, N > &lst) | |
Construct from a FixedList. More... | |
DynamicList (InputIterator begIter, InputIterator endIter) | |
Construct given begin/end iterators. More... | |
DynamicList (std::initializer_list< FixedList< point, N > > lst) | |
Construct from an initializer list. Size set to list size. More... | |
DynamicList (const IndirectListBase< FixedList< point, N >, Addr > &lst) | |
Construct from IndirectList. Size set to addressing size. More... | |
DynamicList (DynamicList< FixedList< point, N >, 16 > &&lst) | |
Move construct. More... | |
DynamicList (DynamicList< FixedList< point, N >, AnySizeMin > &&lst) | |
Move construct with different sizing parameters. More... | |
DynamicList (List< FixedList< point, N > > &&lst) | |
Move construct from List. More... | |
DynamicList (SortableList< FixedList< point, N > > &&lst) | |
Move construct from SortableList. More... | |
DynamicList (Istream &is) | |
Construct from Istream. Size set to size of list read. More... | |
label | capacity () const noexcept |
Size of the underlying storage. More... | |
void | setCapacity (const label nElem) |
Alter the size of the underlying storage. More... | |
void | setSize (const label nElem) |
Alter addressable list size. More... | |
void | setSize (const label nElem, const FixedList< point, N > &val) |
Alter addressable list size and fill new space with constant. More... | |
void | resize (const label nElem) |
Alter addressable list size. More... | |
void | resize (const label nElem, const FixedList< point, N > &val) |
Alter addressable list size and fill new space with constant. More... | |
void | reserve (const label nElem) |
Reserve allocation space for at least this size. More... | |
void | clear () |
Clear the addressed list, i.e. set the size to zero. More... | |
void | clearStorage () |
Clear the list and delete storage. More... | |
label | expandStorage () |
Expand the addressable size to fit the allocated capacity. More... | |
DynamicList< FixedList< point, N >, 16 > & | shrink () |
Shrink the allocated space to the number of elements used. More... | |
void | swap (DynamicList< FixedList< point, N >, AnySizeMin > &lst) |
Swap content with any sized DynamicList. More... | |
void | transfer (List< FixedList< point, N > > &lst) |
Transfer contents of the argument List into this. More... | |
void | transfer (DynamicList< FixedList< point, N >, AnySizeMin > &lst) |
Transfer contents of any sized DynamicList into this. More... | |
void | transfer (SortableList< FixedList< point, N > > &lst) |
Transfer contents of the argument SortableList into this. More... | |
DynamicList< FixedList< point, N >, 16 > & | append (const FixedList< point, N > &val) |
Append an element to the end of this list. More... | |
DynamicList< FixedList< point, N >, 16 > & | append (FixedList< point, N > &&val) |
Move append an element. More... | |
DynamicList< FixedList< point, N >, 16 > & | append (const UList< FixedList< point, N > > &lst) |
Append another list to the end of this list. More... | |
DynamicList< FixedList< point, N >, 16 > & | append (const FixedList< FixedList< point, N >, N > &lst) |
Append a FixedList to the end of this list. More... | |
DynamicList< FixedList< point, N >, 16 > & | append (std::initializer_list< FixedList< point, N > > lst) |
Append an initializer list at the end of this list. More... | |
DynamicList< FixedList< point, N >, 16 > & | append (const IndirectListBase< FixedList< point, N >, Addr > &lst) |
Append a IndirectList at the end of this list. More... | |
DynamicList< FixedList< point, N >, 16 > & | append (List< FixedList< point, N > > &&lst) |
Move append list. More... | |
DynamicList< FixedList< point, N >, 16 > & | append (DynamicList< FixedList< point, N >, 16 > &&lst) |
Move append list. More... | |
DynamicList< FixedList< point, N >, 16 > & | append (DynamicList< FixedList< point, N >, AnySizeMin > &&lst) |
Move append list. More... | |
DynamicList< FixedList< point, N >, 16 > & | append (SortableList< FixedList< point, N > > &&lst) |
Move append list. More... | |
Foam::DynamicList< FixedList< point, N >, 16 > & | append (const FixedList< FixedList< point, N >, N > &lst) |
Foam::DynamicList< FixedList< point, N >, 16 > & | append (const IndirectListBase< FixedList< point, N >, Addr > &lst) |
Foam::DynamicList< FixedList< point, N >, 16 > & | append (DynamicList< FixedList< point, N >, AnySizeMin > &&lst) |
FixedList< point, N > | remove () |
Remove and return the last element. Fatal on an empty list. More... | |
FixedList< point, N > | remove (const label idx, const bool fast=false) |
Remove and return the specified element. Fatal on an empty list. More... | |
label | remove (const labelRange &range) |
Remove a (start,size) subset from the list. More... | |
label | remove (std::initializer_list< label > start_size) |
Remove a (start,size) subset from the list. More... | |
label | subset (const labelRange &range) |
Retain a (start,size) subset from the list. More... | |
label | subset (std::initializer_list< label > start_size) |
Retain a (start,size) subset from List. More... | |
FixedList< point, N > & | operator() (const label i) |
void | operator= (const FixedList< point, N > &val) |
Assignment of all addressed entries to the given value. More... | |
void | operator= (const Foam::zero) |
Assignment of all entries to zero. More... | |
void | operator= (const UList< FixedList< point, N > > &lst) |
Assignment to UList. More... | |
void | operator= (const FixedList< FixedList< point, N >, N > &lst) |
Assignment to FixedList. More... | |
void | operator= (const DynamicList< FixedList< point, N >, 16 > &lst) |
Assignment to DynamicList. More... | |
void | operator= (const DynamicList< FixedList< point, N >, AnySizeMin > &lst) |
Assignment from DynamicList with different sizing parameters. More... | |
void | operator= (std::initializer_list< FixedList< point, N > > lst) |
Assignment from initializer list. More... | |
void | operator= (const IndirectListBase< FixedList< point, N >, Addr > &lst) |
Assignment from IndirectList. More... | |
void | operator= (List< FixedList< point, N > > &&lst) |
Move assignment. More... | |
void | operator= (DynamicList< FixedList< point, N >, 16 > &&lst) |
Move assignment. More... | |
void | operator= (DynamicList< FixedList< point, N >, AnySizeMin > &&lst) |
Move assignment. More... | |
void | operator= (SortableList< FixedList< point, N > > &&lst) |
Move assignment. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from DynamicList< FixedList< point, N > > | |
static constexpr label | min_size () noexcept |
Normal lower capacity limit - the SizeMin template parameter. More... | |
Protected Member Functions inherited from DynamicList< FixedList< point, N > > | |
void | assignDynList (const ListType &lst) |
Copy assignment from another list. More... | |
Result class.
Add together two lists.
Definition at line 342 of file cut.H.
References DynamicList< T, SizeMin >::append(), and x.