base Class Reference

Base class for glTF entities. More...

Inheritance diagram for base:
[legend]
Collaboration diagram for base:
[legend]

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 wordname () 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...
 

Detailed Description

Base class for glTF entities.

Definition at line 121 of file foamGltfBase.H.

Constructor & Destructor Documentation

◆ base() [1/2]

base ( )
inline

Default construct.

Definition at line 139 of file foamGltfBase.H.

◆ base() [2/2]

base ( const word name)
inlineexplicit

Construct with name.

Definition at line 145 of file foamGltfBase.H.

◆ ~base()

~base ( )
default

Destructor.

Member Function Documentation

◆ id()

label & id ( )
inlinenoexcept

Return access to the ID.

Definition at line 159 of file foamGltfBase.H.

References base::id_.

◆ name()

const word & name ( ) const
inlinenoexcept

Return const access to the name.

Definition at line 165 of file foamGltfBase.H.

References base::name_.

◆ write()

void write ( Ostream os) const
inline

Write.

Definition at line 171 of file foamGltfBase.H.

References Foam::indent(), base::name_, Foam::nl, and os().

Here is the call graph for this function:

◆ operator=()

void operator= ( const base gltf)
inline

Definition at line 180 of file foamGltfBase.H.

References base::id_, and base::name_.

Referenced by bufferView::operator=().

Here is the caller graph for this function:

Member Data Documentation

◆ name_

word name_
protected

Name.

Definition at line 128 of file foamGltfBase.H.

Referenced by base::name(), base::operator=(), and base::write().

◆ id_

label id_
protected

ID.

Definition at line 131 of file foamGltfBase.H.

Referenced by base::id(), and base::operator=().


The documentation for this class was generated from the following file: