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

#include <DataBlock.h>

Static Public Member Functions

static std::string DoConvert (const FromDataBlockType *block)
 

Static Public Attributes

static const bool AllowedConversion = true
 

Detailed Description

template<class FromDataBlockType>
class Leviathan::DataBlockConverter< FromDataBlockType, std::string >

Definition at line 901 of file DataBlock.h.

Member Function Documentation

◆ DoConvert()

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

Definition at line 903 of file DataBlock.h.

903  {
904  return Convert::ToString(*block->Value);
905  }
static std::string ToString(const T &val)
Definition: Convert.h:72

Member Data Documentation

◆ AllowedConversion

template<class FromDataBlockType >
const bool Leviathan::DataBlockConverter< FromDataBlockType, std::string >::AllowedConversion = true
static

Definition at line 906 of file DataBlock.h.


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