GPLIB++
|
Manages a collection of seismic traces, mainly provides functionality to read in data specified in a file with names. More...
#include <SeismicStationList.h>
Public Types | |
typedef std::vector < boost::shared_ptr < SeismicDataComp > > | tseiscompvector |
Public Member Functions | |
tseiscompvector & | GetList () |
Return the content of the list for manipulation. More... | |
const tseiscompvector & | GetList () const |
return a read only version of thelist More... | |
void | ReadList (const std::string filename) |
read in a file with names and optionally coordinates More... | |
void | WriteList (const std::string filename="station.list") |
Write out a file with the names of the files in the current list. More... | |
void | WriteAllData () |
Write out the data of the files in the list. More... | |
SeismicStationList () | |
virtual | ~SeismicStationList () |
Manages a collection of seismic traces, mainly provides functionality to read in data specified in a file with names.
Definition at line 13 of file SeismicStationList.h.
typedef std::vector<boost::shared_ptr<SeismicDataComp> > gplib::SeismicStationList::tseiscompvector |
Definition at line 16 of file SeismicStationList.h.
gplib::SeismicStationList::SeismicStationList | ( | ) |
Definition at line 9 of file SeismicStationList.cpp.
|
virtual |
Definition at line 13 of file SeismicStationList.cpp.
|
inline |
Return the content of the list for manipulation.
Definition at line 21 of file SeismicStationList.h.
Referenced by main(), and WriteToNetCDF().
|
inline |
return a read only version of thelist
Definition at line 26 of file SeismicStationList.h.
void gplib::SeismicStationList::ReadList | ( | const std::string | filename | ) |
read in a file with names and optionally coordinates
Definition at line 17 of file SeismicStationList.cpp.
Referenced by main().
void gplib::SeismicStationList::WriteAllData | ( | ) |
Write out the data of the files in the list.
Definition at line 67 of file SeismicStationList.cpp.
void gplib::SeismicStationList::WriteList | ( | const std::string | filename = "station.list" | ) |
Write out a file with the names of the files in the current list.
Definition at line 50 of file SeismicStationList.cpp.