GPLIB++
mtuparms.cpp
Go to the documentation of this file.
1 #include "TimeSeriesData.h"
2 #include <iostream>
3 
4 using namespace std;
5 using namespace gplib;
6 
7 int main()
8  {
9  string infilename;
10  TimeSeriesData TsData;
11 
12  cout << "Filename: ";
13  cin >> infilename;
14 
15  TsData.GetData(infilename);
16  cout << "Number of points: " << TsData.GetData().GetEx().GetData().size()
17  << endl;
18  }
std::vector< double > & GetData()
Access for data vector, for ease of use and efficiency we return a reference.
TimeSeries & GetData()
return a reference to the actual object stored in the pointer
TimeSeriesComponent & GetEx()
Definition: TimeSeries.h:47
TimeSeriesData stores a pointer to the different components of magnetotelluric data and provides func...
int main()
Definition: mtuparms.cpp:7