5 #ifndef ODB_NO_OP_CACHE_TRAITS_HXX
6 #define ODB_NO_OP_CACHE_TRAITS_HXX
22 typename E =
typename pointer_traits<P>::element_type,
23 typename O =
typename object_traits<E>::object_type,
36 template <
typename P,
typename T, po
inter_kind pk>
46 template <
typename P,
typename E,
typename O>
57 template <
typename P,
typename T>
70 typename O =
typename object_traits<T>::object_type>
76 return const_cast<O&
> (r);
95 struct no_op_pointer_cache_traits
122 return position_type ();
154 template <
typename P>
155 struct no_id_pointer_cache_traits
180 template <
typename T>
181 struct no_op_reference_cache_traits
218 template <
typename T>
219 struct no_id_reference_cache_traits
237 #endif // ODB_NO_OP_CACHE_TRAITS_HXX
Definition: no-op-cache-traits.hxx:222
Definition: no-op-cache-traits.hxx:25
insert_guard(const position_type &)
Definition: no-op-cache-traits.hxx:190
static const P & convert(const P &p)
Definition: no-op-cache-traits.hxx:43
static pointer_type find(odb::database &, const id_type &)
Definition: no-op-cache-traits.hxx:134
pointer_traits< pointer_type >::element_type object_type
Definition: no-op-cache-traits.hxx:98
static position_type insert(odb::database &, const id_type &, const pointer_type &)
Definition: no-op-cache-traits.hxx:120
static void load(const position_type &)
Definition: no-op-cache-traits.hxx:231
T object_type
Definition: no-op-cache-traits.hxx:221
static position_type insert(odb::database &, const id_type &, object_type &)
Definition: no-op-cache-traits.hxx:203
static void persist(const position_type &)
Definition: no-op-cache-traits.hxx:142
object_traits< object_type >::id_type id_type
Definition: no-op-cache-traits.hxx:184
static void persist(const position_type &)
Definition: no-op-cache-traits.hxx:169
void reset(const position_type &)
Definition: no-op-cache-traits.hxx:114
static void load(const position_type &)
Definition: no-op-cache-traits.hxx:172
static pointer_type convert(const P &p)
Definition: no-op-cache-traits.hxx:30
insert_guard()
Definition: no-op-cache-traits.hxx:189
static void erase(odb::database &, const id_type &)
Definition: no-op-cache-traits.hxx:151
P pointer_type
Definition: no-op-cache-traits.hxx:157
Definition: pointer-traits.hxx:28
insert_guard()
Definition: no-op-cache-traits.hxx:104
static T & convert(T &r)
Definition: no-op-cache-traits.hxx:86
position_type position() const
Definition: no-op-cache-traits.hxx:108
Definition: forward.hxx:123
static void persist(const position_type &)
Definition: no-op-cache-traits.hxx:212
T object_type
Definition: no-op-cache-traits.hxx:183
static position_type insert(odb::database &, object_type &)
Definition: no-op-cache-traits.hxx:209
Definition: no-op-cache-traits.hxx:187
object_traits< O >::pointer_type pointer_type
Definition: no-op-cache-traits.hxx:27
Definition: no-op-cache-traits.hxx:158
static void persist(const position_type &)
Definition: no-op-cache-traits.hxx:228
P pointer_type
Definition: no-op-cache-traits.hxx:97
static void update(odb::database &, const object_type &)
Definition: no-op-cache-traits.hxx:148
Definition: no-op-cache-traits.hxx:100
insert_guard(const position_type &)
Definition: no-op-cache-traits.hxx:105
static position_type insert(odb::database &, object_type &)
Definition: no-op-cache-traits.hxx:225
static O & convert(T &r)
Definition: no-op-cache-traits.hxx:74
Definition: database.hxx:38
void reset()
Definition: no-op-cache-traits.hxx:199
static void load(const position_type &)
Definition: no-op-cache-traits.hxx:215
static void * convert(const P &)
Definition: no-op-cache-traits.hxx:61
static position_type insert(odb::database &, const pointer_type &)
Definition: no-op-cache-traits.hxx:126
Definition: no-op-cache-traits.hxx:102
static position_type insert(odb::database &, void *)
Definition: no-op-cache-traits.hxx:131
static void load(const position_type &)
Definition: no-op-cache-traits.hxx:145
void release()
Definition: no-op-cache-traits.hxx:111
static position_type insert(odb::database &, const pointer_type &)
Definition: no-op-cache-traits.hxx:161
Definition: no-op-cache-traits.hxx:185
static void erase(const position_type &)
Definition: no-op-cache-traits.hxx:137
Definition: no-op-cache-traits.hxx:71
void release()
Definition: no-op-cache-traits.hxx:196
position_type position() const
Definition: no-op-cache-traits.hxx:193
object_traits< object_type >::id_type id_type
Definition: no-op-cache-traits.hxx:99
access::object_traits< T >::pointer_type pointer_type
Definition: traits.hxx:116
Definition: pointer-traits.hxx:22
static void * convert(const P &)
Definition: no-op-cache-traits.hxx:54
pointer_kind
Definition: pointer-traits.hxx:19
static position_type insert(odb::database &, void *)
Definition: no-op-cache-traits.hxx:166