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

List of all members.

Public Member Functions

 GlfFileReader ()
 Default Constructor.
 GlfFileReader (const char *filename)
 Constructor that opens the specified file for read.

Detailed Description

Definition at line 173 of file GlfFile.h.


Constructor & Destructor Documentation

GlfFileReader::GlfFileReader ( const char *  filename)

Constructor that opens the specified file for read.

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

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