56 strcpy (fFilename, fn);
57 if ( fBuffer.open( fn, ios::in) == 0) {
58 pzerror <<
"\nERROR(TDatafile::const)-> Cannot open " << fn <<
"\n";
69 virtual short Read (TCompGrid & malha) = 0;
int Error()
Returns if could opening or not the data file.
char fFilename[256]
File name.
virtual ~TDatafile()
Destructor.
int fFileError
Flag to report if the file is opening.
TDatafile(char *fn)
Constructor with filename of the data to import.
filebuf fBuffer
File from import data.
TDatafile is a virtual class from which classes with different data formats can be derived...
virtual short Read(TCompGrid &malha)=0
To import data into computational mesh.