Torque2D Reference
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Public Attributes | List of all members
Dictionary::Entry Struct Reference

#include <consoleDictionary.h>

Public Types

enum  { TypeInternalInt = -3 , TypeInternalFloat = -2 , TypeInternalString = -1 }
 

Public Member Functions

 Entry (StringTableEntry name)
 
 ~Entry ()
 
U32 getIntValue ()
 
F32 getFloatValue ()
 
const char * getStringValue ()
 
void setIntValue (U32 val)
 
void setFloatValue (F32 val)
 
void setStringValue (const char *value)
 

Public Attributes

StringTableEntry name
 
EntrynextEntry
 
S32 type
 
char * sval
 
U32 ival
 
F32 fval
 
U32 bufferLen
 
void * dataPtr
 

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
TypeInternalInt 
TypeInternalFloat 
TypeInternalString 

Constructor & Destructor Documentation

◆ Entry()

Entry ( StringTableEntry  name)

◆ ~Entry()

~Entry ( )

Member Function Documentation

◆ getFloatValue()

F32 getFloatValue ( )
inline

◆ getIntValue()

U32 getIntValue ( )
inline

◆ getStringValue()

const char * getStringValue ( )
inline

◆ setFloatValue()

void setFloatValue ( F32  val)
inline

◆ setIntValue()

void setIntValue ( U32  val)
inline

◆ setStringValue()

void setStringValue ( const char *  value)

Member Data Documentation

◆ bufferLen

U32 bufferLen

◆ dataPtr

void* dataPtr

◆ fval

F32 fval

◆ ival

U32 ival

◆ name

StringTableEntry name

◆ nextEntry

Entry* nextEntry

◆ sval

char* sval

◆ type

S32 type

The documentation for this struct was generated from the following files: