libStatGen Software  1
GlfFileWriter Class Reference
Inheritance diagram for GlfFileWriter:
Collaboration diagram for GlfFileWriter:

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:
filenamefile 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);
    }
}

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends