Public Member Functions | List of all members
List Class Reference

Container for glTF entities. More...

Inheritance diagram for List:
Inheritance graph
[legend]

Public Member Functions

 List ()=default
 
 ~List ()=default
 
Type & create (const word &name)
 
const DynamicList< Type > & data () const noexcept
 
bool empty () const noexcept
 
label size () const noexcept
 
void write (Ostream &os, const word &keyword, bool firstEntry=false)
 
void write (Ostream &os) const
 
Type & operator[] (const label i)
 

Detailed Description

Container for glTF entities.

Note
Implements the glTF v2 specification
Source files

Definition at line 47 of file foamGltfList.H.

Constructor & Destructor Documentation

◆ List()

List ( )
default

◆ ~List()

~List ( )
default

Member Function Documentation

◆ create()

Type & create ( const word name)

Definition at line 26 of file foamGltfList.C.

◆ data()

const Foam::DynamicList< Type > & data ( ) const
noexcept

Definition at line 37 of file foamGltfList.C.

◆ empty()

bool empty ( ) const
noexcept

Definition at line 44 of file foamGltfList.C.

◆ size()

Foam::label size ( ) const
noexcept

Definition at line 51 of file foamGltfList.C.

◆ write() [1/2]

void write ( Ostream os,
const word keyword,
bool  firstEntry = false 
)

◆ write() [2/2]

void write ( Ostream os) const

Definition at line 84 of file foamGltfList.C.

◆ operator[]()

Type & operator[] ( const label  i)

Definition at line 100 of file foamGltfList.C.


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