goblinImport Class Reference
[Importing objects from file]

Class for reading data objects from file. More...

#include <fileImport.h>

Inheritance diagram for goblinImport:

goblinRootObject

Public Member Functions

 goblinImport (const char *, goblinController &=goblinDefaultContext) throw (ERFile)
 ~goblinImport () throw (ERParse)
char * Display () const throw ()
const char * Label () const throw ()
unsigned long Size () const throw ()
ifstream & Stream () throw ()
char * Scan (char *=NULL, TOwnership=OWNED_BY_RECEIVER) throw (ERParse)
bool Seek (char *token) throw (ERParse)
bool Head () throw ()
bool Tail () throw ()
bool Eof () throw ()
TNode * GetTNodeTuple (unsigned long) throw (ERParse)
TArc * GetTArcTuple (unsigned long) throw (ERParse)
TCap * GetTCapTuple (unsigned long) throw (ERParse)
TFloat * GetTFloatTuple (unsigned long) throw (ERParse)
TIndex * GetTIndexTuple (unsigned long) throw (ERParse)
char * GetCharTuple (unsigned long) throw (ERParse)
void ReadConfiguration () throw (ERParse)
bool Constant () throw ()
unsigned long Length () throw ()
void DontComplain () throw ()
void SetDimensions (TNode nn, TArc mm, TNode nni) throw ()
size_t AllocateTuple (TBaseType, TArrayDim) throw (ERRejected)
void ReadTupleValues (TBaseType, size_t, void *=NULL) throw (ERParse)
template<typename TEntry>
TEntry * GetTuple () throw ()
template<typename TToken>
TToken ReadTuple (const TPoolTable listOfParameters[], TToken endToken, TToken undefToken) throw ()

Detailed Description

Class for reading data objects from file.


Constructor & Destructor Documentation

goblinImport (  const char *  ,
goblinController &  = goblinDefaultContext
)  throw (ERFile)
 

~goblinImport (   )  throw (ERParse)
 


Member Function Documentation

size_t AllocateTuple (  TBaseType  ,
TArrayDim 
)  throw (ERRejected)
 

bool Constant (   )  throw ()
 

char* Display (   )  const throw () [virtual]
 

Implements goblinRootObject.

void DontComplain (   )  throw ()
 

bool Eof (   )  throw ()
 

char * GetCharTuple (  unsigned  long  )  throw (ERParse)
 

TArc * GetTArcTuple (  unsigned  long  )  throw (ERParse)
 

TCap * GetTCapTuple (  unsigned  long  )  throw (ERParse)
 

TFloat * GetTFloatTuple (  unsigned  long  )  throw (ERParse)
 

TIndex * GetTIndexTuple (  unsigned  long  )  throw (ERParse)
 

TNode * GetTNodeTuple (  unsigned  long  )  throw (ERParse)
 

bool Head (   )  throw ()
 

const char* Label (   )  const throw () [virtual]
 

Implements goblinRootObject.

unsigned long Length (   )  throw ()
 

void ReadConfiguration (   )  throw (ERParse)
 

void ReadTupleValues (  TBaseType  ,
size_t  ,
void *  = NULL
)  throw (ERParse)
 

char * Scan (  char *  = NULL,
TOwnership  = OWNED_BY_RECEIVER
)  throw (ERParse)
 

bool Seek (  char *  token  )  throw (ERParse)
 

void SetDimensions (  TNode  nn,
TArc  mm,
TNode  nni
)  throw ()
 

unsigned long Size (   )  const throw () [virtual]
 

Implements goblinRootObject.

ifstream& Stream (   )  throw ()
 

bool Tail (   )  throw ()