TerraLib 4.1
TeStdFile Class Reference

A class for handling "stdio" files. More...

#include <TeStdFile.h>

Inheritance diagram for TeStdFile:
TeAsciiFile TeSPRFile

List of all members.

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_

Detailed Description

A class for handling "stdio" files.


Constructor & Destructor Documentation

TeStdFile::TeStdFile ( const string name,
const char *  mode = "r" 
)

Simple constructor taking the file name and the mode of oppening.

TeStdFile::~TeStdFile ( ) [virtual]

Member Function Documentation

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 ( )

Member Data Documentation

FILE* TeStdFile::file_ [protected]
string TeStdFile::mode_ [protected]

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines