1 #ifndef __DELPHOS_CCOLS_H__
2 #define __DELPHOS_CCOLS_H__
16 typedef unsigned long BlockIndexType;
18 typedef unsigned int BlockIndexType;
30 exprtk::expression<double> _vexpr;
31 vector<unsigned int> _vars_column_index;
32 vector<double> _values;
40 void ReplaceStringInPlace(std::string& subject,
const std::string& search,
const std::string& replace);
61 void SetFormula(
const string& formula);
65 string GetFormula()
const;
70 vector<unsigned int> GetSubCols()
const;
74 void CompileFormula();
80 double EvalFormula(
const delphos::BlockIndexType& index);
Abstracts a container of blocks as a table with arbitrary number of attributes that can be accessed b...
Definition: blockmodel.h:62
Abstracts a container of computed column.
Definition: ccols.h:27