Common ODB Runtime Library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Types | Public Member Functions | Public Attributes | List of all members
odb::smart_ordered_functions< I, V > Struct Template Reference

Public Types

typedef I index_type
 
typedef V value_type
 

Public Member Functions

void insert (I index, const V &value) const
 
bool select (I &next_index, V &next_value) const
 
void update (I index, const V &value) const
 
void delete_ (I start_index) const
 
 smart_ordered_functions (void *data)
 

Public Attributes

void * data_
 
void(* insert_ )(I, const V &, void *)
 
bool(* select_ )(I &, V &, void *)
 
void(* update_ )(I, const V &, void *)
 
void(* delete__ )(I, void *)
 

Member Typedef Documentation

template<typename I , typename V >
typedef I odb::smart_ordered_functions< I, V >::index_type
template<typename I , typename V >
typedef V odb::smart_ordered_functions< I, V >::value_type

Constructor & Destructor Documentation

template<typename I , typename V >
odb::smart_ordered_functions< I, V >::smart_ordered_functions ( void *  data)
inline

Member Function Documentation

template<typename I , typename V >
void odb::smart_ordered_functions< I, V >::insert ( index,
const V &  value 
) const
inline
template<typename I , typename V >
bool odb::smart_ordered_functions< I, V >::select ( I &  next_index,
V &  next_value 
) const
inline
template<typename I , typename V >
void odb::smart_ordered_functions< I, V >::update ( index,
const V &  value 
) const
inline
template<typename I , typename V >
void odb::smart_ordered_functions< I, V >::delete_ ( start_index) const
inline

Member Data Documentation

template<typename I , typename V >
void* odb::smart_ordered_functions< I, V >::data_
template<typename I , typename V >
void(* odb::smart_ordered_functions< I, V >::insert_)(I, const V &, void *)
template<typename I , typename V >
bool(* odb::smart_ordered_functions< I, V >::select_)(I &, V &, void *)
template<typename I , typename V >
void(* odb::smart_ordered_functions< I, V >::update_)(I, const V &, void *)
template<typename I , typename V >
void(* odb::smart_ordered_functions< I, V >::delete__)(I, void *)

The documentation for this struct was generated from the following file: