USGS

Isis 3.0 Application Source Code Reference

Home

catoriglab.cpp

Go to the documentation of this file.
00001 #include "Isis.h"
00002 #include "Pvl.h"
00003 #include "OriginalLabel.h"
00004 
00005 using namespace Isis;
00006 using namespace std;
00007 
00008 void IsisMain() {
00009 
00010   // Get user entered file name & mode 
00011   UserInterface &ui = Application::GetUserInterface();
00012   string file = ui.GetFilename("FROM");
00013 
00014   // Extract history from file
00015   OriginalLabel origLab(file);
00016   Pvl pvl = origLab.ReturnLabels();
00017   cout << pvl << endl;
00018 }