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

#include <Grid.h>

Public Member Functions

 Grid ()
 
 Grid (const Grid &orig)
 
 Grid (const std::string &file)
 
virtual ~Grid ()
 
virtual void setup (const std::string &file)
 
virtual void getRectangle (std::size_t station_key, Matrix &mask, std::size_t width, std::size_t height, bool same_padding=false) const
 
virtual std::size_t nrows () const
 
virtual std::size_t ncols () const
 
virtual std::size_t nkeys () const
 
virtual std::string summary () const
 
virtual std::string detail () const
 
virtual double getMaxKey () const
 
auto begin () const
 
auto end () const
 
Gridoperator= (const Grid &rhs)
 
RowCol operator[] (std::size_t station_key) const
 
double operator() (std::size_t row, std::size_t col) const
 

Protected Attributes

size_t nan_count_
 
Matrix grid_
 
RowCols row_cols_
 

Friends

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

Constructor & Destructor Documentation

◆ Grid() [1/3]

Grid::Grid ( )

◆ Grid() [2/3]

Grid::Grid ( const Grid orig)

◆ Grid() [3/3]

Grid::Grid ( const std::string &  file)

◆ ~Grid()

Grid::~Grid ( )
virtual

Member Function Documentation

◆ begin()

auto Grid::begin ( ) const
inline

◆ detail()

string Grid::detail ( ) const
virtual

◆ end()

auto Grid::end ( ) const
inline

◆ getMaxKey()

double Grid::getMaxKey ( ) const
virtual

◆ getRectangle()

void Grid::getRectangle ( std::size_t  station_key,
Matrix mask,
std::size_t  width,
std::size_t  height,
bool  same_padding = false 
) const
virtual

◆ ncols()

size_t Grid::ncols ( ) const
virtual

◆ nkeys()

size_t Grid::nkeys ( ) const
virtual

◆ nrows()

size_t Grid::nrows ( ) const
virtual

◆ operator()()

double Grid::operator() ( std::size_t  row,
std::size_t  col 
) const

◆ operator=()

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

◆ operator[]()

RowCol Grid::operator[] ( std::size_t  station_key) const

◆ setup()

void Grid::setup ( const std::string &  file)
virtual

◆ summary()

string Grid::summary ( ) const
virtual

Friends And Related Function Documentation

◆ operator<<

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

Member Data Documentation

◆ grid_

Matrix Grid::grid_
protected

◆ nan_count_

size_t Grid::nan_count_
protected

◆ row_cols_

RowCols Grid::row_cols_
protected

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