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