Parallel Analog Ensemble
Public Member Functions | Protected Attributes | Friends | List of all members
BasicData Class Reference

BasicData is an implementation of the data structure used by Analog Ensemble. It includes parameters, stations, and times. More...

#include <BasicData.h>

Inheritance diagram for BasicData:
Forecasts Observations ForecastsPointer ObservationsPointer

Public Member Functions

 BasicData ()
 
 BasicData (const Parameters &, const Stations &, const Times &)
 
 BasicData (const BasicData &orig)
 
virtual ~BasicData ()
 
void setMembers (const Parameters &, const Stations &, const Times &)
 
const ParametersgetParameters () const
 
const StationsgetStations () const
 
const TimesgetTimes () const
 
ParametersgetParameters ()
 
StationsgetStations ()
 
TimesgetTimes ()
 
std::size_t getTimeStamp (std::size_t index) const
 
std::size_t getTimeIndex (std::size_t timestamp) const
 
std::size_t getTimeIndex (const Time &) const
 
BasicDataoperator= (const BasicData &)
 
virtual void print (std::ostream &) const
 

Protected Attributes

Parameters parameters_
 
Stations stations_
 
Times times_
 

Friends

std::ostream & operator<< (std::ostream &, BasicData const &)
 

Detailed Description

BasicData is an implementation of the data structure used by Analog Ensemble. It includes parameters, stations, and times.

Constructor & Destructor Documentation

◆ BasicData() [1/3]

BasicData::BasicData ( )

◆ BasicData() [2/3]

BasicData::BasicData ( const Parameters parameters,
const Stations stations,
const Times times 
)

◆ BasicData() [3/3]

BasicData::BasicData ( const BasicData orig)

◆ ~BasicData()

BasicData::~BasicData ( )
virtual

Member Function Documentation

◆ getParameters() [1/2]

Parameters & BasicData::getParameters ( )

◆ getParameters() [2/2]

const Parameters & BasicData::getParameters ( ) const

◆ getStations() [1/2]

Stations & BasicData::getStations ( )

◆ getStations() [2/2]

const Stations & BasicData::getStations ( ) const

◆ getTimeIndex() [1/2]

size_t BasicData::getTimeIndex ( const Time time) const

◆ getTimeIndex() [2/2]

std::size_t BasicData::getTimeIndex ( std::size_t  timestamp) const

◆ getTimes() [1/2]

Times & BasicData::getTimes ( )

◆ getTimes() [2/2]

const Times & BasicData::getTimes ( ) const

◆ getTimeStamp()

size_t BasicData::getTimeStamp ( std::size_t  index) const

◆ operator=()

BasicData & BasicData::operator= ( const BasicData rhs)

◆ print()

void BasicData::print ( std::ostream &  ) const
virtual

◆ setMembers()

void BasicData::setMembers ( const Parameters parameters,
const Stations stations,
const Times times 
)

Friends And Related Function Documentation

◆ operator<<

std::ostream & operator<< ( std::ostream &  ,
BasicData const &   
)
friend

Member Data Documentation

◆ parameters_

Parameters BasicData::parameters_
protected

◆ stations_

Stations BasicData::stations_
protected

◆ times_

Times BasicData::times_
protected

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