8 #ifndef SOCI_BACKEND_H_INCLUDED 9 #define SOCI_BACKEND_H_INCLUDED 91 virtual void resize(std::size_t sz) = 0;
92 virtual std::size_t size() = 0;
110 virtual void bind_by_pos(
int& position,
void* data,
112 virtual void bind_by_name(std::string
const& name,
115 virtual void pre_use(
indicator const* ind) = 0;
116 virtual void post_use(
bool gotData,
indicator * ind) = 0;
132 virtual void bind_by_pos(
int& position,
void* data,
exchange_type type) = 0;
133 virtual void bind_by_name(std::string
const& name,
136 virtual void pre_use(
indicator const* ind) = 0;
138 virtual std::size_t size() = 0;
156 virtual void alloc() = 0;
159 virtual void prepare(std::string
const& query,
statement_type eType) = 0;
170 virtual long long get_affected_rows() = 0;
171 virtual int get_number_of_rows() = 0;
173 virtual std::string rewrite_for_procedure_call(std::string
const& query) = 0;
175 virtual int prepare_for_describe() = 0;
176 virtual void describe_column(
int colNum,
data_type& dtype,
177 std::string& column_name) = 0;
206 virtual std::size_t get_len() = 0;
207 virtual std::size_t read(std::size_t offset,
char* buf,
208 std::size_t toRead) = 0;
209 virtual std::size_t write(std::size_t offset,
char const* buf,
210 std::size_t toWrite) = 0;
211 virtual std::size_t append(
char const* buf, std::size_t toWrite) = 0;
212 virtual void trim(std::size_t newLen) = 0;
228 virtual void begin() = 0;
229 virtual void commit() = 0;
230 virtual void rollback() = 0;
247 virtual std::string get_backend_name()
const = 0;
277 #endif // SOCI_BACKEND_H_INCLUDED virtual ~session_backend()
virtual void pre_fetch()=0
virtual void clean_up()=0
virtual ~vector_into_type_backend()
virtual ~statement_backend()
virtual bool get_last_insert_id(session &, std::string const &, long &)
virtual void post_fetch(bool gotData, bool calledFromFetch, indicator *ind)=0
vector_use_type_backend()
virtual ~vector_use_type_backend()
standard_into_type_backend()
virtual ~standard_use_type_backend()
standard_use_type_backend()
standard_into_type_backend & operator=(standard_into_type_backend const &)
virtual ~standard_into_type_backend()
vector_into_type_backend()
std::vector< ISM::CombinatorialTrainerParameters > parameters
virtual bool get_next_sequence_value(session &, std::string const &, long &)
virtual ~backend_factory()
virtual void define_by_pos(int &position, void *data, exchange_type type)=0