42 #ifndef Foam_SubList_H 43 #define Foam_SubList_H 80 return NullObjectRef<SubList<T>>();
179 inline operator const
Foam::
List<
T>&() const;
182 inline
void operator=(const
SubList<
T>& list);
185 inline
void operator=(const
UList<
T>& list);
192 inline
void operator=(const
T& val);
195 inline
void operator=(const
Foam::
zero);
205 #include "SubListI.H" 217 return SubList<Type>(*
this, len,
pos);
229 return SubList<Type>(*
this, len,
pos);
237 return SubList<Type>(*
this,
range);
245 return SubList<Type>(*
this,
range);
SubList< label > labelSubList
A SubList of labels.
A 1D vector of objects of type <T> with a fixed length <N>.
SubList< char > charSubList
A SubList of chars.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
A range or interval of labels defined by a start and a size.
SubList() noexcept=default
Default construct, zero-sized and nullptr.
UList< T > & reset(std::nullptr_t) noexcept
Reset to zero-sized and nullptr.
Base for lists with indirect addressing, templated on the list contents type and the addressing type...
dimensionedScalar pos(const dimensionedScalar &ds)
A List obtained as a section of another List.
SubList< T > slice(const label pos, label len=-1)
Return SubList slice (non-const access) - no range checking.
static const SubList< T > & null() noexcept
Return a null SubList (reference to a nullObject). Behaves like an empty SubList. ...
A 1D vector of objects of type <T>, where the size of the vector is known and can be used for subscri...
label size() const noexcept
The number of elements in the container.
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
const Vector< label > N(dict.get< Vector< label >>("N"))
A class representing the concept of 0 (zero) that can be used to avoid manipulating objects known to ...
SubList< bool > boolSubList
A SubList of bools.