exip  Alpha 0.5.4
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
textOutputUtils.c File Reference

Implement utility functions for storing EXIPSchema instances as human readable descriptions. More...

#include "schemaOutputUtils.h"
#include "sTables.h"

Go to the source code of this file.

Functions

errorCode textGrammarOutput (QNameID qnameid, Index grIndex, EXIGrammar *gr, EXIPSchema *schema, FILE *out)
 TEXT OUTPUT DEFINITIONS. More...
 
errorCode recursiveTextGrammarOutput (QNameID qnameid, Index grIndex, EXIGrammar *gr, EXIPSchema *schema, FILE *out)
 Recursively builds an EXI grammars text representation and stores it in out. More...
 

Detailed Description

Date
May 7, 2012
Author
Rumen Kyusakov
Version
0.5
[Revision] $Id: textOutputUtils.c 328 2013-10-30 16:00:10Z kjussakov $

Definition in file textOutputUtils.c.

Function Documentation

errorCode recursiveTextGrammarOutput ( QNameID  qnameid,
Index  grIndex,
EXIGrammar gr,
EXIPSchema schema,
FILE *  out 
)

All referenced grammars through SE(QName) are also written to the output

Parameters
[in]qnameidthe qnameid of the EXI grammar
[in]grIndexindex in the schema grammar table
[in]grEXI grammar to be stored
[in]schemathe EXIPSchema instance
[out]outoutput stream
Returns
Error handling code

Definition at line 174 of file textOutputUtils.c.

errorCode textGrammarOutput ( QNameID  qnameid,
Index  grIndex,
EXIGrammar gr,
EXIPSchema schema,
FILE *  out 
)

Builds an EXI grammar text representation and stores it in out

Parameters
[in]qnameidthe qnameid of the EXI grammar
[in]grIndexindex in the schema grammar table
[in]grEXI grammar to be stored
[in]schemathe EXIPSchema instance
[out]outoutput stream
Returns
Error handling code

Definition at line 22 of file textOutputUtils.c.