LduInterfaceFieldPtrsList< Type > Class Template Reference
Inheritance diagram for LduInterfaceFieldPtrsList< Type >:
Collaboration diagram for LduInterfaceFieldPtrsList< Type >:

Public Member Functions

 LduInterfaceFieldPtrsList (label size)
 
- Public Member Functions inherited from UPtrList< const LduInterfaceField< Type > >
 UPtrList ()
 Null Constructor. More...
 
 UPtrList (const label)
 Construct with size specified. More...
 
 UPtrList (UPtrList< const LduInterfaceField< Type > > &, bool reuse)
 Construct as copy or re-use as specified. More...
 
label size () const
 Return the number of elements in the UPtrList. More...
 
bool empty () const
 Return true if the UPtrList 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...
 
void setSize (const label)
 Reset size of UPtrList. This can only be used to set the size. More...
 
void resize (const label)
 Reset size of UPtrList. This can only be used to set the size. More...
 
void clear ()
 Clear the UPtrList, i.e. set size to zero. More...
 
void transfer (UPtrList< const LduInterfaceField< Type > > &)
 Transfer the contents of the argument UPtrList into this. More...
 
bool set (const label) const
 Is element set. More...
 
const LduInterfaceField< Type > * set (const label, const LduInterfaceField< Type > *)
 Set element. Return old element (can be nullptr). More...
 
void reorder (const labelUList &oldToNew)
 Reorders elements. Ordering does not have to be done in. More...
 
void shuffle (const labelUList &newToOld)
 Reorders elements. Ordering does not have to be done in. More...
 
const const LduInterfaceField< Type > & operator[] (const label) const
 Return element const reference. More...
 
const LduInterfaceField< Type > & operator[] (const label)
 Return element reference. More...
 
const const LduInterfaceField< Type > * operator() (const label) const
 Return element const pointer. 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...
 

Additional Inherited Members

- Public Types inherited from UPtrList< const LduInterfaceField< Type > >
typedef const LduInterfaceField< Type > value_type
 Type of values the UPtrList contains. More...
 
typedef const LduInterfaceField< Type > & reference
 Type that can be used for storing into UPtrList::value_type objects. More...
 
typedef const const LduInterfaceField< Type > & const_reference
 Type that can be used for storing into constant UPtrList::value_type. More...
 

Detailed Description

template<class Type>
class Foam::LduInterfaceFieldPtrsList< Type >

Definition at line 48 of file LduInterfaceFieldPtrsList.H.

Constructor & Destructor Documentation

◆ LduInterfaceFieldPtrsList()

LduInterfaceFieldPtrsList ( label  size)
inline

Definition at line 54 of file LduInterfaceFieldPtrsList.H.


The documentation for this class was generated from the following file: