Public Member Functions | |
LduInterfaceFieldPtrsList (label size) | |
Public Member Functions inherited from UPtrList< const LduInterfaceField< Type > > | |
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) |
const const LduInterfaceField< Type > * | get (const label i) const |
const const LduInterfaceField< Type > * | set (const label i) const |
const LduInterfaceField< Type > * | set (const label i, const LduInterfaceField< Type > *ptr) |
void | clear () |
Set list size to zero. More... | |
void | resize (const label newLen) |
Change the size of the list. More... | |
void | setSize (const label n) |
Alias for 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 () noexcept |
Return an iterator to begin traversing the UPtrList. More... | |
const_iterator | begin () const noexcept |
Return an const_iterator to begin traversing the UPtrList. More... | |
iterator | end () noexcept |
Return an iterator to end traversing the UPtrList. More... | |
const_iterator | end () const noexcept |
Return an const_iterator to end traversing the UPtrList. More... | |
const_iterator | cbegin () const noexcept |
Return an const_iterator to begin traversing the UPtrList. More... | |
const_iterator | cend () const noexcept |
Return an const_iterator to end traversing the UPtrList. More... | |
Additional Inherited Members | |
Public Types inherited from UPtrList< const LduInterfaceField< Type > > | |
typedef const LduInterfaceField< Type > | value_type |
Type of values the list contains. More... | |
typedef const LduInterfaceField< Type > & | reference |
A non-const reference to the value_type. More... | |
Public Attributes inherited from UPtrList< const LduInterfaceField< Type > > | |
const typedef const LduInterfaceField< Type > & | const_reference |
A const reference to the value_type. More... | |
Protected Member Functions inherited from UPtrList< const LduInterfaceField< Type > > | |
void | setAddressableSize (const label n) noexcept |
Adjust addressable size. More... | |
UPtrList (Detail::PtrListDetail< const LduInterfaceField< Type > > &&ptrs) | |
Low-level move construct. More... | |
Protected Attributes inherited from UPtrList< const LduInterfaceField< Type > > | |
Detail::PtrListDetail< const LduInterfaceField< Type > > | ptrs_ |
The list of pointers. More... | |
Definition at line 50 of file LduInterfaceFieldPtrsList.H.
|
inline |
Definition at line 56 of file LduInterfaceFieldPtrsList.H.