Base class for glTF entities. More...
Public Member Functions | |
base () | |
Default construct. More... | |
base (const word &name) | |
Construct with name. More... | |
~base ()=default | |
Destructor. More... | |
label & | id () noexcept |
Return access to the ID. More... | |
const word & | name () const noexcept |
Return const access to the name. More... | |
void | write (Ostream &os) const |
Write. More... | |
void | operator= (const base &gltf) |
Protected Attributes | |
word | name_ |
Name. More... | |
label | id_ |
ID. More... | |
|
inline |
Default construct.
Definition at line 139 of file foamGltfBase.H.
Construct with name.
Definition at line 145 of file foamGltfBase.H.
|
default |
Destructor.
|
inlinenoexcept |
|
inlinenoexcept |
Return const access to the name.
Definition at line 165 of file foamGltfBase.H.
References base::name_.
|
inline |
Write.
Definition at line 171 of file foamGltfBase.H.
References Foam::indent(), base::name_, Foam::nl, and os().
|
inline |
Definition at line 180 of file foamGltfBase.H.
References base::id_, and base::name_.
Referenced by bufferView::operator=().
|
protected |
Name.
Definition at line 128 of file foamGltfBase.H.
Referenced by base::name(), base::operator=(), and base::write().
|
protected |