1 #ifndef __RESULT_H_INCLUDED__
2 #define __RESULT_H_INCLUDED__
34 virtual std::string getName()
const = 0;
35 virtual type_t getType()
const = 0;
36 virtual bool isBinary()
const;
40 virtual void release() throw();
41 virtual
bool hasNext() const throw(
Exception&) = 0;
42 virtual std::vector<std::
string>* next() throw(Exception&) = 0;
43 virtual
unsigned long* columnLengths() throw(Exception&) = 0;
44 virtual uint64_t index() const throw(std::out_of_range&) = 0;
45 virtual
Column* column(uint16_t i) const throw(std::out_of_range&) = 0;
46 virtual uint64_t insertId() const throw(Exception&);
47 virtual uint64_t affectedCount() const throw() = 0;
48 virtual uint16_t warningCount() const throw(Exception&);
49 virtual uint16_t columnCount() const throw() = 0;
50 virtual uint64_t count() const throw(Exception&);
51 virtual
bool isBuffered() const throw() = 0;
52 virtual
bool isEmpty() const throw() = 0;
56 #endif // __RESULT_H_INCLUDED__