Go to the documentation of this file.
40 #ifndef foam_gltf_list_H
41 #define foam_gltf_list_H
52 template<
class Type>
class List;
95 bool empty() const noexcept;
98 label
size() const noexcept;
106 Type& operator[](const label i);
label size() const noexcept
Return the list size.
~List()=default
Destructor.
A class for handling words, derived from Foam::string.
List()=default
Default construct.
Ostream & operator<<(Ostream &, const boundaryPatch &p)
Write boundaryPatch as dictionary entries (without surrounding braces)
Type & create(const word &name)
Helper to create a new Type on the list and set the ID.
void write(Ostream &os, const word &keyword, bool firstEntry=false)
Write.
OBJstream os(runTime.globalPath()/outputName)
const DynamicList< Type > & data() const noexcept
Return const access to the underlying list.
Container for glTF entities.
bool empty() const noexcept
List contains no data.
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for INVALID.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...