2.0.0b10
catchment modelling framework
|
A list of rainfall stations. More...
A list of rainfall stations.
Public Member Functions | |
RainfallStation::ptr | add (std::string Name, cmf::math::timeseries Data, cmf::geometry::point Position) |
Creates a new RainfallStation and adds it to the list. | |
RainfallStation::ptr | operator[] (ptrdiff_t index) |
Returns the station at index. | |
const RainfallStation::ptr | operator[] (ptrdiff_t index) const |
Returns the station at index. | |
void | remove (ptrdiff_t index) |
Removes the station at index from this list. | |
size_t | size () const |
Returns the number of rainfall stations. | |
RainfallStation::ptr add | ( | std::string | Name, |
cmf::math::timeseries | Data, | ||
cmf::geometry::point | Position ) |
Creates a new RainfallStation and adds it to the list.
Usage:
The position of the rainfall station will be used as identifier
Name | Name of the station |
Data | Rainfall timeseries |
Position | Spatial position of the new station |