Inexor
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Public Attributes | List of all members
nullval Struct Reference
Inheritance diagram for nullval:
tagval identval

Public Member Functions

 nullval ()
 
void setint (int val)
 
void setfloat (float val)
 
void setstr (char *val)
 
void setnull ()
 
void setcode (const uint *val)
 
void setmacro (const uint *val)
 
void setident (ident *val)
 
const char * getstr () const
 
int getint () const
 
float getfloat () const
 
bool getbool () const
 
void cleanup ()
 

Public Attributes

int type
 
union {
int i
 
float f
 
char * s
 
const uintcode
 
identid
 
}; 
 

Constructor & Destructor Documentation

nullval::nullval ( )
inline

Member Function Documentation

void tagval::cleanup ( )
inherited

References freearg().

bool tagval::getbool ( ) const
inherited
float tagval::getfloat ( ) const
inlineinherited

References getfloat(), and tagval::type.

int tagval::getint ( ) const
inlineinherited

References getint(), and tagval::type.

Referenced by at(), and execute().

const char * tagval::getstr ( ) const
inlineinherited

References getstr(), and tagval::type.

Referenced by at(), format(), loopconc(), and looplistconc().

void tagval::setcode ( const uint val)
inlineinherited

References tagval::type, and VAL_CODE.

Referenced by callcommand(), and runcode().

void tagval::setfloat ( float  val)
inlineinherited
void tagval::setident ( ident val)
inlineinherited

References tagval::type, and VAL_IDENT.

Referenced by callcommand(), forceident(), and runcode().

void tagval::setint ( int  val)
inlineinherited
void tagval::setmacro ( const uint val)
inlineinherited

References tagval::type, and VAL_MACRO.

Referenced by runcode().

void tagval::setnull ( )
inlineinherited

References tagval::type, and VAL_NULL.

Referenced by callcommand(), forcenull(), ident::getval(), and runcode().

void tagval::setstr ( char *  val)
inlineinherited

Member Data Documentation

union { ... }
int tagval::type
inherited

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