Classes | Public Member Functions | Protected Attributes | List of all members
ion::STable Class Reference

#include <STable.h>

Inheritance diagram for ion::STable:
Inheritance graph
[legend]
Collaboration diagram for ion::STable:
Collaboration graph
[legend]

Classes

class  SFieldIterator
 
class  SRow
 

Public Member Functions

std::vector< SRow > const & GetValues () const
 
std::vector< SRow > const & GetRows () const
 
SRowAddRow ()
 
void AddField (std::string const &Field)
 
bool HasField (std::string const &Field)
 
SRange< double > GetFieldRange (std::string const &Field, double const OutlierCutoff=5, SRange< double > const &acceptedValues=SRange< double >::Full) const
 
SFieldIterator Begin (std::string const &Field)
 
SFieldIterator End (std::string const &Field)
 
vector< SRow >::iterator begin ()
 
vector< SRow >::iterator end ()
 
size_t Size () const
 
void Clear ()
 
void WriteToFile (std::ofstream &File)
 
void ReadFromFile (std::ifstream &File)
 

Protected Attributes

std::vector< SRowRows
 
std::map< std::string, std::vector< double > > Fields
 

Member Function Documentation

void ion::STable::AddField ( std::string const &  Field)
virtual
STable::SRow & ion::STable::AddRow ( )
STable::SFieldIterator ion::STable::Begin ( std::string const &  Field)
vector< STable::SRow >::iterator ion::STable::begin ( )
void ion::STable::Clear ( )
STable::SFieldIterator ion::STable::End ( std::string const &  Field)
vector< STable::SRow >::iterator ion::STable::end ( )
SRange< double > ion::STable::GetFieldRange ( std::string const &  Field,
double const  OutlierCutoff = 5,
SRange< double > const &  acceptedValues = SRange<double>::Full 
) const
virtual
Parameters
OutlierCutoffValues outside of this many standard deviations are excluded
FieldField to find range of
acceptedValuesRange of values to consider (superset of return value)

Implements ion::IDatabase< double >.

std::vector< STable::SRow > const & ion::STable::GetRows ( ) const
std::vector< STable::SRow > const & ion::STable::GetValues ( ) const
bool ion::STable::HasField ( std::string const &  Field)
virtual
void ion::STable::ReadFromFile ( std::ifstream &  File)
size_t ion::STable::Size ( ) const
void ion::STable::WriteToFile ( std::ofstream &  File)

Member Data Documentation

std::map<std::string, std::vector<double> > ion::STable::Fields
protected
std::vector<SRow> ion::STable::Rows
protected

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