libStatGen Software
1
|
Public Member Functions | |
GlfFileReader () | |
Default Constructor. | |
GlfFileReader (const char *filename) | |
Constructor that opens the specified file for read. |
GlfFileReader::GlfFileReader | ( | const char * | filename | ) |
Constructor that opens the specified file for read.
filename | file to open for reading. |
Definition at line 528 of file GlfFile.cpp.
References GlfFile::getStatusMessage(), and GlfFile::openForRead().
{ if(!openForRead(filename)) { // Failed to open for reading - print error and abort. fprintf(stderr, "%s\n", getStatusMessage()); std::cerr << "FAILURE - EXITING!!!" << std::endl; exit(-1); } }