8 #ifndef SOCI_INTO_TYPE_H_INCLUDED 9 #define SOCI_INTO_TYPE_H_INCLUDED 26 class prepare_temp_type;
27 class standard_into_type_backend;
28 class vector_into_type_backend;
40 virtual void post_fetch(
bool gotData,
bool calledFromFetch) = 0;
43 virtual std::size_t
size()
const = 0;
55 : data_(data), type_(type), ind_(NULL), backEnd_(NULL) {}
57 : data_(data), type_(type), ind_(&ind), backEnd_(NULL) {}
62 virtual void post_fetch(
bool gotData,
bool calledFromFetch);
69 virtual std::size_t
size()
const {
return 1; }
86 : data_(data), type_(type), indVec_(NULL), backEnd_(NULL) {}
89 std::vector<indicator> & ind)
90 : data_(data), type_(type), indVec_(&ind), backEnd_(NULL) {}
95 virtual void post_fetch(
bool gotData,
bool calledFromFetch);
101 virtual void resize(std::size_t sz);
102 virtual std::size_t
size()
const;
116 template <
typename T>
128 template <
typename T>
135 into_type(std::vector<T> & v, std::vector<indicator> & ind)
142 template <
typename T>
148 template <
typename T>
154 template <
typename T>
164 #endif // SOCI_INTO_TYPE_H_INCLUDED
into_type_ptr do_into(T &t, basic_type_tag)
virtual void post_fetch(bool gotData, bool calledFromFetch)=0
virtual void define(statement_impl &st, int &position)=0
vector_into_type_backend * backEnd_
virtual void clean_up()=0
type_ptr< into_type_base > into_type_ptr
virtual void pre_fetch()=0
virtual void convert_from_base()
virtual void convert_from_base()
into_type(std::vector< T > &v)
virtual ~into_type_base()
standard_into_type(void *data, exchange_type type)
vector_into_type(void *data, exchange_type type, std::vector< indicator > &ind)
standard_into_type(void *data, exchange_type type, indicator &ind)
std::vector< indicator > * indVec_
into_type(std::vector< T > &v, std::vector< indicator > &ind)
standard_into_type_backend * backEnd_
virtual void resize(std::size_t)
virtual std::size_t size() const
vector_into_type(void *data, exchange_type type)
virtual std::size_t size() const =0
into_type(T &t, indicator &ind)