5 * Created by Thomas Ryabin on 1/30/09.
6 * Copyright 2009 __MyCompanyName__. All rights reserved.
10 #include "getlabelcommand.h"
14 GetlabelCommand::GetlabelCommand(){
16 globaldata = GlobalData::getInstance();
19 cout << "Standard Error: " << e.what() << " has occurred in the GetlabelCommand class Function GetlabelCommand. Please contact Pat Schloss at pschloss@microbio.umass.edu." << "\n";
23 cout << "An unknown error has occurred in the GetlabelCommand class function GetlabelCommand. Please contact Pat Schloss at pschloss@microbio.umass.edu." << "\n";
29 //**********************************************************************************************************************
31 GetlabelCommand::~GetlabelCommand(){
34 //**********************************************************************************************************************
36 int GetlabelCommand::execute(){
38 filename = globaldata->inputFileName;
40 openInputFile(filename, in);
50 cout << label << "\n";
60 cout << "Standard Error: " << e.what() << " has occurred in the GetlabelCommand class Function execute. Please contact Pat Schloss at pschloss@microbio.umass.edu." << "\n";
64 cout << "An unknown error has occurred in the GetlabelCommand class function execute. Please contact Pat Schloss at pschloss@microbio.umass.edu." << "\n";