Class to provide a list-like interface to a slice through a PtrList of fields. More...
Public Member Functions | |
FieldListSlice (const UPtrList< const Field< Type >> &fields, const label elementi) | |
Construct from a list of fields and an element index. More... | |
FieldListSlice (const UPtrList< Field< Type >> &fields, const label elementi) | |
Construct from a list of fields and an element index. More... | |
label | size () const |
Return the size of the slice. More... | |
const Type & | operator[] (const label fieldi) const |
Access an element. More... | |
Class to provide a list-like interface to a slice through a PtrList of fields.
Definition at line 49 of file FieldListSlice.H.
|
inline |
Construct from a list of fields and an element index.
Definition at line 65 of file FieldListSlice.H.
|
inline |
Construct from a list of fields and an element index.
Definition at line 76 of file FieldListSlice.H.
|
inline |
Return the size of the slice.
Definition at line 93 of file FieldListSlice.H.
References UPtrList< T >::size().
|
inline |
Access an element.
Definition at line 102 of file FieldListSlice.H.