GlfFileReader Class Reference

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

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 172 of file GlfFile.h.


Constructor & Destructor Documentation

GlfFileReader::GlfFileReader ( const char *  filename  ) 

Constructor that opens the specified file for read.

Parameters:
filename file to open for reading.

Definition at line 514 of file GlfFile.cpp.

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

00515 {
00516     if(!openForRead(filename))
00517     {
00518         // Failed to open for reading - print error and abort.
00519         fprintf(stderr, "%s\n", getStatusMessage());
00520         std::cerr << "FAILURE - EXITING!!!" << std::endl;
00521         exit(-1);
00522     }
00523 }


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