inc/asParse.h File Reference

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  asTypeInfo
struct  asColumn
struct  asObject

Enumerations

enum  asTypes {
  t_double, t_float, t_char, t_int,
  t_uint, t_short, t_ushort, t_byte,
  t_ubyte, t_off, t_string, t_lstring,
  t_object, t_simple, t_enum, t_set
}

Functions

asObjectasParseFile (char *fileName)
asObjectasParseText (char *text)


Enumeration Type Documentation

enum asTypes

Enumerator:
t_double 
t_float 
t_char 
t_int 
t_uint 
t_short 
t_ushort 
t_byte 
t_ubyte 
t_off 
t_string 
t_lstring 
t_object 
t_simple 
t_enum 
t_set 

Definition at line 6 of file asParse.h.

00008    {
00009    t_double,   /* double precision floating point. */
00010    t_float,    /* single precision floating point. */
00011    t_char,     /* character or fixed size character array. */
00012    t_int,      /* signed 32 bit integer */
00013    t_uint,     /* unsigned 32 bit integer */
00014    t_short,    /* signed 16 bit integer */
00015    t_ushort,   /* unsigned 16 bit integer */
00016    t_byte,     /* signed 8 bit integer */
00017    t_ubyte,    /* unsigned 8 bit integer */
00018    t_off,      /* 64 bit integer. */
00019    t_string,   /* varchar/char * (variable size string up to 255 chars)  */
00020    t_lstring,     /* variable sized large string. */
00021    t_object,   /* composite object - object/table - forms lists. */
00022    t_simple,   /* simple composite object - forms arrays. */
00023    t_enum,     /* enumerated symbolic values */
00024    t_set,      /* set of symbolic values */
00025    };


Function Documentation

struct asObject* asParseFile ( char *  fileName  )  [read]

Definition at line 231 of file asParse.c.

References asParseLineFile(), lineFileOpen(), and TRUE.

00233 {
00234 return asParseLineFile(lineFileOpen(fileName, TRUE));
00235 }

Here is the call graph for this function:

struct asObject* asParseText ( char *  text  )  [read]

Definition at line 238 of file asParse.c.

References asParseLineFile(), cloneString(), lineFileOnString(), and TRUE.

00240 {
00241 char *dupe = cloneString(text);
00242 struct lineFile *lf = lineFileOnString("text", TRUE, dupe);
00243 struct asObject *objList = asParseLineFile(lf);
00244 return objList;
00245 }

Here is the call graph for this function:


Generated on Tue Dec 25 18:41:10 2007 for blat by  doxygen 1.5.2