59 offsets_(lst.offsets_, reuse),
82 offsets_(mRows + 1, 0),
106 return NullObjectRef<CompactListList<T>>();
136 this->
setSize(mRows, nData, t);
const UList< T > & m() const
Return the packed matrix of data.
void shallowCopy(const UCompactListList< T > &)
Copy the ULists, but not the underlying data.
void transfer(CompactListList< T > &)
Transfer the contents of the argument CompactListList.
static const CompactListList< T > & null()
Return a null CompactListList.
Various functions to operate on Lists.
autoPtr< CompactListList< T > > clone() const
Clone.
CompactListList()
Null constructor.
void resize(const label mRows)
Reset size of CompactListList.
A 1D vector of objects of type <T>, where the size of the vector is known and can be used for subscri...
A packed storage unstructured matrix of objects of type <T> using an offset table for access...
void setSize(const label mRows)
Reset size of CompactListList.
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
Unallocated base class of CompactListList.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
const UList< label > & offsets() const
Return the offset table (= size()+1)