80 os <<
indent <<
"\"buffer\" : " << buffer_ <<
"," <<
nl
81 <<
indent <<
"\"byteOffset\" : " << byteOffset_ <<
"," <<
nl
82 <<
indent <<
"\"byteLength\" : " << byteLength_;
87 <<
indent <<
"\"target\" : " << target_;
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
virtual bool write()
Write the output fields.
Base class for glTF entities.
void operator=(const base &gltf)
glTF buffer view - provides a view/slice of the glTF buffer
label & byteLength() noexcept
Return the byte length.
label & buffer() noexcept
Return the buffer index.
label buffer_
Buffer index.
label byteLength_
Byte length.
void write(Ostream &os) const
Write.
label & byteOffset() noexcept
Return the byte offset.
bufferView()
Default construct.
label & target() noexcept
Return the target.
void operator=(const bufferView &bv)
label byteOffset_
Byte offset.
A class for handling words, derived from Foam::string.
OBJstream os(runTime.globalPath()/outputName)
Ostream & operator<<(Ostream &, const boundaryPatch &p)
Write boundaryPatch as dictionary entries (without surrounding braces)
Ostream & indent(Ostream &os)
Indent stream.
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for INVALID.
constexpr char nl
The newline '\n' character (0x0a)