Class to provide a list-like interface to a slice through a UPtrList 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 UPtrList of fields.
Definition at line 48 of file FieldListSlice.H.
|
inline |
Construct from a list of fields and an element index.
Definition at line 64 of file FieldListSlice.H.
|
inline |
Construct from a list of fields and an element index.
Definition at line 75 of file FieldListSlice.H.
|
inline |
Return the size of the slice.
Definition at line 92 of file FieldListSlice.H.
References UPtrList< T >::size().

|
inline |
Access an element.
Definition at line 101 of file FieldListSlice.H.