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 173 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 521 of file GlfFile.cpp.

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

00522 {
00523     if(!openForRead(filename))
00524     {
00525         // Failed to open for reading - print error and abort.
00526         fprintf(stderr, "%s\n", getStatusMessage());
00527         std::cerr << "FAILURE - EXITING!!!" << std::endl;
00528         exit(-1);
00529     }
00530 }


The documentation for this class was generated from the following files:
Generated on Tue Aug 23 18:19:08 2011 for libStatGen Software by  doxygen 1.6.3