76 return componentType_;
94 os <<
indent <<
"\"bufferView\" : " << bufferViewId_ <<
',' <<
nl
95 <<
indent <<
"\"byteOffset\" : " << byteOffset_ <<
',' <<
nl
96 <<
indent <<
"\"componentType\" : " << componentType_ <<
',' <<
nl
97 <<
indent <<
"\"count\" : " << count_ <<
',' <<
nl
98 <<
indent <<
"\"type\" : " << type_;
103 <<
indent <<
"\"max\" : " << max_.c_str() <<
',' <<
nl
104 <<
indent <<
"\"min\" : " << min_.c_str();
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
virtual bool write()
Write the output fields.
label & componentType() noexcept
Return the component type.
label & count() noexcept
Return the data size.
accessor()
Default construct.
string & type() noexcept
Return the type.
void write(Ostream &os) const
Write.
label & byteOffset() noexcept
Return the byte offset.
label & bufferViewId() noexcept
Return the buffer view index.
Base class for glTF entities.
A class for handling character strings derived from std::string.
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)