GPLIB++
Public Types | Public Member Functions | List of all members
gplib::SeismicStationList Class Reference

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

tseiscompvectorGetList ()
 Return the content of the list for manipulation. More...
 
const tseiscompvectorGetList () 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 ()
 

Detailed Description

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.

Member Typedef Documentation

typedef std::vector<boost::shared_ptr<SeismicDataComp> > gplib::SeismicStationList::tseiscompvector

Definition at line 16 of file SeismicStationList.h.

Constructor & Destructor Documentation

gplib::SeismicStationList::SeismicStationList ( )

Definition at line 9 of file SeismicStationList.cpp.

gplib::SeismicStationList::~SeismicStationList ( )
virtual

Definition at line 13 of file SeismicStationList.cpp.

Member Function Documentation

tseiscompvector& gplib::SeismicStationList::GetList ( )
inline

Return the content of the list for manipulation.

Definition at line 21 of file SeismicStationList.h.

Referenced by main(), and WriteToNetCDF().

const tseiscompvector& gplib::SeismicStationList::GetList ( ) const
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.


The documentation for this class was generated from the following files: