HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
GLTF_CodecRegistry.h File Reference
#include "GLTFZ_API.h"
#include <UT/UT_Array.h>
#include <UT/UT_StringHolder.h>
#include <UT/UT_UniquePtr.h>
+ Include dependency graph for GLTF_CodecRegistry.h:

Go to the source code of this file.

Classes

class  GLTF_CodecRegistry
 
class  GLTF_CodecRegistry::EntryBase
 
class  GLTF_CodecRegistry::Entry< T >
 

Macros

#define GLTF_REGISTER_CODEC(cls, name)
 

Functions

GLTFZ_API GLTF_CodecRegistryGLTFgetCodecRegistry ()
 

Macro Definition Documentation

#define GLTF_REGISTER_CODEC (   cls,
  name 
)
Value:
struct cls##_CodecEntryInstantiator \
{ \
cls##_CodecEntryInstantiator() \
{ \
UT_UniquePtr<GLTF_CodecRegistry::EntryBase> cls##_CodecEntry( \
GLTFgetCodecRegistry()->registerEntry(std::move(cls##_CodecEntry)); \
} \
}; \
static cls##_CodecEntryInstantiator the##cls##CodecEntry;
GLTFZ_API GLTF_CodecRegistry * GLTFgetCodecRegistry()
GLuint const GLchar * name
Definition: glcorearb.h:786
void registerEntry(UT_UniquePtr< EntryBase > &&entry)

Definition at line 10 of file GLTF_CodecRegistry.h.

Function Documentation

GLTFZ_API GLTF_CodecRegistry* GLTFgetCodecRegistry ( )