36 #ifndef _COLUMNDATAREADER_HPP_
37 #define _COLUMNDATAREADER_HPP_
39 #include "AbstractDataReader.hpp"
45 #include "FileFinder.hpp"
96 void CheckFiles(
const std::string& rDirectory,
const std::string& rBaseName);
118 const std::string& rBaseName,
119 bool makeAbsolute=
true);
129 const std::string& rBaseName);
136 std::vector<double>
GetValues(
const std::string& rVariableName);
144 std::vector<double>
GetValues(
const std::string& rVariableName,
int fixedDimension);
156 bool HasValues(
const std::string& rVariableName);
164 #endif //_COLUMNDATAREADER_HPP_
std::string mAncillaryFilename
std::map< std::string, int > mVariablesToColumns
std::string mInfoFilename
bool HasValues(const std::string &rVariableName)
bool mHasUnlimitedDimension
std::vector< double > GetValues(const std::string &rVariableName)
void ReadColumnFromFile(const std::string &rFilename, int col)
std::string mDataFilename
std::map< std::string, std::string > mVariablesToUnits
std::vector< double > GetUnlimitedDimensionValues()
void CheckFiles(const std::string &rDirectory, const std::string &rBaseName)
ColumnDataReader(const std::string &rDirectory, const std::string &rBaseName, bool makeAbsolute=true)
void ReadValueFromFile(const std::string &rFilename, int col, int row)
std::vector< double > mValues
void PushColumnEntryFromLine(const std::string &rLine, int col)