#include <consoleBaseType.h>
|
| ConsoleBaseType (const S32 size, S32 *idPtr, const char *aTypeName) |
|
const S32 | getTypeID () const |
|
const dsize_t | getTypeSize () const |
|
const char * | getTypeName () const |
|
void | setInspectorFieldType (const char *type) |
|
const char * | getInspectorFieldType () |
|
virtual void | setData (void *dptr, S32 argc, const char **argv, EnumTable *tbl, BitSet32 flag)=0 |
|
virtual const char * | getData (void *dptr, EnumTable *tbl, BitSet32 flag)=0 |
|
virtual const char * | getTypeClassName ()=0 |
|
virtual const bool | isDatablock () |
|
virtual const char * | prepData (const char *data, char *buffer, U32 bufferLen) |
|
virtual StringTableEntry | getTypePrefix (void) const |
|
Destructor is private to avoid people mucking up the list.
The constructor is responsible for linking an element into the master list, registering the type ID, etc.
const char* getInspectorFieldType |
( |
| ) |
|
|
inline |
Get the head of the list.
Get the item that follows this item in the list.
Call me to get a pointer to a type's info.
virtual const char* getTypeClassName |
( |
| ) |
|
|
pure virtual |
const S32 getTypeID |
( |
| ) |
const |
|
inline |
const char* getTypeName |
( |
| ) |
const |
|
inline |
virtual StringTableEntry getTypePrefix |
( |
void |
| ) |
const |
|
inlinevirtual |
const dsize_t getTypeSize |
( |
| ) |
const |
|
inline |
Called once to initialize the console type system.
virtual const bool isDatablock |
( |
| ) |
|
|
inlinevirtual |
virtual const char* prepData |
( |
const char * |
data, |
|
|
char * |
buffer, |
|
|
U32 |
bufferLen |
|
) |
| |
|
inlinevirtual |
virtual void setData |
( |
void * |
dptr, |
|
|
S32 |
argc, |
|
|
const char ** |
argv, |
|
|
EnumTable * |
tbl, |
|
|
BitSet32 |
flag |
|
) |
| |
|
pure virtual |
void setInspectorFieldType |
( |
const char * |
type | ) |
|
|
inline |
const char* mInspectorFieldType |
|
protected |
Next item in the list of all console types.
S32 smConsoleTypeCount = 1 |
|
staticprotected |
This is used to generate unique IDs for each type.
We maintain a linked list of all console types; this is its head.
The documentation for this class was generated from the following files:
- console/consoleBaseType.h
- console/consoleBaseType.cc