Odamex
Setting the Standard in Multiplayer Doom
TypeInfo Struct Reference

#include <dobject.h>

Public Member Functions

 TypeInfo ()
 TypeInfo (const char *inName, const TypeInfo *inParentType, unsigned int inSize)
 TypeInfo (const char *inName, const TypeInfo *inParentType, unsigned int inSize, DObject *(*inNew)())
void RegisterType ()
bool IsAncestorOf (const TypeInfo *ti) const
bool IsDescendantOf (const TypeInfo *ti) const

Static Public Member Functions

static const TypeInfoFindType (const char *name)

Data Fields

const char * Name
const TypeInfoParentType
unsigned int SizeOf
DObject *(* CreateNew )()
unsigned short TypeIndex
static unsigned short m_MaxTypes

Static Public Attributes

static unsigned short m_NumTypes
static TypeInfo ** m_Types

Constructor & Destructor Documentation

TypeInfo::TypeInfo ( ) [inline]
TypeInfo::TypeInfo ( const char *  inName,
const TypeInfo inParentType,
unsigned int  inSize 
) [inline]
TypeInfo::TypeInfo ( const char *  inName,
const TypeInfo inParentType,
unsigned int  inSize,
DObject *(*)()  inNew 
) [inline]

Member Function Documentation

const TypeInfo * TypeInfo::FindType ( const char *  name) [static]
bool TypeInfo::IsAncestorOf ( const TypeInfo ti) const [inline]
bool TypeInfo::IsDescendantOf ( const TypeInfo ti) const [inline]
void TypeInfo::RegisterType ( )

Field Documentation

unsigned short TypeInfo::m_MaxTypes
unsigned short TypeInfo::m_NumTypes [static]
const char* TypeInfo::Name
unsigned int TypeInfo::SizeOf
unsigned short TypeInfo::TypeIndex

The documentation for this struct was generated from the following files:
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends