|
| LduInterfaceFieldPtrsList (label size) |
|
constexpr | UPtrList () noexcept |
| Default construct. More...
|
|
| UPtrList (const label len) |
| Construct with specified size, each element initialized to nullptr. More...
|
|
| UPtrList (const UPtrList< const LduInterfaceField< Type > > &list) |
| Copy construct (shallow copies addresses) More...
|
|
| UPtrList (UPtrList< const LduInterfaceField< Type > > &&list) |
| Move construct. More...
|
|
| UPtrList (UPtrList< const LduInterfaceField< Type > > &list, bool reuse) |
| Construct as shallow copy or re-use as specified. More...
|
|
| UPtrList (PtrList< const LduInterfaceField< Type > > &list) |
| Shallow copy from PtrList. More...
|
|
| UPtrList (const UList< const LduInterfaceField< Type > * > &list) |
| Construct from UList of pointers. More...
|
|
| UPtrList (UList< const LduInterfaceField< Type > > &list) |
| Construct from UList, taking the address of each list element. More...
|
|
label | size () const noexcept |
| The number of elements in the list. More...
|
|
bool | empty () const noexcept |
| True if the list is empty (ie, size() is zero) More...
|
|
const LduInterfaceField< Type > & | first () |
| Return reference to the first element of the list. More...
|
|
const const LduInterfaceField< Type > & | first () const |
| Return reference to first element of the list. More...
|
|
const LduInterfaceField< Type > & | last () |
| Return reference to the last element of the list. More...
|
|
const const LduInterfaceField< Type > & | last () const |
| Return reference to the last element of the list. More...
|
|
const LduInterfaceField< Type > * | get (const label i) |
| Return pointer to element (can be nullptr),. More...
|
|
const const LduInterfaceField< Type > * | get (const label i) const |
| Return const pointer to element (can be nullptr),. More...
|
|
const const LduInterfaceField< Type > * | set (const label i) const |
| Return const pointer to element (can be nullptr),. More...
|
|
const LduInterfaceField< Type > * | set (const label i, const LduInterfaceField< Type > *ptr) |
|
void | clear () |
| Set list size to zero. More...
|
|
void | resize (const label newLen) |
| Reset size of list. More...
|
|
void | setSize (const label newLen) |
| Same as resize() More...
|
|
label | squeezeNull () |
| Squeeze out intermediate nullptr entries in the list of pointers. More...
|
|
void | append (const LduInterfaceField< Type > *ptr) |
| Append an element to the end of the list. More...
|
|
void | swap (UPtrList< const LduInterfaceField< Type > > &list) |
| Swap content. More...
|
|
void | transfer (UPtrList< const LduInterfaceField< Type > > &list) |
| Transfer contents into this list and annul the argument. More...
|
|
void | reorder (const labelUList &oldToNew, const bool testNull=true) |
|
void | sortOrder (const labelUList &order, const bool testNull=true) |
|
const const LduInterfaceField< Type > & | operator[] (const label i) const |
| Return const reference to the element. More...
|
|
const LduInterfaceField< Type > & | operator[] (const label i) |
| Return reference to the element. More...
|
|
const const LduInterfaceField< Type > * | operator() (const label i) const |
| Return const pointer to the element - same as get(). More...
|
|
void | operator= (const UPtrList< const LduInterfaceField< Type > > &list) |
| Copy assignment (shallow copies addresses) More...
|
|
void | operator= (UPtrList< const LduInterfaceField< Type > > &&list) |
| Move assignment. More...
|
|
iterator | begin () |
| Return an iterator to begin traversing the UPtrList. More...
|
|
const_iterator | begin () const |
| Return an const_iterator to begin traversing the UPtrList. More...
|
|
iterator | end () |
| Return an iterator to end traversing the UPtrList. More...
|
|
const_iterator | end () const |
| Return an const_iterator to end traversing the UPtrList. More...
|
|
const_iterator | cbegin () const |
| Return an const_iterator to begin traversing the UPtrList. More...
|
|
const_iterator | cend () const |
| Return an const_iterator to end traversing the UPtrList. More...
|
|
template<class Type>
class Foam::LduInterfaceFieldPtrsList< Type >
Definition at line 50 of file LduInterfaceFieldPtrsList.H.