Reader< D > Class Template Reference

#include <Reader.h>

Public Member Functions

 Reader (const std::string &fname, D &init)
 
 Reader (const Reader &rdr)
 
void readDatum (D &dest, int i, int j)
 
std::unique_ptr< D > readDatum (int i, int j)
 
std::unique_ptr< std::vector< std::vector< D > > > readAll ()
 
std::unique_ptr< std::vector< D > > readRow (int i)
 
std::unique_ptr< std::vector< D > > readCol (int j)
 
const TOCgetTOC () const
 

Constructor & Destructor Documentation

◆ Reader() [1/2]

template<typename D >
Reader< D >::Reader ( const std::string &  fname,
D &  init 
)
inline

◆ Reader() [2/2]

template<typename D >
Reader< D >::Reader ( const Reader< D > &  rdr)
inline

Member Function Documentation

◆ getTOC()

template<typename D >
const TOC& Reader< D >::getTOC ( ) const
inline

◆ readAll()

template<typename D >
std::unique_ptr<std::vector<std::vector<D> > > Reader< D >::readAll ( )
inline

◆ readCol()

template<typename D >
std::unique_ptr<std::vector<D> > Reader< D >::readCol ( int  j)
inline

◆ readDatum() [1/2]

template<typename D >
void Reader< D >::readDatum ( D &  dest,
int  i,
int  j 
)
inline

◆ readDatum() [2/2]

template<typename D >
std::unique_ptr<D> Reader< D >::readDatum ( int  i,
int  j 
)
inline

◆ readRow()

template<typename D >
std::unique_ptr<std::vector<D> > Reader< D >::readRow ( int  i)
inline