Public Attributes

Private Attributes

Friends


Member Function Documentation

 
CSIM: csimClassInfo Class Reference

csimClassInfo Class Reference

#include <csimclass.h>

List of all members.


Detailed Description

Holds information about a class like name, description and field informations.

See also Setting and getting field values

Public Member Functions

  • int getFieldId (char *name)
    Return the Id of the field name.
  • int nFields (void)
    Return the number of fields of the corresponding class.
  • const char * getFieldName (int id)
    Return field name given the fiels ID.
  • bool isFieldRW (int id)
    Return 1 if field is READWRITE.
  • void listFields (void)
    Print al list of fields to stdout.
  • int getFieldArraySize (void)
    Return the number of doubles needed to store all READWRITE fields.
Methods for registering various variable types as fields
int csimClassInfo::add csimFieldInfo fi  )  [private]
 

Add a field.

Dirty implementation of a list of csimFieldInfo objects


 
(C) 2003, Thomas Natschläger last modified 07/10/2006