Leviathan  0.8.0.0
Leviathan game engine
Leviathan::DataBlockConverter< FromDataBlockType, TargetType > Class Template Reference

#include <DataBlock.h>

Static Public Member Functions

static TargetType DoConvert (const FromDataBlockType *block)
 

Static Public Attributes

static const bool AllowedConversion = false
 

Detailed Description

template<class FromDataBlockType, class TargetType>
class Leviathan::DataBlockConverter< FromDataBlockType, TargetType >

Definition at line 62 of file DataBlock.h.

Member Function Documentation

◆ DoConvert()

template<class FromDataBlockType, class TargetType>
static TargetType Leviathan::DataBlockConverter< FromDataBlockType, TargetType >::DoConvert ( const FromDataBlockType *  block)
inlinestatic

Definition at line 65 of file DataBlock.h.

65  {
66  LEVIATHAN_ASSERT(0, "conversion not possible");
67  return TargetType();
68  }
#define LEVIATHAN_ASSERT(x, msg)
Definition: Define.h:92

Member Data Documentation

◆ AllowedConversion

template<class FromDataBlockType, class TargetType>
const bool Leviathan::DataBlockConverter< FromDataBlockType, TargetType >::AllowedConversion = false
static

Definition at line 69 of file DataBlock.h.


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