st_vardef.h File Reference

#include <gwenhywfar/db.h>
#include <gwenhywfar/misc.h>
#include <gwenhywfar/gwenhywfarapi.h>

Go to the source code of this file.

Typedefs

typedef GWEN_STO_VARDEF GWEN_STO_VARDEF

Functions

GWENHYWFAR_API void GWEN_StoVarDef_Attach (GWEN_STO_VARDEF *st)
GWENHYWFAR_API GWEN_STO_VARDEFGWEN_StoVarDef_dup (const GWEN_STO_VARDEF *st)
GWENHYWFAR_API void GWEN_StoVarDef_free (GWEN_STO_VARDEF *st)
GWENHYWFAR_API GWEN_STO_VARDEFGWEN_StoVarDef_fromDb (GWEN_DB_NODE *db)
GWENHYWFAR_API int GWEN_StoVarDef_GetMaxNum (const GWEN_STO_VARDEF *el)
GWENHYWFAR_API int GWEN_StoVarDef_GetMinNum (const GWEN_STO_VARDEF *el)
GWENHYWFAR_API const char * GWEN_StoVarDef_GetName (const GWEN_STO_VARDEF *el)
GWENHYWFAR_API int GWEN_StoVarDef_IsModified (const GWEN_STO_VARDEF *st)
GWENHYWFAR_API GWEN_STO_VARDEF_LISTGWEN_StoVarDef_List_dup (const GWEN_STO_VARDEF_LIST *stl)
GWENHYWFAR_API GWEN_STO_VARDEFGWEN_StoVarDef_new ()
GWENHYWFAR_API int GWEN_StoVarDef_ReadDb (GWEN_STO_VARDEF *st, GWEN_DB_NODE *db)
GWENHYWFAR_API void GWEN_StoVarDef_SetMaxNum (GWEN_STO_VARDEF *el, int d)
GWENHYWFAR_API void GWEN_StoVarDef_SetMinNum (GWEN_STO_VARDEF *el, int d)
GWENHYWFAR_API void GWEN_StoVarDef_SetModified (GWEN_STO_VARDEF *st, int i)
GWENHYWFAR_API void GWEN_StoVarDef_SetName (GWEN_STO_VARDEF *el, const char *d)
GWENHYWFAR_API int GWEN_StoVarDef_toDb (const GWEN_STO_VARDEF *st, GWEN_DB_NODE *db)


Typedef Documentation

typedef struct GWEN_STO_VARDEF GWEN_STO_VARDEF

Definition at line 41 of file st_vardef.h.


Function Documentation

GWENHYWFAR_API void GWEN_StoVarDef_Attach ( GWEN_STO_VARDEF st  ) 

Increments the usage counter of the given object, so an additional free() is needed to destroy the object.

GWENHYWFAR_API GWEN_STO_VARDEF* GWEN_StoVarDef_dup ( const GWEN_STO_VARDEF st  ) 

Creates and returns a deep copy of thegiven object.

GWENHYWFAR_API void GWEN_StoVarDef_free ( GWEN_STO_VARDEF st  ) 

Destroys the given object.

GWENHYWFAR_API GWEN_STO_VARDEF* GWEN_StoVarDef_fromDb ( GWEN_DB_NODE db  ) 

Creates an object from the data in the given GWEN_DB_NODE

GWENHYWFAR_API int GWEN_StoVarDef_GetMaxNum ( const GWEN_STO_VARDEF el  ) 

Returns the property GWEN_STO_VARDEF_MaxNum

GWENHYWFAR_API int GWEN_StoVarDef_GetMinNum ( const GWEN_STO_VARDEF el  ) 

Returns the property GWEN_STO_VARDEF_MinNum

GWENHYWFAR_API const char* GWEN_StoVarDef_GetName ( const GWEN_STO_VARDEF el  ) 

Returns the property GWEN_STO_VARDEF_Name

GWENHYWFAR_API int GWEN_StoVarDef_IsModified ( const GWEN_STO_VARDEF st  ) 

Returns 0 if this object has not been modified, !=0 otherwise

GWENHYWFAR_API GWEN_STO_VARDEF_LIST* GWEN_StoVarDef_List_dup ( const GWEN_STO_VARDEF_LIST stl  ) 

GWENHYWFAR_API GWEN_STO_VARDEF* GWEN_StoVarDef_new (  ) 

Creates a new object.

GWENHYWFAR_API int GWEN_StoVarDef_ReadDb ( GWEN_STO_VARDEF st,
GWEN_DB_NODE db 
)

Reads data from a GWEN_DB.

GWENHYWFAR_API void GWEN_StoVarDef_SetMaxNum ( GWEN_STO_VARDEF el,
int  d 
)

Set the property GWEN_STO_VARDEF_MaxNum

GWENHYWFAR_API void GWEN_StoVarDef_SetMinNum ( GWEN_STO_VARDEF el,
int  d 
)

Set the property GWEN_STO_VARDEF_MinNum

GWENHYWFAR_API void GWEN_StoVarDef_SetModified ( GWEN_STO_VARDEF st,
int  i 
)

Sets the modified state of the given object

GWENHYWFAR_API void GWEN_StoVarDef_SetName ( GWEN_STO_VARDEF el,
const char *  d 
)

Set the property GWEN_STO_VARDEF_Name

GWENHYWFAR_API int GWEN_StoVarDef_toDb ( const GWEN_STO_VARDEF st,
GWEN_DB_NODE db 
)

Stores an object in the given GWEN_DB_NODE


Generated on Tue May 1 12:56:31 2007 for gwenhywfar by  doxygen 1.5.1