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 140 of file foamGltfBase.H.
Construct with name.
Definition at line 148 of file foamGltfBase.H.
|
default |
Destructor.
|
inlinenoexcept |
|
inlinenoexcept |
Return const access to the name.
Definition at line 174 of file foamGltfBase.H.
References base::name_.
|
inline |
Write.
Definition at line 182 of file foamGltfBase.H.
References Foam::indent(), base::name_, Foam::nl, and os().
Referenced by mesh::write(), bufferView::write(), and accessor::write().
|
inline |
Definition at line 191 of file foamGltfBase.H.
References base::id_, and base::name_.
Referenced by bufferView::operator=().
|
protected |
Name.
Definition at line 125 of file foamGltfBase.H.
Referenced by base::name(), base::operator=(), and base::write().
|
protected |
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.