57 LoadCSV(
const QString &base,
const HiCalConf &conf,
63 void load(
const QString &base,
const HiCalConf &conf,
70 const bool &throw_on_error =
false)
82 std::vector<QString> _history;
84 void init(
const QString &base,
const HiCalConf &conf,
86 void addHistory(
const QString &element,
const QString &desc);
87 void getKeyList(
const QString &base, std::vector<QString> &keys)
89 DbProfile ResolveKeys(
const QString &base,
const HiCalConf &conf,
91 QString ParsedKey(
const QString &key,
const HiCalConf &conf,
93 QString makeKey(
const QString &ksuffix =
"")
const;
94 QString getValue(
const QString &ksuffix =
"")
const;
96 int getAxisIndex(
const QString &name,
Reads strings and parses them into tokens separated by a delimiter character.
Definition CSVReader.h:239
Parser::TokenList CSVAxis
Row/Column token list.
Definition CSVReader.h:247
A DbProfile is a container for access parameters to a database.
Definition DbProfile.h:51
Definition HiCalTypes.h:30
Provides generalized access to HiRISE calibration CSV files.
Definition LoadCSV.h:52
QString filename() const
Definition LoadCSV.cpp:176
virtual ~LoadCSV()
Destructor.
Definition LoadCSV.h:61
int size() const
Definition LoadCSV.cpp:180
LoadCSV()
Definition LoadCSV.cpp:24
bool validateSize(const int &expected, const bool &throw_on_error=false) const
Definition LoadCSV.cpp:184
HiMatrix getMatrix() const
Definition LoadCSV.cpp:201
void load(const QString &base, const HiCalConf &conf, const DbProfile &profile)
Definition LoadCSV.cpp:32
void History(HiHistory &history) const
Definition LoadCSV.cpp:206
HiVector getVector() const
Definition LoadCSV.cpp:196
This is free and unencumbered software released into the public domain.
Definition Apollo.h:16
TNT::Array2D< double > HiMatrix
2-D buffer
Definition HiCalTypes.h:28
TNT::Array1D< double > HiVector
1-D Buffer
Definition HiCalTypes.h:27