![]() |
TerraLib 4.1
|
A class for handling "stdio" files. More...
#include <TeStdFile.h>
Public Member Functions | |
| TeStdFile (const string &name, const char *mode="r") | |
| Simple constructor taking the file name and the mode of oppening. | |
| virtual | ~TeStdFile () |
| bool | isNotAtEOF () |
| Return true if the file pointer is not at the end of file. | |
| string | name () |
| operator FILE * () | |
| FILE * | FilePtr () |
| void | rewind () |
Protected Attributes | |
| FILE * | file_ |
| string | fileName_ |
| string | mode_ |
A class for handling "stdio" files.
| TeStdFile::TeStdFile | ( | const string & | name, |
| const char * | mode = "r" |
||
| ) |
Simple constructor taking the file name and the mode of oppening.
| TeStdFile::~TeStdFile | ( | ) | [virtual] |
| FILE* TeStdFile::FilePtr | ( | ) | [inline] |
| bool TeStdFile::isNotAtEOF | ( | ) | [inline] |
Return true if the file pointer is not at the end of file.
| string TeStdFile::name | ( | ) | [inline] |
| TeStdFile::operator FILE * | ( | ) | [inline] |
| void TeStdFile::rewind | ( | ) |
FILE* TeStdFile::file_ [protected] |
string TeStdFile::fileName_ [protected] |
string TeStdFile::mode_ [protected] |