GlfFileWriter Class Reference

Inheritance diagram for GlfFileWriter:
Inheritance graph
[legend]
Collaboration diagram for GlfFileWriter:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 GlfFileWriter ()
 Default Constructor.
 GlfFileWriter (const char *filename)
 Constructor that opens the specified file for write.

Detailed Description

Definition at line 187 of file GlfFile.h.


Constructor & Destructor Documentation

GlfFileWriter::GlfFileWriter ( const char *  filename  ) 

Constructor that opens the specified file for write.

Parameters:
filename file to open for writing.

Definition at line 538 of file GlfFile.cpp.

References GlfFile::getStatusMessage(), and GlfFile::openForWrite().

00539 {
00540     if(!openForWrite(filename))
00541     {
00542         // Failed to open for reading - print error and abort.
00543         fprintf(stderr, "%s\n", getStatusMessage());
00544         std::cerr << "FAILURE - EXITING!!!" << std::endl;
00545         exit(-1);
00546     }
00547 }


The documentation for this class was generated from the following files:
Generated on Wed Nov 17 15:38:32 2010 for StatGen Software by  doxygen 1.6.3