Go to the documentation of this file.
72 const label startIndex
116 return NullObjectRef<SubList<T>>();
125 return *
reinterpret_cast<const List<T>*
>(
this);
const T * cdata() const noexcept
Return pointer to the underlying array serving as data storage.
static constexpr const zero Zero
Global zero (0)
A List obtained as a section of another List.
const T * cdata() const noexcept
Return pointer to the underlying array serving as data storage.
void checkSize(const label size) const
Check size is within valid range [0,size].
void checkRange(const label start, const label len) const
Check that start and length define a valid range.
A range or interval of labels defined by a start and a size.
void operator=(const SubList< T > &list)
Copy assign entries from given sub-list. Sizes must match!
static const SubList< T > & null()
Return a null SubList.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
A 1D vector of objects of type <T> with a fixed length <N>.
A 1D vector of objects of type <T>, where the size of the vector is known and can be used for subscri...
SubList() noexcept=default
Default construct, zero-sized and nullptr.
Base for lists with indirect addressing, templated on the list contents type and the addressing type....
void size(const label n)
Older name for setAddressableSize.
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 ...