35template<
class T,
class Addr>
44 const label len =
list.size();
55 os.beginRawWrite(len*
sizeof(
T));
58 for (label i=0; i < len; ++i)
62 reinterpret_cast<const char*
>(&(
list[i])),
78 (len <= 1 || !shortLen)
92 for (label i=0; i < len; ++i)
109 for (label i=0; i < len; ++i)
IndirectListBase()=delete
No default construct.
List< T > list() const
Return the addressed elements as a List.
Ostream & writeList(Ostream &os, const label shortLen=0) const
Write List, with line-breaks in ASCII when length exceeds shortLen.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
@ BEGIN_BLOCK
Begin block [isseparator].
@ END_BLOCK
End block [isseparator].
@ BEGIN_LIST
Begin list [isseparator].
@ END_LIST
End list [isseparator].
OBJstream os(runTime.globalPath()/outputName)
constexpr bool is_contiguous_v
The is_contiguous value of Type (after stripping of qualifiers).
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
constexpr char nl
The newline '\n' character (0x0a).
Can suppress additional line breaks separate ASCII data content when the data elements are primitives...