QieFile Class Reference

This is the QieFile class. More...

#include <qie_caa.h>

List of all members.

Public Member Functions

 QieFile ()
 Constructor of the QieFile class.
 ~QieFile ()
void openFile (const char *fullName, const char *mode, bool overwrite=false)
void openIncludedFile (const char *fullName, const char *mode)
void closeFile ()
void rewindFile ()
bool readRecord (string &record)
char readLine (string &line_ptr, int &len)
char assembleLine (string &line_ptr, int &posn, char endMark)
void setEOL (char eol)
void setCMark (char cmark)
void setFileType (int ftype)
void setDataUntil (std::string duntil)
void setStartAfter (std::string safter)
void setAttrDelim (char delim)
void setDataDelim (char c)
void setRecNumbering (bool recNumOn)
bool skipNextRecord ()
int skipRestOfLine ()
void addChar (int &posn, int &available, string &line_ptr, char c)

Public Attributes

FILE * fp
char * name
bool is_gz
char end_of_line
char commentMark
char attr_delim
char data_delim
QieFileincludedFile
int fileType
std::string data_until
std::string start_after
bool recNumberingOn
int blockSize


Detailed Description

This is the QieFile class.

Remarks:
{ This class implements file pointers for flat files }

Constructor & Destructor Documentation

QieFile::QieFile (  ) 

Constructor of the QieFile class.

Parameters:
none 
Exceptions:
None 
Returns:
None

QieFile::~QieFile (  ) 


Member Function Documentation

void QieFile::addChar ( int &  posn,
int &  available,
string &  line_ptr,
char  c 
)

char QieFile::assembleLine ( string &  line_ptr,
int &  posn,
char  endMark 
)

void QieFile::closeFile (  ) 

void QieFile::openFile ( const char *  fullName,
const char *  mode,
bool  overwrite = false 
)

void QieFile::openIncludedFile ( const char *  fullName,
const char *  mode 
)

char QieFile::readLine ( string &  line_ptr,
int &  len 
)

bool QieFile::readRecord ( string &  record  ) 

void QieFile::rewindFile (  ) 

void QieFile::setAttrDelim ( char  delim  ) 

void QieFile::setCMark ( char  cmark  ) 

void QieFile::setDataDelim ( char  c  ) 

void QieFile::setDataUntil ( std::string  duntil  ) 

void QieFile::setEOL ( char  eol  ) 

void QieFile::setFileType ( int  ftype  ) 

void QieFile::setRecNumbering ( bool  recNumOn  ) 

void QieFile::setStartAfter ( std::string  safter  ) 

bool QieFile::skipNextRecord (  ) 

int QieFile::skipRestOfLine (  ) 


Member Data Documentation

std::string QieFile::data_until

FILE* QieFile::fp

std::string QieFile::start_after


The documentation for this class was generated from the following files:

Generated on Fri Jan 8 12:51:29 2010 for QSAS by  doxygen 1.5.7