OpenClonk
StdMeshInstance::SerializableValueProvider::ID< T > Struct Template Reference

#include <StdMesh.h>

Inheritance diagram for StdMeshInstance::SerializableValueProvider::ID< T >:
[legend]
Collaboration diagram for StdMeshInstance::SerializableValueProvider::ID< T >:
[legend]

Public Types

typedef SerializableValueProvider *(* NewFunc) ()
 

Public Member Functions

 ID (const char *name)
 

Public Attributes

const char * name
 
const std::type_info & type
 
NewFunc newfunc
 

Detailed Description

template<typename T>
struct StdMeshInstance::SerializableValueProvider::ID< T >

Definition at line 450 of file StdMesh.h.

Member Typedef Documentation

◆ NewFunc

typedef SerializableValueProvider*(* StdMeshInstance::SerializableValueProvider::IDBase::NewFunc) ()
inherited

Definition at line 427 of file StdMesh.h.

Constructor & Destructor Documentation

◆ ID()

template<typename T >
StdMeshInstance::SerializableValueProvider::ID< T >::ID ( const char *  name)
inline

Definition at line 456 of file StdMesh.h.

456  :
457  IDBase(name, typeid(T), CreateFunc) {}
IDBase(const char *name, const std::type_info &type, NewFunc newfunc)
Definition: StdMesh.h:429

Member Data Documentation

◆ name

const char* StdMeshInstance::SerializableValueProvider::IDBase::name
inherited

Definition at line 444 of file StdMesh.h.

Referenced by StdMeshInstance::SerializableValueProvider::Lookup().

◆ newfunc

NewFunc StdMeshInstance::SerializableValueProvider::IDBase::newfunc
inherited

Definition at line 446 of file StdMesh.h.

Referenced by CompileNewFuncCtx().

◆ type

const std::type_info& StdMeshInstance::SerializableValueProvider::IDBase::type
inherited

Definition at line 445 of file StdMesh.h.

Referenced by StdMeshInstance::SerializableValueProvider::Lookup().


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