40#ifndef foam_gltf_list_H
41#define foam_gltf_list_H
52 template<
class Type>
class List;
106 Type& operator[](const label i);
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,...
Container for glTF entities.
bool empty() const noexcept
List contains no data.
~List()=default
Destructor.
label size() const noexcept
Return the list size.
const DynamicList< Type > & data() const noexcept
Return const access to the underlying list.
List()=default
Default construct.
Type & create(const word &name)
Helper to create a new Type on the list and set the ID.
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)
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for INVALID.