Container for glTF entities. More...
#include <foamGltfList.H>

Public Member Functions | |
| List ()=default | |
| Default construct. | |
| ~List ()=default | |
| Destructor. | |
| Type & | create (const word &name) |
| Helper to create a new Type on the list and set the ID. | |
| const DynamicList< Type > & | data () const noexcept |
| Return const access to the underlying list. | |
| bool | empty () const noexcept |
| List contains no data. | |
| label | size () const noexcept |
| Return the list size. | |
| void | write (Ostream &os, const word &keyword, bool firstEntry=false) |
| Write. | |
| void | write (Ostream &os) const |
| Write. | |
| Type & | operator[] (const label i) |
Container for glTF entities.
Definition at line 61 of file foamGltfList.H.
|
default |
Default construct.
|
default |
Destructor.
References empty(), Foam::name(), Foam::noexcept, os(), size(), and write().

| Type & create | ( | const word & | name | ) |
Helper to create a new Type on the list and set the ID.
Definition at line 26 of file foamGltfList.C.
References Foam::name().

|
noexcept |
Return const access to the underlying list.
Definition at line 37 of file foamGltfList.C.
References Foam::noexcept.
|
noexcept |
List contains no data.
Definition at line 44 of file foamGltfList.C.
References Foam::noexcept.
Referenced by write(), and ~List().

|
noexcept |
Return the list size.
Definition at line 51 of file foamGltfList.C.
References Foam::noexcept.
Referenced by ~List().

Write.
Definition at line 58 of file foamGltfList.C.
References Foam::decrIndent(), empty(), Foam::incrIndent(), Foam::indent(), Foam::nl, os(), and write().
Referenced by List< Foam::glTF::object >::size(), and ~List().


| void write | ( | Ostream & | os | ) | const |
Write.
Definition at line 84 of file foamGltfList.C.
References Foam::decrIndent(), forAll, Foam::incrIndent(), Foam::indent(), Foam::nl, and os().

| Type & operator[] | ( | const label | i | ) |
Definition at line 100 of file foamGltfList.C.