5 #ifndef ODB_ORACLE_TRAITS_CALLS_HXX
6 #define ODB_ORACLE_TRAITS_CALLS_HXX
28 bool versioned = object_traits_impl<T, id_oracle>::versioned>
46 traits::bind (b, i, sk);
57 traits::bind (b,
id, id_size, i, sk);
63 traits::init (o, i, db);
67 find_ (
typename traits::statements_type& sts,
68 const typename traits::id_type*
id)
70 return traits::find_ (sts,
id);
74 load_ (
typename traits::statements_type& sts, T& o,
bool reload)
76 return traits::load_ (sts, o, reload);
95 traits::bind (b, i, sk, svm_);
102 const bind_type*
id, std::size_t id_size,
106 traits::bind (b,
id, id_size, i, sk, svm_);
112 traits::init (o, i, db, svm_);
116 find_ (
typename traits::statements_type& sts,
117 const typename traits::id_type*
id)
const
119 return traits::find_ (sts,
id, svm_);
123 load_ (
typename traits::statements_type& sts, T& o,
bool reload)
const
125 return traits::load_ (sts, o, reload, svm_);
136 template <
typename T,
140 template <
typename T>
158 traits::init (o, i, db);
162 template <
typename T>
174 traits::bind (b, i, svm_);
180 traits::init (o, i, db, svm_);
191 #endif // ODB_ORACLE_TRAITS_CALLS_HXX
void init(T &o, const image_type &i, odb::database *db) const
Definition: traits-calls.hxx:178
void bind(bind_type *b, const bind_type *id, std::size_t id_size, image_type &i, statement_kind sk) const
Definition: traits-calls.hxx:101
static void bind(bind_type *b, const bind_type *id, std::size_t id_size, image_type &i, statement_kind sk)
Definition: traits-calls.hxx:52
traits::image_type image_type
Definition: traits-calls.hxx:35
object_traits_impl< T, id_oracle > traits
Definition: traits-calls.hxx:83
void bind(bind_type *b, image_type &i, statement_kind sk) const
Definition: traits-calls.hxx:93
oracle::bind bind_type
Definition: traits-calls.hxx:145
static void init(T &o, const image_type &i, odb::database *db)
Definition: traits-calls.hxx:61
view_traits_calls(const schema_version_migration *)
Definition: traits-calls.hxx:147
oracle::bind bind_type
Definition: traits-calls.hxx:85
view_traits_impl< T, id_oracle > traits
Definition: traits-calls.hxx:143
void bind(bind_type *b, image_type &i) const
Definition: traits-calls.hxx:172
Definition: traits-calls.hxx:29
const schema_version_migration * version() const
Definition: traits-calls.hxx:41
statement_kind
Definition: forward.hxx:42
object_traits_calls(const schema_version_migration *)
Definition: traits-calls.hxx:38
oracle::bind bind_type
Definition: traits-calls.hxx:36
static bool find_(typename traits::statements_type &sts, const typename traits::id_type *id)
Definition: traits-calls.hxx:67
object_traits_calls(const schema_version_migration *svm)
Definition: traits-calls.hxx:87
traits::image_type image_type
Definition: traits-calls.hxx:166
object_traits_impl< T, id_oracle > traits
Definition: traits-calls.hxx:34
static void bind(bind_type *b, image_type &i)
Definition: traits-calls.hxx:150
view_traits_calls(const schema_version_migration *svm)
Definition: traits-calls.hxx:169
static void load_(typename traits::statements_type &sts, T &o, bool reload)
Definition: traits-calls.hxx:74
Definition: oracle-types.hxx:78
static void init(T &o, const image_type &i, odb::database *db)
Definition: traits-calls.hxx:156
traits::image_type image_type
Definition: traits-calls.hxx:144
traits::image_type image_type
Definition: traits-calls.hxx:84
void init(T &o, const image_type &i, odb::database *db) const
Definition: traits-calls.hxx:110
oracle::bind bind_type
Definition: traits-calls.hxx:167
void load_(typename traits::statements_type &sts, T &o, bool reload) const
Definition: traits-calls.hxx:123
Definition: traits-calls.hxx:138
view_traits_impl< T, id_oracle > traits
Definition: traits-calls.hxx:165
const schema_version_migration * version() const
Definition: traits-calls.hxx:90
static void bind(bind_type *b, image_type &i, statement_kind sk)
Definition: traits-calls.hxx:44
bool find_(typename traits::statements_type &sts, const typename traits::id_type *id) const
Definition: traits-calls.hxx:116