36 obj.id() = data_.size();
101 if (i != data_.size() - 1)
os <<
"," <<
nl;
A 1D vector of objects of type <T> that resizes itself as necessary to accept the new objects.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
virtual bool write()
Write the output fields.
Container for glTF entities.
Type & operator[](const label i)
bool empty() const noexcept
List contains no data.
label size() const noexcept
Return the list size.
const DynamicList< Type > & data() const noexcept
Return const access to the underlying list.
void write(Ostream &os, const word &keyword, bool firstEntry=false)
Write.
Information * create()
Clear all profiling and restart with new profiling.
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 & incrIndent(Ostream &os)
Increment the indent level.
Ostream & indent(Ostream &os)
Indent stream.
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for INVALID.
Ostream & decrIndent(Ostream &os)
Decrement the indent level.
constexpr char nl
The newline '\n' character (0x0a)
#define forAll(list, i)
Loop across all elements in list.