gwenhywfar  5.10.1
Functions
tm_member.c File Reference
#include "tm_member_p.h"
#include "tm_util.h"
#include <gwenhywfar/debug.h>
#include <gwenhywfar/misc.h>
#include <assert.h>
Include dependency graph for tm_member.c:

Go to the source code of this file.

Functions

void Typemaker2_Member_Attach (TYPEMAKER2_MEMBER *tm)
 
void Typemaker2_Member_Dump (TYPEMAKER2_MEMBER *tm, FILE *f, int indent)
 
void Typemaker2_Member_free (TYPEMAKER2_MEMBER *tm)
 
int Typemaker2_Member_GetAccess (const TYPEMAKER2_MEMBER *tm)
 
const char * Typemaker2_Member_GetAqDbType (const TYPEMAKER2_MEMBER *tm)
 
TYPEMAKER2_CODE_LIST * Typemaker2_Member_GetCodeDefs (const TYPEMAKER2_MEMBER *tm)
 
uint32_t Typemaker2_Member_GetCopyFlags (const TYPEMAKER2_MEMBER *tm)
 
const char * Typemaker2_Member_GetDefaultValue (const TYPEMAKER2_MEMBER *tm)
 
const char * Typemaker2_Member_GetDefineId (const TYPEMAKER2_MEMBER *tm)
 
TYPEMAKER2_DEFINETypemaker2_Member_GetDefinePtr (const TYPEMAKER2_MEMBER *tm)
 
const char * Typemaker2_Member_GetDescription (const TYPEMAKER2_MEMBER *tm)
 
uint32_t Typemaker2_Member_GetDupFlags (const TYPEMAKER2_MEMBER *tm)
 
const char * Typemaker2_Member_GetElementName (const TYPEMAKER2_MEMBER *tm)
 
const char * Typemaker2_Member_GetEnumId (const TYPEMAKER2_MEMBER *tm)
 
TYPEMAKER2_ENUMTypemaker2_Member_GetEnumPtr (const TYPEMAKER2_MEMBER *tm)
 
const char * Typemaker2_Member_GetFieldId (const TYPEMAKER2_MEMBER *tm)
 
uint32_t Typemaker2_Member_GetFlags (const TYPEMAKER2_MEMBER *tm)
 
uint32_t Typemaker2_Member_GetGetFlags (const TYPEMAKER2_MEMBER *tm)
 
TYPEMAKER2_GROUPTypemaker2_Member_GetGroupPtr (const TYPEMAKER2_MEMBER *tm)
 
int Typemaker2_Member_GetMaxLen (const TYPEMAKER2_MEMBER *tm)
 
int Typemaker2_Member_GetMemberPosition (const TYPEMAKER2_MEMBER *tm)
 
const char * Typemaker2_Member_GetName (const TYPEMAKER2_MEMBER *tm)
 
const char * Typemaker2_Member_GetPresetValue (const TYPEMAKER2_MEMBER *tm)
 
uint32_t Typemaker2_Member_GetSetFlags (const TYPEMAKER2_MEMBER *tm)
 
const char * Typemaker2_Member_GetTypeName (const TYPEMAKER2_MEMBER *tm)
 
TYPEMAKER2_TYPETypemaker2_Member_GetTypePtr (const TYPEMAKER2_MEMBER *tm)
 
TYPEMAKER2_MEMBERTypemaker2_Member_new ()
 
int Typemaker2_Member_readXml (TYPEMAKER2_MEMBER *tm, GWEN_XMLNODE *node, const char *wantedLang)
 
void Typemaker2_Member_SetAccess (TYPEMAKER2_MEMBER *tm, int i)
 
void Typemaker2_Member_SetAqDbType (TYPEMAKER2_MEMBER *tm, const char *s)
 
void Typemaker2_Member_SetCopyFlags (TYPEMAKER2_MEMBER *tm, uint32_t i)
 
void Typemaker2_Member_SetDefaultValue (TYPEMAKER2_MEMBER *tm, const char *s)
 
void Typemaker2_Member_SetDefineId (TYPEMAKER2_MEMBER *tm, const char *s)
 
void Typemaker2_Member_SetDefinePtr (TYPEMAKER2_MEMBER *tm, TYPEMAKER2_DEFINE *td)
 
void Typemaker2_Member_SetDescription (TYPEMAKER2_MEMBER *tm, const char *s)
 
void Typemaker2_Member_SetDupFlags (TYPEMAKER2_MEMBER *tm, uint32_t i)
 
void Typemaker2_Member_SetElementName (TYPEMAKER2_MEMBER *tm, const char *s)
 
void Typemaker2_Member_SetEnumId (TYPEMAKER2_MEMBER *tm, const char *s)
 
void Typemaker2_Member_SetEnumPtr (TYPEMAKER2_MEMBER *tm, TYPEMAKER2_ENUM *te)
 
void Typemaker2_Member_SetFieldId (TYPEMAKER2_MEMBER *tm, const char *s)
 
void Typemaker2_Member_SetFlags (TYPEMAKER2_MEMBER *tm, uint32_t i)
 
void Typemaker2_Member_SetGetFlags (TYPEMAKER2_MEMBER *tm, uint32_t i)
 
void Typemaker2_Member_SetGroupPtr (TYPEMAKER2_MEMBER *tm, TYPEMAKER2_GROUP *gr)
 
void Typemaker2_Member_SetMaxLen (TYPEMAKER2_MEMBER *tm, int i)
 
void Typemaker2_Member_SetMemberPosition (TYPEMAKER2_MEMBER *tm, int i)
 
void Typemaker2_Member_SetName (TYPEMAKER2_MEMBER *tm, const char *s)
 
void Typemaker2_Member_SetPresetValue (TYPEMAKER2_MEMBER *tm, const char *s)
 
void Typemaker2_Member_SetSetFlags (TYPEMAKER2_MEMBER *tm, uint32_t i)
 
void Typemaker2_Member_SetTypeName (TYPEMAKER2_MEMBER *tm, const char *s)
 
void Typemaker2_Member_SetTypePtr (TYPEMAKER2_MEMBER *tm, TYPEMAKER2_TYPE *ty)
 

Function Documentation

◆ Typemaker2_Member_Attach()

void Typemaker2_Member_Attach ( TYPEMAKER2_MEMBER tm)

Definition at line 74 of file tm_member.c.

◆ Typemaker2_Member_Dump()

void Typemaker2_Member_Dump ( TYPEMAKER2_MEMBER tm,
FILE *  f,
int  indent 
)

◆ Typemaker2_Member_free()

void Typemaker2_Member_free ( TYPEMAKER2_MEMBER tm)

Definition at line 46 of file tm_member.c.

References GWEN_FREE_OBJECT, and GWEN_LIST_FINI.

Referenced by Typemaker2_Type_readMembersAndGroupsXml().

Here is the caller graph for this function:

◆ Typemaker2_Member_GetAccess()

int Typemaker2_Member_GetAccess ( const TYPEMAKER2_MEMBER tm)

Definition at line 347 of file tm_member.c.

References TypeMaker2_Access_Unknown, and Typemaker2_Type_GetAccess().

Referenced by _addFlagFnsPrototype(), _addMemberProtoTypes(), _addSetterPrototype(), and Typemaker2_Member_Dump().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Typemaker2_Member_GetAqDbType()

const char* Typemaker2_Member_GetAqDbType ( const TYPEMAKER2_MEMBER tm)

Definition at line 440 of file tm_member.c.

References NULL, and Typemaker2_Type_GetAqDbType().

Here is the call graph for this function:

◆ Typemaker2_Member_GetCodeDefs()

TYPEMAKER2_CODE_LIST* Typemaker2_Member_GetCodeDefs ( const TYPEMAKER2_MEMBER tm)

Definition at line 557 of file tm_member.c.

Referenced by Typemaker2_Type_FindCodeForMember().

Here is the caller graph for this function:

◆ Typemaker2_Member_GetCopyFlags()

uint32_t Typemaker2_Member_GetCopyFlags ( const TYPEMAKER2_MEMBER tm)

Definition at line 325 of file tm_member.c.

References Typemaker2_Type_GetCopyFlags().

Referenced by _addCopyMemberCode().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Typemaker2_Member_GetDefaultValue()

const char* Typemaker2_Member_GetDefaultValue ( const TYPEMAKER2_MEMBER tm)

Definition at line 388 of file tm_member.c.

References NULL, and Typemaker2_Type_GetDefaultValue().

Referenced by addMemberInfoToCallDb(), and Typemaker2_Member_Dump().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Typemaker2_Member_GetDefineId()

const char* Typemaker2_Member_GetDefineId ( const TYPEMAKER2_MEMBER tm)

Definition at line 215 of file tm_member.c.

◆ Typemaker2_Member_GetDefinePtr()

TYPEMAKER2_DEFINE* Typemaker2_Member_GetDefinePtr ( const TYPEMAKER2_MEMBER tm)

Definition at line 503 of file tm_member.c.

◆ Typemaker2_Member_GetDescription()

const char* Typemaker2_Member_GetDescription ( const TYPEMAKER2_MEMBER tm)

Definition at line 149 of file tm_member.c.

Referenced by _buildGroupApiDoc().

Here is the caller graph for this function:

◆ Typemaker2_Member_GetDupFlags()

uint32_t Typemaker2_Member_GetDupFlags ( const TYPEMAKER2_MEMBER tm)

Definition at line 303 of file tm_member.c.

References Typemaker2_Type_GetDupFlags().

Referenced by _addDupMemberCode(), and Typemaker2_Member_Dump().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Typemaker2_Member_GetElementName()

const char* Typemaker2_Member_GetElementName ( const TYPEMAKER2_MEMBER tm)

Definition at line 127 of file tm_member.c.

Referenced by addMemberInfoToCallDb().

Here is the caller graph for this function:

◆ Typemaker2_Member_GetEnumId()

const char* Typemaker2_Member_GetEnumId ( const TYPEMAKER2_MEMBER tm)

Definition at line 193 of file tm_member.c.

Referenced by Typemaker2_TypeManager_SetMemberTypePtrs().

Here is the caller graph for this function:

◆ Typemaker2_Member_GetEnumPtr()

TYPEMAKER2_ENUM* Typemaker2_Member_GetEnumPtr ( const TYPEMAKER2_MEMBER tm)

Definition at line 485 of file tm_member.c.

Referenced by _addFunctionDeclaration(), _addMember(), _addSetterFnDeclaration(), addMemberInfoToCallDb(), and Typemaker2_TypeManager_SetMemberTypePtrs().

Here is the caller graph for this function:

◆ Typemaker2_Member_GetFieldId()

const char* Typemaker2_Member_GetFieldId ( const TYPEMAKER2_MEMBER tm)

Definition at line 171 of file tm_member.c.

Referenced by _buildFieldIds(), and addMemberInfoToCallDb().

Here is the caller graph for this function:

◆ Typemaker2_Member_GetFlags()

uint32_t Typemaker2_Member_GetFlags ( const TYPEMAKER2_MEMBER tm)

◆ Typemaker2_Member_GetGetFlags()

uint32_t Typemaker2_Member_GetGetFlags ( const TYPEMAKER2_MEMBER tm)

Definition at line 281 of file tm_member.c.

References Typemaker2_Type_GetGetFlags().

Referenced by _addFunctionDeclaration(), TM2C_BuildGetter(), and Typemaker2_Member_Dump().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Typemaker2_Member_GetGroupPtr()

TYPEMAKER2_GROUP* Typemaker2_Member_GetGroupPtr ( const TYPEMAKER2_MEMBER tm)

Definition at line 521 of file tm_member.c.

Referenced by _buildGroupApiDoc().

Here is the caller graph for this function:

◆ Typemaker2_Member_GetMaxLen()

int Typemaker2_Member_GetMaxLen ( const TYPEMAKER2_MEMBER tm)

Definition at line 369 of file tm_member.c.

Referenced by _addMember(), addMemberInfoToCallDb(), and TM2C_BuildCreateColumnList().

Here is the caller graph for this function:

◆ Typemaker2_Member_GetMemberPosition()

int Typemaker2_Member_GetMemberPosition ( const TYPEMAKER2_MEMBER tm)

Definition at line 539 of file tm_member.c.

Referenced by _buildFieldIds().

Here is the caller graph for this function:

◆ Typemaker2_Member_GetName()

const char* Typemaker2_Member_GetName ( const TYPEMAKER2_MEMBER tm)

◆ Typemaker2_Member_GetPresetValue()

const char* Typemaker2_Member_GetPresetValue ( const TYPEMAKER2_MEMBER tm)

Definition at line 414 of file tm_member.c.

References NULL, and Typemaker2_Type_GetPresetValue().

Referenced by addMemberInfoToCallDb(), and Typemaker2_Member_Dump().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Typemaker2_Member_GetSetFlags()

uint32_t Typemaker2_Member_GetSetFlags ( const TYPEMAKER2_MEMBER tm)

Definition at line 259 of file tm_member.c.

References Typemaker2_Type_GetSetFlags().

Referenced by _addSetterFnDeclaration(), _addSetterImplementation(), TM2C_BuildSetter(), and Typemaker2_Member_Dump().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Typemaker2_Member_GetTypeName()

const char* Typemaker2_Member_GetTypeName ( const TYPEMAKER2_MEMBER tm)

Definition at line 105 of file tm_member.c.

Referenced by Typemaker2_TypeManager_SetMemberTypePtrs().

Here is the caller graph for this function:

◆ Typemaker2_Member_GetTypePtr()

TYPEMAKER2_TYPE* Typemaker2_Member_GetTypePtr ( const TYPEMAKER2_MEMBER tm)

◆ Typemaker2_Member_new()

TYPEMAKER2_MEMBER* Typemaker2_Member_new ( )

Definition at line 31 of file tm_member.c.

References GWEN_LIST_INIT, and GWEN_NEW_OBJECT.

Referenced by Typemaker2_Type_readMembersAndGroupsXml().

Here is the caller graph for this function:

◆ Typemaker2_Member_readXml()

int Typemaker2_Member_readXml ( TYPEMAKER2_MEMBER tm,
GWEN_XMLNODE node,
const char *  wantedLang 
)

◆ Typemaker2_Member_SetAccess()

void Typemaker2_Member_SetAccess ( TYPEMAKER2_MEMBER tm,
int  i 
)

Definition at line 360 of file tm_member.c.

Referenced by Typemaker2_Member_readXml().

Here is the caller graph for this function:

◆ Typemaker2_Member_SetAqDbType()

void Typemaker2_Member_SetAqDbType ( TYPEMAKER2_MEMBER tm,
const char *  s 
)

Definition at line 453 of file tm_member.c.

References NULL.

Referenced by Typemaker2_Member_readXml().

Here is the caller graph for this function:

◆ Typemaker2_Member_SetCopyFlags()

void Typemaker2_Member_SetCopyFlags ( TYPEMAKER2_MEMBER tm,
uint32_t  i 
)

Definition at line 338 of file tm_member.c.

Referenced by Typemaker2_Member_readXml().

Here is the caller graph for this function:

◆ Typemaker2_Member_SetDefaultValue()

void Typemaker2_Member_SetDefaultValue ( TYPEMAKER2_MEMBER tm,
const char *  s 
)

Definition at line 400 of file tm_member.c.

References NULL.

Referenced by Typemaker2_Member_readXml().

Here is the caller graph for this function:

◆ Typemaker2_Member_SetDefineId()

void Typemaker2_Member_SetDefineId ( TYPEMAKER2_MEMBER tm,
const char *  s 
)

Definition at line 224 of file tm_member.c.

References NULL.

Referenced by Typemaker2_Member_readXml().

Here is the caller graph for this function:

◆ Typemaker2_Member_SetDefinePtr()

void Typemaker2_Member_SetDefinePtr ( TYPEMAKER2_MEMBER tm,
TYPEMAKER2_DEFINE td 
)

Definition at line 512 of file tm_member.c.

◆ Typemaker2_Member_SetDescription()

void Typemaker2_Member_SetDescription ( TYPEMAKER2_MEMBER tm,
const char *  s 
)

Definition at line 158 of file tm_member.c.

References NULL.

Referenced by Typemaker2_Member_readXml().

Here is the caller graph for this function:

◆ Typemaker2_Member_SetDupFlags()

void Typemaker2_Member_SetDupFlags ( TYPEMAKER2_MEMBER tm,
uint32_t  i 
)

Definition at line 316 of file tm_member.c.

Referenced by Typemaker2_Member_readXml().

Here is the caller graph for this function:

◆ Typemaker2_Member_SetElementName()

void Typemaker2_Member_SetElementName ( TYPEMAKER2_MEMBER tm,
const char *  s 
)

Definition at line 136 of file tm_member.c.

References NULL.

Referenced by Typemaker2_Member_readXml().

Here is the caller graph for this function:

◆ Typemaker2_Member_SetEnumId()

void Typemaker2_Member_SetEnumId ( TYPEMAKER2_MEMBER tm,
const char *  s 
)

Definition at line 202 of file tm_member.c.

References NULL.

Referenced by Typemaker2_Member_readXml().

Here is the caller graph for this function:

◆ Typemaker2_Member_SetEnumPtr()

void Typemaker2_Member_SetEnumPtr ( TYPEMAKER2_MEMBER tm,
TYPEMAKER2_ENUM te 
)

Definition at line 494 of file tm_member.c.

Referenced by Typemaker2_TypeManager_SetMemberTypePtrs().

Here is the caller graph for this function:

◆ Typemaker2_Member_SetFieldId()

void Typemaker2_Member_SetFieldId ( TYPEMAKER2_MEMBER tm,
const char *  s 
)

Definition at line 180 of file tm_member.c.

References NULL.

Referenced by Typemaker2_TypeManager_SetMemberTypePtrs().

Here is the caller graph for this function:

◆ Typemaker2_Member_SetFlags()

void Typemaker2_Member_SetFlags ( TYPEMAKER2_MEMBER tm,
uint32_t  i 
)

Definition at line 250 of file tm_member.c.

Referenced by Typemaker2_Member_readXml().

Here is the caller graph for this function:

◆ Typemaker2_Member_SetGetFlags()

void Typemaker2_Member_SetGetFlags ( TYPEMAKER2_MEMBER tm,
uint32_t  i 
)

Definition at line 294 of file tm_member.c.

Referenced by Typemaker2_Member_readXml().

Here is the caller graph for this function:

◆ Typemaker2_Member_SetGroupPtr()

void Typemaker2_Member_SetGroupPtr ( TYPEMAKER2_MEMBER tm,
TYPEMAKER2_GROUP gr 
)

Definition at line 530 of file tm_member.c.

Referenced by Typemaker2_Type_readMembersAndGroupsXml().

Here is the caller graph for this function:

◆ Typemaker2_Member_SetMaxLen()

void Typemaker2_Member_SetMaxLen ( TYPEMAKER2_MEMBER tm,
int  i 
)

Definition at line 379 of file tm_member.c.

◆ Typemaker2_Member_SetMemberPosition()

void Typemaker2_Member_SetMemberPosition ( TYPEMAKER2_MEMBER tm,
int  i 
)

Definition at line 548 of file tm_member.c.

Referenced by Typemaker2_TypeManager_SetMemberTypePtrs().

Here is the caller graph for this function:

◆ Typemaker2_Member_SetName()

void Typemaker2_Member_SetName ( TYPEMAKER2_MEMBER tm,
const char *  s 
)

Definition at line 92 of file tm_member.c.

References NULL.

Referenced by Typemaker2_Member_readXml().

Here is the caller graph for this function:

◆ Typemaker2_Member_SetPresetValue()

void Typemaker2_Member_SetPresetValue ( TYPEMAKER2_MEMBER tm,
const char *  s 
)

Definition at line 426 of file tm_member.c.

References NULL.

Referenced by Typemaker2_Member_readXml().

Here is the caller graph for this function:

◆ Typemaker2_Member_SetSetFlags()

void Typemaker2_Member_SetSetFlags ( TYPEMAKER2_MEMBER tm,
uint32_t  i 
)

Definition at line 272 of file tm_member.c.

Referenced by Typemaker2_Member_readXml().

Here is the caller graph for this function:

◆ Typemaker2_Member_SetTypeName()

void Typemaker2_Member_SetTypeName ( TYPEMAKER2_MEMBER tm,
const char *  s 
)

Definition at line 114 of file tm_member.c.

References NULL.

Referenced by Typemaker2_Member_readXml().

Here is the caller graph for this function:

◆ Typemaker2_Member_SetTypePtr()

void Typemaker2_Member_SetTypePtr ( TYPEMAKER2_MEMBER tm,
TYPEMAKER2_TYPE ty 
)

Definition at line 476 of file tm_member.c.

Referenced by Typemaker2_TypeManager_SetMemberTypePtrs().

Here is the caller graph for this function: