130 format.beginDataArray<label>(
"region");
131 format.writeSize(payLoad);
158 format.beginDataArray<label>(
"region");
160 format.writeSize(payLoad);
@ ASCII
"ascii" (normal default)
static streamFormat formatEnum(const word &fmtName, const streamFormat deflt=streamFormat::ASCII)
Lookup streamFormat enum corresponding to the string (ascii | binary).
static unsigned int defaultPrecision() noexcept
Return the default precision.
A 1D vector of objects of type <T>, where the size of the vector is known and can be used for subscri...
void size(const label n)
Older name for setAddressableSize.
static std::string dateTime()
The current wall-clock date/time (in local time) as a string in ISO-8601 format (yyyy-mm-ddThh:mm:ss)...
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
A surface zone on a MeshedSurface.
Encapsulated combinations of output format options. This is primarily useful when defining the output...
bool legacy() const noexcept
True if writer uses legacy file format.
bool append() const noexcept
True if output format uses an append mode.
bool ascii() const noexcept
True if output format is ASCII.
unsigned precision() const noexcept
Return the ASCII write precision.
uint64_t sizeofData(label count)
Commonly used calculation for header and payload sizes.
@ NUMBER_OF_POLYS
"NumberOfPolys"
@ NUMBER_OF_POINTS
"NumberOfPoints"
void write(vtk::formatter &fmt, const Type &val, const label n=1)
Component-wise write of a value (N times).
void writeList(vtk::formatter &fmt, const UList< uint8_t > &values)
Write a list of uint8_t values.
UList< label > labelUList
A UList of labels.
word format(conversionProperties.get< word >("format"))