#include <MTStationList.h>
Public Member Functions | |
| tStationList & | GetList () |
| Access to the complete vector of Stations. | |
| void | GetData (const std::string filename) |
| Read a list of filenames and the associated data in those files to fill the list. | |
| void | WriteList (const std::string filename="station.list") |
| Write the names of the sites in the current list to a file. | |
| void | WriteAllData () |
| Write the data of each station to an individual file. | |
| const std::vector< tindexvector > & | GetComFreqIndices () |
| Get a vector that for each site contains the indices to the common frequencies. | |
| const trealdata & | GetCommonFrequencies () |
| Get a vector with frequencies that are common to all sites. | |
| MTStation & | at (int loc) |
| Get a reference to a site at a given index. | |
| MTStationList () | |
| virtual | ~MTStationList () |
Definition at line 14 of file MTStationList.h.
| MTStationList::MTStationList | ( | ) |
Definition at line 15 of file MTStationList.cpp.
| MTStationList::~MTStationList | ( | ) | [virtual] |
Definition at line 18 of file MTStationList.cpp.
Get a reference to a site at a given index.
Definition at line 58 of file MTStationList.cpp.
Referenced by main(), and PrintComponent().
| const std::vector<tindexvector>& MTStationList::GetComFreqIndices | ( | ) | [inline] |
Get a vector that for each site contains the indices to the common frequencies.
Definition at line 34 of file MTStationList.h.
Referenced by main(), and PrintComponent().
| const trealdata& MTStationList::GetCommonFrequencies | ( | ) | [inline] |
Get a vector with frequencies that are common to all sites.
Definition at line 36 of file MTStationList.h.
Referenced by main(), and PromptAndReadFreqIndex().
| void MTStationList::GetData | ( | const std::string | filename | ) |
Read a list of filenames and the associated data in those files to fill the list.
Definition at line 22 of file MTStationList.cpp.
References MTStation::GetData(), MTStation::SetLatitude(), and MTStation::SetLongitude().
Referenced by main(), and PromptAndReadStationFile().
| tStationList& MTStationList::GetList | ( | ) | [inline] |
Access to the complete vector of Stations.
Definition at line 26 of file MTStationList.h.
Referenced by main(), and PrintComponent().
| void MTStationList::WriteAllData | ( | ) |
Write the data of each station to an individual file.
Definition at line 78 of file MTStationList.cpp.
| void MTStationList::WriteList | ( | const std::string | filename = "station.list" |
) |
Write the names of the sites in the current list to a file.
Definition at line 63 of file MTStationList.cpp.
Referenced by main().
1.5.8