////////////////////////////////////////////////////////////////////////// // // (C) Copyright 2003 by GATS, Inc. // 11864 Canon Blvd., STE 101 // Newport News, VA 23606 // // All Rights Reserved. No part of this software or publication may be // reproduced, stored in a retrieval system, or transmitted, in any form // or by any means, electronic, mechanical, photocopying, recording, or // otherwise without the prior written permission of GATS, Inc. // ////////////////////////////////////////////////////////////////////////// // // Class: NMC_FileReader // // Filename: NMC_FileReader.cpp // // Description: Implementation file for NMC_FileReader class. // Refer to header file for more details. // // Author: Y.Wang // (757)873-5920 // ////////////////////////////////////////////////////////////////////////// #include #include #include #include #include #include //#include //#include #include #include #include "NMC_FileReader.h" #include "GeneralConsts.h" #define ABOVE10mbar #ifndef GREF #define GREF 9.8 #endif //#undef ABOVE10mbar using namespace std; /////////////////////////////////////////////////////////////////////// // // Method: NMC_FileReader // // Description: Default constructor. // ////////////////////////////////////////////////////////////////////////// NMC_FileReader::NMC_FileReader() { BasicInitialize(); } /////////////////////////////////////////////////////////////////////// // // Method: NMC_FileReader // // Description: Class constructor. Gives the class the name of the file // to be read. // // Inputs: the_filename - The name of the file to be read. // ////////////////////////////////////////////////////////////////////////// NMC_FileReader::NMC_FileReader(const std::string &the_filename) throw(const char*, exception) { //cout<<"Input File Name: "<