/* Return the number of rows in the result */ virtual int Rows() = 0; /* Return the number of columns in the result */ virtual int Cols() = 0; /* Get a string name of the column by an index number */ virtual std::string ColName(int column) = 0; /* Get an index number for a column from a string name */ virtual int ColNum(const std::string &column) = 0; /* Get a string value in a given row and column */ virtual std::string GetValue(int row, int column) = 0; /* Return a list of values in a row, this should * increment an internal counter so you can repeatedly * call it until it returns an empty vector. */ virtual std::vector GetRow() = 0;