gwenhywfar 5.14.1
tm_header.c File Reference
#include "tm_header_p.h"
#include <gwenhywfar/debug.h>
#include <gwenhywfar/misc.h>
#include <assert.h>
Include dependency graph for tm_header.c:

Go to the source code of this file.

Functions

void Typemaker2_Header_Attach (TYPEMAKER2_HEADER *th)
void Typemaker2_Header_free (TYPEMAKER2_HEADER *th)
const char * Typemaker2_Header_GetFileName (const TYPEMAKER2_HEADER *th)
int Typemaker2_Header_GetLocation (const TYPEMAKER2_HEADER *th)
int Typemaker2_Header_GetType (const TYPEMAKER2_HEADER *th)
TYPEMAKER2_HEADERTypemaker2_Header_new ()
int Typemaker2_Header_readXml (TYPEMAKER2_HEADER *th, GWEN_XMLNODE *node)
void Typemaker2_Header_SetFileName (TYPEMAKER2_HEADER *th, const char *s)
void Typemaker2_Header_SetLocation (TYPEMAKER2_HEADER *th, int i)
void Typemaker2_Header_SetType (TYPEMAKER2_HEADER *th, int i)

Function Documentation

◆ Typemaker2_Header_Attach()

void Typemaker2_Header_Attach ( TYPEMAKER2_HEADER * th)

Definition at line 59 of file tm_header.c.

◆ Typemaker2_Header_free()

void Typemaker2_Header_free ( TYPEMAKER2_HEADER * th)

Definition at line 42 of file tm_header.c.

References GWEN_FREE_OBJECT, and GWEN_LIST_FINI.

Referenced by Typemaker2_Type_readXml().

Here is the caller graph for this function:

◆ Typemaker2_Header_GetFileName()

const char * Typemaker2_Header_GetFileName ( const TYPEMAKER2_HEADER * th)

Definition at line 68 of file tm_header.c.

Referenced by _addPreHeaders(), _buildEndHeaders(), _buildPostHeaders(), and Typemaker2_Builder_WriteFile().

Here is the caller graph for this function:

◆ Typemaker2_Header_GetLocation()

int Typemaker2_Header_GetLocation ( const TYPEMAKER2_HEADER * th)

Definition at line 108 of file tm_header.c.

Referenced by _addPreHeaders(), _buildEndHeaders(), _buildPostHeaders(), and Typemaker2_Builder_WriteFile().

Here is the caller graph for this function:

◆ Typemaker2_Header_GetType()

int Typemaker2_Header_GetType ( const TYPEMAKER2_HEADER * th)

Definition at line 90 of file tm_header.c.

Referenced by _addPreHeaders(), _buildEndHeaders(), _buildPostHeaders(), and Typemaker2_Builder_WriteFile().

Here is the caller graph for this function:

◆ Typemaker2_Header_new()

TYPEMAKER2_HEADER * Typemaker2_Header_new ( )

Definition at line 29 of file tm_header.c.

References GWEN_LIST_INIT, GWEN_NEW_OBJECT, and Typemaker2_Header_new().

Referenced by Typemaker2_Header_new(), and Typemaker2_Type_readXml().

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

◆ Typemaker2_Header_readXml()

◆ Typemaker2_Header_SetFileName()

void Typemaker2_Header_SetFileName ( TYPEMAKER2_HEADER * th,
const char * s )

Definition at line 77 of file tm_header.c.

References NULL.

Referenced by Typemaker2_Header_readXml().

Here is the caller graph for this function:

◆ Typemaker2_Header_SetLocation()

void Typemaker2_Header_SetLocation ( TYPEMAKER2_HEADER * th,
int i )

Definition at line 117 of file tm_header.c.

Referenced by Typemaker2_Header_readXml().

Here is the caller graph for this function:

◆ Typemaker2_Header_SetType()

void Typemaker2_Header_SetType ( TYPEMAKER2_HEADER * th,
int i )

Definition at line 99 of file tm_header.c.

Referenced by Typemaker2_Header_readXml().

Here is the caller graph for this function: