5 * Created by Thomas Ryabin on 1/30/09.
6 * Copyright 2009 __MyCompanyName__. All rights reserved.
10 #include "getlinecommand.h"
17 GetlineCommand::GetlineCommand(){
19 globaldata = GlobalData::getInstance();
22 cout << "Standard Error: " << e.what() << " has occurred in the GetlineCommand class Function GetlineCommand. Please contact Pat Schloss at pschloss@microbio.umass.edu." << "\n";
26 cout << "An unknown error has occurred in the GetlineCommand class function GetlineCommand. Please contact Pat Schloss at pschloss@microbio.umass.edu." << "\n";
32 //**********************************************************************************************************************
34 GetlineCommand::~GetlineCommand(){
37 //**********************************************************************************************************************
39 int GetlineCommand::execute(){
41 filename = globaldata->inputFileName;
43 openInputFile(filename, in);
65 cout << "Standard Error: " << e.what() << " has occurred in the GetlineCommand class Function execute. Please contact Pat Schloss at pschloss@microbio.umass.edu." << "\n";
69 cout << "An unknown error has occurred in the GetlineCommand class function execute. Please contact Pat Schloss at pschloss@microbio.umass.edu." << "\n";