gwenhywfar 5.10.1
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

◆ TM_TYPEMANAGER_XMLFLAGS

#define TM_TYPEMANAGER_XMLFLAGS
Value:
(\
)
#define GWEN_XML_FLAGS_HANDLE_HEADERS
Definition: xml.h:94
#define GWEN_XML_FLAGS_HANDLE_OPEN_HTMLTAGS
Definition: xml.h:73
#define GWEN_XML_FLAGS_DEFAULT
Definition: xml.h:117

Definition at line 26 of file tm_typemanager.c.

Function Documentation

◆ Typemaker2_TypeManager_AddFolder()

void Typemaker2_TypeManager_AddFolder ( TYPEMAKER2_TYPEMANAGER tym,
const char *  s 
)

Definition at line 102 of file tm_typemanager.c.

References GWEN_StringList_AppendString().

Referenced by buildFile2(), and doBuildDefs().

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

◆ Typemaker2_TypeManager_AddType()

void Typemaker2_TypeManager_AddType ( TYPEMAKER2_TYPEMANAGER tym,
TYPEMAKER2_TYPE ty 
)

Definition at line 110 of file tm_typemanager.c.

Referenced by Typemaker2_TypeManager_MakeTypeDerivatives().

Here is the caller graph for this function:

◆ Typemaker2_TypeManager_Dump()

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

Definition at line 818 of file tm_typemanager.c.

References Typemaker2_Type_Dump().

Referenced by buildFile2(), and doBuildDefs().

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

◆ Typemaker2_TypeManager_FindType()

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

Definition at line 118 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:

◆ Typemaker2_TypeManager_free()

void Typemaker2_TypeManager_free ( TYPEMAKER2_TYPEMANAGER tym)

Definition at line 51 of file tm_typemanager.c.

References GWEN_FREE_OBJECT, and GWEN_StringList_free().

Here is the call graph for this function:

◆ Typemaker2_TypeManager_GetApiDeclaration()

const char * Typemaker2_TypeManager_GetApiDeclaration ( const TYPEMAKER2_TYPEMANAGER tym)

◆ Typemaker2_TypeManager_GetLanguage()

const char * Typemaker2_TypeManager_GetLanguage ( const TYPEMAKER2_TYPEMANAGER tym)

Definition at line 62 of file tm_typemanager.c.

Referenced by buildFile2(), and doBuildDefs().

Here is the caller graph for this function:

◆ Typemaker2_TypeManager_GetType()

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

◆ Typemaker2_TypeManager_LoadType()

TYPEMAKER2_TYPE * Typemaker2_TypeManager_LoadType ( TYPEMAKER2_TYPEMANAGER tym,
const char *  typeName 
)

◆ Typemaker2_TypeManager_LoadTypeFile()

TYPEMAKER2_TYPE * Typemaker2_TypeManager_LoadTypeFile ( TYPEMAKER2_TYPEMANAGER tym,
const char *  fileName 
)

◆ Typemaker2_TypeManager_LoadTypeFile2()

int Typemaker2_TypeManager_LoadTypeFile2 ( TYPEMAKER2_TYPEMANAGER tym,
const char *  fileName,
TYPEMAKER2_TYPE_LIST2 *  tlist2 
)

◆ Typemaker2_TypeManager_LoadTypeFileNoLookup()

int Typemaker2_TypeManager_LoadTypeFileNoLookup ( TYPEMAKER2_TYPEMANAGER tym,
const char *  fileName,
TYPEMAKER2_TYPE_LIST2 *  tlist2 
)

◆ Typemaker2_TypeManager_MakeTypeDerivatives()

int Typemaker2_TypeManager_MakeTypeDerivatives ( TYPEMAKER2_TYPEMANAGER tym,
TYPEMAKER2_TYPE ty,
const char *  baseType,
const char *  nType,
const char *  nPrefix 
)

◆ Typemaker2_TypeManager_MakeTypeList1()

int Typemaker2_TypeManager_MakeTypeList1 ( TYPEMAKER2_TYPEMANAGER tym,
TYPEMAKER2_TYPE ty 
)

Definition at line 277 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_MakeTypeList2()

int Typemaker2_TypeManager_MakeTypeList2 ( TYPEMAKER2_TYPEMANAGER tym,
TYPEMAKER2_TYPE ty 
)

Definition at line 284 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_MakeTypeTree()

int Typemaker2_TypeManager_MakeTypeTree ( TYPEMAKER2_TYPEMANAGER tym,
TYPEMAKER2_TYPE ty 
)

Definition at line 291 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_new()

TYPEMAKER2_TYPEMANAGER * Typemaker2_TypeManager_new ( )

Definition at line 35 of file tm_typemanager.c.

References GWEN_NEW_OBJECT, and GWEN_StringList_new().

Referenced by buildFile2(), and doBuildDefs().

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

◆ Typemaker2_TypeManager_SetApiDeclaration()

void Typemaker2_TypeManager_SetApiDeclaration ( TYPEMAKER2_TYPEMANAGER tym,
const char *  s 
)

Definition at line 90 of file tm_typemanager.c.

References NULL.

Referenced by buildFile2(), and doBuildDefs().

Here is the caller graph for this function:

◆ Typemaker2_TypeManager_SetLanguage()

void Typemaker2_TypeManager_SetLanguage ( TYPEMAKER2_TYPEMANAGER tym,
const char *  s 
)

Definition at line 70 of file tm_typemanager.c.

References NULL.

Referenced by buildFile2(), and doBuildDefs().

Here is the caller graph for this function:

◆ Typemaker2_TypeManager_SetMemberTypePtrs()

int Typemaker2_TypeManager_SetMemberTypePtrs ( TYPEMAKER2_TYPEMANAGER tym,
TYPEMAKER2_TYPE ty 
)

◆ Typemaker2_TypeManager_SetTypePtrs()

int Typemaker2_TypeManager_SetTypePtrs ( TYPEMAKER2_TYPEMANAGER tym,
TYPEMAKER2_TYPE ty 
)