48 offsets_.readList(is);
62 offsets_.writeList(
os, shortLen);
63 values_.writeList(
os, shortLen);
82 const label nRows = mat.
length();
86 for (label i = 0; i < nRows; ++i)
Ostream & writeList(Ostream &os, const label shortLen=0) const
Write CompactListList as offsets/values pair.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
constexpr char nl
The newline '\n' character (0x0a)
Begin list [isseparator].
CompactListList() noexcept=default
Default construct.
const SubList< T > localList(const label i) const
Return const access to sub-list (no subscript checking)
A packed storage of objects of type <T> using an offset table for access.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
OBJstream os(runTime.globalPath()/outputName)
Ostream & writeMatrix(Ostream &os, const label shortLen=0) const
Write CompactListList as a formatted matrix of values (ASCII)
Istream & readList(Istream &is)
Read CompactListList as offsets/values pair from Istream, discards current list contents.
label length() const noexcept
The primary size (the number of rows/sublists)
streamFormat format() const noexcept
Get the current stream format.