#include <qie_caa.h>
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 () |
| string | readRecord () |
| char | readLine (string &line_ptr) |
| char | assembleLine (string &line_ptr, int &posn) |
| 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, string &emptyBlock, char c) |
Public Attributes | |
| FILE * | fp |
| char * | name |
| bool | is_gz |
| char | end_of_line |
| char | commentMark |
| char | attr_delim |
| char | data_delim |
| QieFile * | includedFile |
| int | fileType |
| std::string | data_until |
| std::string | start_after |
| bool | recNumberingOn |
| QieFile::QieFile | ( | ) |
| QieFile::~QieFile | ( | ) |
| void QieFile::addChar | ( | int & | posn, | |
| int & | available, | |||
| string & | line_ptr, | |||
| string & | emptyBlock, | |||
| char | c | |||
| ) |
| char QieFile::assembleLine | ( | string & | line_ptr, | |
| int & | posn | |||
| ) |
| 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 | ) |
| string QieFile::readRecord | ( | ) |
| 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 | ( | ) |
| char QieFile::attr_delim |
| char QieFile::commentMark |
| char QieFile::data_delim |
| std::string QieFile::data_until |
| char QieFile::end_of_line |
| FILE* QieFile::fp |
| bool QieFile::is_gz |
| char* QieFile::name |
| std::string QieFile::start_after |
1.5.7