Leviathan  0.8.0.0
Leviathan game engine
Leviathan::DataBlockAll Class Referenceabstract

#include <DataBlock.h>

+ Inheritance diagram for Leviathan::DataBlockAll:

Public Member Functions

virtual ~DataBlockAll ()
 
virtual DLLEXPORT DataBlockAllAllocateNewFromThis () const =0
 
bool operator== (const DataBlockAll &other)
 

Public Attributes

short Type
 

Protected Member Functions

 DataBlockAll ()
 

Detailed Description

Definition at line 128 of file DataBlock.h.

Constructor & Destructor Documentation

◆ ~DataBlockAll()

virtual Leviathan::DataBlockAll::~DataBlockAll ( )
inlinevirtual

Definition at line 131 of file DataBlock.h.

131  {
132 
133 
134  }

◆ DataBlockAll()

Leviathan::DataBlockAll::DataBlockAll ( )
inlineprotected

Definition at line 151 of file DataBlock.h.

151  : Type(-1){
152 
153  }

Member Function Documentation

◆ AllocateNewFromThis()

virtual DLLEXPORT DataBlockAll* Leviathan::DataBlockAll::AllocateNewFromThis ( ) const
pure virtual

◆ operator==()

bool Leviathan::DataBlockAll::operator== ( const DataBlockAll other)
inline

Definition at line 141 of file DataBlock.h.

141  {
142 
143  // just compare types here //
144  return Type == other.Type;
145  }

Member Data Documentation

◆ Type

short Leviathan::DataBlockAll::Type

Definition at line 147 of file DataBlock.h.


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