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();
Ostream & indent(Ostream &os)
Indent stream.
label bufferViewId_
Buffer view index.
void write(Ostream &os) const
Write.
constexpr char nl
The newline '\n' character (0x0a)
label & count() noexcept
Return the data size.
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for INVALID.
A class for handling words, derived from Foam::string.
label & bufferViewId() noexcept
Return the buffer view index.
virtual bool write(const token &tok)=0
Write token to stream or otherwise handle it.
label & componentType() noexcept
Return the component type.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
OBJstream os(runTime.globalPath()/outputName)
Ostream & operator<<(Ostream &, const boundaryPatch &p)
Write boundaryPatch as dictionary entries (without surrounding braces)
string & type() noexcept
Return the type.
Base class for glTF entities.
accessor()
Default construct.
void write(Ostream &os) const
Write.
A class for handling character strings derived from std::string.
label & byteOffset() noexcept
Return the byte offset.