All pastes #93484 Raw Edit

Something

public cpp v1 · immutable
#93484 ·published 2006-07-20 14:10 UTC
rendered paste body
	/* 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<std::string> GetRow() = 0;