Main Page | Modules | Alphabetical List | Data Structures | File List | Data Fields | Globals | Related Pages

sobjxc_table Struct Reference
[Implementation]

#include <sobjxc.h>

Collaboration diagram for sobjxc_table:

Collaboration graph
[legend]

Detailed Description

Structure representing a message and exception table as read from a message file.


Data Fields

sobjxc_messagemessage_list [2]
 The message list (head and tail).
sobjxc_exceptionexception_list [2]
 The exception list (head and tail).
const char * code_c
 Boilerplate code for the C output.
const char * code_h
 Boilerplate code for the C header file output.
sobjoptions
 The global options.

Related Functions

(Note that these are not member functions.)

sobjxc_tablenew_sobjxc_table (void)
 Create a new message/exception table object.
void delete_sobjxc_table (struct sobjxc_table *table)
 Delete a message/exception table object.
int sobjxc_table_add_message (struct sobjxc_table *table, struct sobjxc_message *message, const char *filename, int lineno)
 Add a message to a message/exception table.
int sobjxc_table_add_exception (struct sobjxc_table *table, struct sobjxc_exception *exception, const char *filename, int lineno)
 Add an exception to a message/exception table.
const char * sobjxc_table_get_module (const struct sobjxc_table *table)
 Get the module name from a table object.
int sobjxc_table_read_def (struct sobjxc_table *table, FILE *fp, const char *filename, struct sobj *options)
 Read an input file and add the messages and exceptions to the specified table.
int sobjxc_table_write_c (const struct sobjxc_table *table, FILE *fp, const char *filename)
 Write the table to a C file.
int sobjxc_table_write_h (const struct sobjxc_table *table, FILE *fp, const char *filename)
 Write the table to a C include file.
int sobjxc_table_write_xml (const struct sobjxc_table *table, FILE *fp, const char *filename)
 Write the table to an XML file.


Field Documentation

const char* sobjxc_table::code_c
 

Boilerplate code for the C output.

const char* sobjxc_table::code_h
 

Boilerplate code for the C header file output.

struct sobjxc_exception* sobjxc_table::exception_list[2]
 

The exception list (head and tail).

struct sobjxc_message* sobjxc_table::message_list[2]
 

The message list (head and tail).

struct sobj* sobjxc_table::options
 

The global options.


The documentation for this struct was generated from the following files:
Generated on Sat Jul 23 16:07:32 2005 for sobject by  doxygen 1.3.9.1