Example #1
0
void Table::add_row(const string& syn, int val)
{
    this->add_row_syn_preamble(TS_ADD_ROW_I, syn);
    Record row;
    row.add_value(val);
    this->auxRecords->push_back(row);
}
Example #2
0
void Table::add_row(const string& synOne, int valOne,
        const string& synTwo, int valTwo)
{
    this->add_row_syn_syn_preamble(TS_ADD_ROW_II, synOne, synTwo);
    Record row;
    row.add_value(valOne);
    row.add_value(valTwo);
    this->auxRecords->push_back(row);
}