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 188 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 545 of file GlfFile.cpp.

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

00546 {
00547     if(!openForWrite(filename))
00548     {
00549         // Failed to open for reading - print error and abort.
00550         fprintf(stderr, "%s\n", getStatusMessage());
00551         std::cerr << "FAILURE - EXITING!!!" << std::endl;
00552         exit(-1);
00553     }
00554 }


The documentation for this class was generated from the following files:
Generated on Tue Sep 6 17:52:02 2011 for libStatGen Software by  doxygen 1.6.3