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