/home/archives/aegis/branch.4/branch.24/delta12472.002/libaegis/gstate.h File Reference

#include <common/str.h>
#include <libaegis/output.h>
#include <libaegis/meta_lex.h>
#include <libaegis/meta_parse.h>
#include <libaegis/meta_type.h>

Go to the source code of this file.

Data Structures

struct  gstate_where_ty
struct  gstate_where_list_ty
struct  gstate_ty

Defines

#define gstate_where_project_name_mask   ((unsigned long)0)
#define gstate_where_directory_mask   ((unsigned long)0)
#define gstate_where_alias_for_mask   ((unsigned long)0)
#define gstate_where_trace(x)
#define gstate_where_list_trace(x)
#define gstate_where_mask   ((unsigned long)0)
#define gstate_trace(x)

Functions

void gstate_where_write (const output::pointer &fp, const char *name, gstate_where_ty *value)
void gstate_where_write_xml (const output::pointer &fp, const char *name, gstate_where_ty *value)
gstate_where_tygstate_where_copy (gstate_where_ty *)
gstate_where_tygstate_where_clone (gstate_where_ty *)
gstate_where_list_tygstate_where_list_copy (gstate_where_list_ty *)
gstate_where_list_tygstate_where_list_clone (gstate_where_list_ty *)
void gstate_where_list_write (const output::pointer &fp, const char *name, gstate_where_list_ty *value)
void gstate_where_list_write_xml (const output::pointer &fp, const char *name, gstate_where_list_ty *value)
void gstate_write (const output::pointer &fp, gstate_ty *value)
void gstate_write_xml (const output::pointer &fp, gstate_ty *value)
gstate_tygstate_copy (gstate_ty *)
gstate_tygstate_clone (gstate_ty *)
void gstate_write_file (string_ty *filename, gstate_ty *value, int comp)
void gstate_write_file (const nstring &filnam, gstate_ty *value, bool comp)
gstate_tygstate_read_file (string_ty *filename)
gstate_tygstate_read_file (const nstring &filename)
void gstate__rpt_init (void)

Variables

meta_type gstate_where_type
meta_type gstate_where_list_type
meta_type gstate_type


Define Documentation

#define gstate_trace (  ) 

Definition at line 97 of file gstate.h.

#define gstate_where_alias_for_mask   ((unsigned long)0)

Definition at line 24 of file gstate.h.

#define gstate_where_directory_mask   ((unsigned long)0)

Definition at line 23 of file gstate.h.

#define gstate_where_list_trace (  ) 

Definition at line 70 of file gstate.h.

#define gstate_where_mask   ((unsigned long)0)

Definition at line 76 of file gstate.h.

#define gstate_where_project_name_mask   ((unsigned long)0)

Definition at line 22 of file gstate.h.

#define gstate_where_trace (  ) 

Definition at line 47 of file gstate.h.


Function Documentation

void gstate__rpt_init ( void   ) 

gstate_ty* gstate_clone ( gstate_ty  ) 

gstate_ty* gstate_copy ( gstate_ty  ) 

gstate_ty* gstate_read_file ( const nstring filename  ) 

The gstate_read_file function is used to read gstate meta data from the named file.

Parameters:
filename The name of the file to be read.
Returns:
a pointer to a dynamically allocated value read from the file.
Note:
If any errors are encountered, this function will not return. All errors (including syntax errors) will print a fatal error message, and exit with an exit status of 1.

gstate_ty* gstate_read_file ( string_ty filename  ) 

The gstate_read_file function is used to read gstate meta data from the named file.

Parameters:
filename The name of the file to be read.
Returns:
a pointer to a dynamically allocated value read from the file.
Note:
If any errors are encountered, this function will not return. All errors (including syntax errors) will print a fatal error message, and exit with an exit status of 1.

gstate_where_ty* gstate_where_clone ( gstate_where_ty  ) 

gstate_where_ty* gstate_where_copy ( gstate_where_ty  ) 

gstate_where_list_ty* gstate_where_list_clone ( gstate_where_list_ty  ) 

gstate_where_list_ty* gstate_where_list_copy ( gstate_where_list_ty  ) 

void gstate_where_list_write ( const output::pointer fp,
const char *  name,
gstate_where_list_ty value 
)

void gstate_where_list_write_xml ( const output::pointer fp,
const char *  name,
gstate_where_list_ty value 
)

void gstate_where_write ( const output::pointer fp,
const char *  name,
gstate_where_ty value 
)

void gstate_where_write_xml ( const output::pointer fp,
const char *  name,
gstate_where_ty value 
)

void gstate_write ( const output::pointer fp,
gstate_ty value 
)

void gstate_write_file ( const nstring filnam,
gstate_ty value,
bool  comp 
)

The gstate_write_file function is used to write gstate meta data to the named file.

Parameters:
filnam The name of the file to be written.
value The value of the meta-data to be written.
comp true if data should be compressed.
Note:
If any errors are encountered, this function will not return. All errors will print a fatal error message, and exit with an exit status of 1.

void gstate_write_file ( string_ty filename,
gstate_ty value,
int  comp 
)

The gstate_write_file function is used to write gstate meta data to the named file.

Parameters:
filename The name of the file to be written.
value The value of the meta-data to be written.
comp true (non-zero) if data should be compressed.
Note:
If any errors are encountered, this function will not return. All errors will print a fatal error message, and exit with an exit status of 1.

void gstate_write_xml ( const output::pointer fp,
gstate_ty value 
)


Variable Documentation


Generated on Wed Mar 12 23:37:36 2008 for Aegis by  doxygen 1.5.5