gwenhywfar  4.99.8beta
Macros | Functions
tm_typemanager.c File Reference
#include "tm_typemanager_p.h"
#include <gwenhywfar/debug.h>
#include <gwenhywfar/misc.h>
#include <gwenhywfar/directory.h>
#include <assert.h>
#include <ctype.h>
Include dependency graph for tm_typemanager.c:

Go to the source code of this file.

Macros

#define TM_TYPEMANAGER_XMLFLAGS
 

Functions

void Typemaker2_TypeManager_AddFolder (TYPEMAKER2_TYPEMANAGER *tym, const char *s)
 
void Typemaker2_TypeManager_AddType (TYPEMAKER2_TYPEMANAGER *tym, TYPEMAKER2_TYPE *ty)
 
void Typemaker2_TypeManager_Dump (TYPEMAKER2_TYPEMANAGER *tym, FILE *f, int indent)
 
TYPEMAKER2_TYPETypemaker2_TypeManager_FindType (TYPEMAKER2_TYPEMANAGER *tym, const char *s)
 
void Typemaker2_TypeManager_free (TYPEMAKER2_TYPEMANAGER *tym)
 
const char * Typemaker2_TypeManager_GetApiDeclaration (const TYPEMAKER2_TYPEMANAGER *tym)
 
const char * Typemaker2_TypeManager_GetLanguage (const TYPEMAKER2_TYPEMANAGER *tym)
 
TYPEMAKER2_TYPETypemaker2_TypeManager_GetType (TYPEMAKER2_TYPEMANAGER *tym, const char *s)
 
TYPEMAKER2_TYPETypemaker2_TypeManager_LoadType (TYPEMAKER2_TYPEMANAGER *tym, const char *typeName)
 
TYPEMAKER2_TYPETypemaker2_TypeManager_LoadTypeFile (TYPEMAKER2_TYPEMANAGER *tym, const char *fileName)
 
int Typemaker2_TypeManager_LoadTypeFile2 (TYPEMAKER2_TYPEMANAGER *tym, const char *fileName, TYPEMAKER2_TYPE_LIST2 *tlist2)
 
int Typemaker2_TypeManager_LoadTypeFileNoLookup (TYPEMAKER2_TYPEMANAGER *tym, const char *fileName, TYPEMAKER2_TYPE_LIST2 *tlist2)
 
int Typemaker2_TypeManager_MakeTypeDerivatives (TYPEMAKER2_TYPEMANAGER *tym, TYPEMAKER2_TYPE *ty, const char *baseType, const char *nType, const char *nPrefix)
 
int Typemaker2_TypeManager_MakeTypeList1 (TYPEMAKER2_TYPEMANAGER *tym, TYPEMAKER2_TYPE *ty)
 
int Typemaker2_TypeManager_MakeTypeList2 (TYPEMAKER2_TYPEMANAGER *tym, TYPEMAKER2_TYPE *ty)
 
int Typemaker2_TypeManager_MakeTypeTree (TYPEMAKER2_TYPEMANAGER *tym, TYPEMAKER2_TYPE *ty)
 
TYPEMAKER2_TYPEMANAGERTypemaker2_TypeManager_new ()
 
void Typemaker2_TypeManager_SetApiDeclaration (TYPEMAKER2_TYPEMANAGER *tym, const char *s)
 
void Typemaker2_TypeManager_SetLanguage (TYPEMAKER2_TYPEMANAGER *tym, const char *s)
 
int Typemaker2_TypeManager_SetMemberTypePtrs (TYPEMAKER2_TYPEMANAGER *tym, TYPEMAKER2_TYPE *ty)
 
int Typemaker2_TypeManager_SetTypePtrs (TYPEMAKER2_TYPEMANAGER *tym, TYPEMAKER2_TYPE *ty)
 

Macro Definition Documentation

#define TM_TYPEMANAGER_XMLFLAGS

Function Documentation

void Typemaker2_TypeManager_AddFolder ( TYPEMAKER2_TYPEMANAGER tym,
const char *  s 
)

Definition at line 92 of file tm_typemanager.c.

References GWEN_StringList_AppendString().

Referenced by buildFile(), buildFile2(), and doBuildDefs().

Here is the call graph for this function:

Here is the caller graph for this function:

void Typemaker2_TypeManager_AddType ( TYPEMAKER2_TYPEMANAGER tym,
TYPEMAKER2_TYPE ty 
)

Definition at line 99 of file tm_typemanager.c.

Referenced by Typemaker2_TypeManager_MakeTypeDerivatives().

Here is the caller graph for this function:

void Typemaker2_TypeManager_Dump ( TYPEMAKER2_TYPEMANAGER tym,
FILE *  f,
int  indent 
)

Definition at line 794 of file tm_typemanager.c.

References Typemaker2_Type_Dump().

Referenced by buildFile(), buildFile2(), and doBuildDefs().

Here is the call graph for this function:

Here is the caller graph for this function:

TYPEMAKER2_TYPE* Typemaker2_TypeManager_FindType ( TYPEMAKER2_TYPEMANAGER tym,
const char *  s 
)

Definition at line 106 of file tm_typemanager.c.

References Typemaker2_Type_GetName().

Referenced by Typemaker2_TypeManager_GetType().

Here is the call graph for this function:

Here is the caller graph for this function:

void Typemaker2_TypeManager_free ( TYPEMAKER2_TYPEMANAGER tym)

Definition at line 50 of file tm_typemanager.c.

References GWEN_FREE_OBJECT, and GWEN_StringList_free().

Here is the call graph for this function:

const char* Typemaker2_TypeManager_GetApiDeclaration ( const TYPEMAKER2_TYPEMANAGER tym)
const char* Typemaker2_TypeManager_GetLanguage ( const TYPEMAKER2_TYPEMANAGER tym)

Definition at line 60 of file tm_typemanager.c.

Referenced by buildFile(), buildFile2(), and doBuildDefs().

Here is the caller graph for this function:

TYPEMAKER2_TYPE* Typemaker2_TypeManager_GetType ( TYPEMAKER2_TYPEMANAGER tym,
const char *  s 
)
TYPEMAKER2_TYPE* Typemaker2_TypeManager_LoadType ( TYPEMAKER2_TYPEMANAGER tym,
const char *  typeName 
)
TYPEMAKER2_TYPE* Typemaker2_TypeManager_LoadTypeFile ( TYPEMAKER2_TYPEMANAGER tym,
const char *  fileName 
)
int Typemaker2_TypeManager_LoadTypeFile2 ( TYPEMAKER2_TYPEMANAGER tym,
const char *  fileName,
TYPEMAKER2_TYPE_LIST2 *  tlist2 
)
int Typemaker2_TypeManager_LoadTypeFileNoLookup ( TYPEMAKER2_TYPEMANAGER tym,
const char *  fileName,
TYPEMAKER2_TYPE_LIST2 *  tlist2 
)
int Typemaker2_TypeManager_MakeTypeDerivatives ( TYPEMAKER2_TYPEMANAGER tym,
TYPEMAKER2_TYPE ty,
const char *  baseType,
const char *  nType,
const char *  nPrefix 
)
int Typemaker2_TypeManager_MakeTypeList1 ( TYPEMAKER2_TYPEMANAGER tym,
TYPEMAKER2_TYPE ty 
)

Definition at line 262 of file tm_typemanager.c.

References Typemaker2_TypeManager_MakeTypeDerivatives().

Referenced by Typemaker2_TypeManager_LoadTypeFile(), Typemaker2_TypeManager_LoadTypeFile2(), and Typemaker2_TypeManager_LoadTypeFileNoLookup().

Here is the call graph for this function:

Here is the caller graph for this function:

int Typemaker2_TypeManager_MakeTypeList2 ( TYPEMAKER2_TYPEMANAGER tym,
TYPEMAKER2_TYPE ty 
)

Definition at line 268 of file tm_typemanager.c.

References Typemaker2_TypeManager_MakeTypeDerivatives().

Referenced by Typemaker2_TypeManager_LoadTypeFile(), Typemaker2_TypeManager_LoadTypeFile2(), and Typemaker2_TypeManager_LoadTypeFileNoLookup().

Here is the call graph for this function:

Here is the caller graph for this function:

int Typemaker2_TypeManager_MakeTypeTree ( TYPEMAKER2_TYPEMANAGER tym,
TYPEMAKER2_TYPE ty 
)

Definition at line 274 of file tm_typemanager.c.

References Typemaker2_TypeManager_MakeTypeDerivatives().

Referenced by Typemaker2_TypeManager_LoadTypeFile(), Typemaker2_TypeManager_LoadTypeFile2(), and Typemaker2_TypeManager_LoadTypeFileNoLookup().

Here is the call graph for this function:

Here is the caller graph for this function:

TYPEMAKER2_TYPEMANAGER* Typemaker2_TypeManager_new ( )

Definition at line 35 of file tm_typemanager.c.

References GWEN_NEW_OBJECT, and GWEN_StringList_new().

Referenced by buildFile(), buildFile2(), and doBuildDefs().

Here is the call graph for this function:

Here is the caller graph for this function:

void Typemaker2_TypeManager_SetApiDeclaration ( TYPEMAKER2_TYPEMANAGER tym,
const char *  s 
)

Definition at line 83 of file tm_typemanager.c.

References NULL.

Referenced by buildFile(), buildFile2(), and doBuildDefs().

Here is the caller graph for this function:

void Typemaker2_TypeManager_SetLanguage ( TYPEMAKER2_TYPEMANAGER tym,
const char *  s 
)

Definition at line 67 of file tm_typemanager.c.

References NULL.

Referenced by buildFile(), buildFile2(), and doBuildDefs().

Here is the caller graph for this function:

int Typemaker2_TypeManager_SetMemberTypePtrs ( TYPEMAKER2_TYPEMANAGER tym,
TYPEMAKER2_TYPE ty 
)
int Typemaker2_TypeManager_SetTypePtrs ( TYPEMAKER2_TYPEMANAGER tym,
TYPEMAKER2_TYPE ty 
)