SML::CLASSMEMBER Class Reference

#include <sml/classmember.h>

List of all members.

Public Types

enum  TYPE {
  TYPE_ByteBoolean = 1, TYPE_IntBoolean = 2, TYPE_INT8 = 3, TYPE_UINT8 = 4,
  TYPE_INT16 = 5, TYPE_UINT16 = 6, TYPE_INT32 = 7, TYPE_UINT32 = 8,
  TYPE_Float = 9, TYPE_Double = 10, TYPE_String = 11, TYPE_Unicode = 12,
  TYPE_Bool = 19, TYPE_MISTRING = 50, TYPE_Enum = 51
}

Public Attributes

const char * ClassName
const char * description
FUNCfunc
CLASSMemberClass
const char * name
UINT32 offset
void(* ReadFunc )(CONTEXT *context, CLASSMEMBER *, void *obj, ARG *ret)
const char * ResourceName
const char * ResourceType
int size
FLAGsmlflags
int subtype
CLASSThisClass
SMLSTYPE type
void(* WriteFunc )(CONTEXT *context, CLASSMEMBER *, void *obj, ARG *data)

Member Enumeration Documentation

These are derived from INITYPE constants for convenience, but wouldn't have to be.

However, the values must stay the same.

Enumerator:
TYPE_ByteBoolean 
TYPE_IntBoolean 
TYPE_INT8 
TYPE_UINT8 
TYPE_INT16 
TYPE_UINT16 
TYPE_INT32 
TYPE_UINT32 
TYPE_Float 
TYPE_Double 
TYPE_String 
TYPE_Unicode 
TYPE_Bool 
TYPE_MISTRING 

Types not derived from INI types should start at 50 and increase.

TYPE_Enum 

Member Data Documentation

Name of member class. Used to fill in MemberClass later.

Default description which is used to generate the documentation.

Take top of stack and write into.

If it's a function, this points to an SML::FUNC

The class of the member if it's a class object. Filled in using ClassName.

Offset into data where member can be found (for simple stuff).

void(* SML::CLASSMEMBER::ReadFunc)(CONTEXT *context, CLASSMEMBER *, void *obj, ARG *ret)

eg: XmNwidth

eg: XtRDimeision

sizeof(str) for string/Unicode strings

For resources like XmHORIZONTAL.

SML::CLASSMEMBER::TYPE_xxx.

Pointer to the class this thing is a member of.

STYPE.

void(* SML::CLASSMEMBER::WriteFunc)(CONTEXT *context, CLASSMEMBER *, void *obj, ARG *data)

Read the member and push onto stack.


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

Generated on Sun Oct 7 21:39:07 2012 for TNTsdk 2012 by  doxygen 1.6.1