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::polymorphic_concrete_info< R > Struct Template Reference
Inheritance diagram for odb::polymorphic_concrete_info< R >:
odb::polymorphic_abstract_info< R >

Public Types

enum  call_type {
  call_callback, call_persist, call_update, call_find,
  call_reload, call_load, call_erase
}
 
typedef R root_type
 
typedef access::object_traits
< root_type
root_traits
 
typedef root_traits::id_type id_type
 
typedef root_traits::pointer_type pointer_type
 
typedef
root_traits::discriminator_type 
discriminator_type
 
typedef
polymorphic_abstract_info< R >
::section_list 
section_list
 
typedef pointer_type(* create_function )()
 
typedef bool(* dispatch_function )(call_type, odb::database &, const root_type *, const void *arg)
 
typedef void(* delayed_loader_function )(odb::database &, const id_type &, root_type &, const schema_version_migration *)
 
- Public Types inherited from odb::polymorphic_abstract_info< R >
typedef void(* section_load )(odb::connection &, R &, bool top)
 
typedef void(* section_update )(odb::connection &, const R &)
 

Public Member Functions

 polymorphic_concrete_info (const std::type_info &t, const polymorphic_abstract_info< R > *b, const section_list *s, const discriminator_type &d, create_function cf, dispatch_function df, delayed_loader_function dlf)
 
- Public Member Functions inherited from odb::polymorphic_abstract_info< R >
 polymorphic_abstract_info (const std::type_info &t, const polymorphic_abstract_info *b, const section_list *s)
 
bool derived (const polymorphic_abstract_info &b) const
 
section_load find_section_load (std::size_t index) const
 
section_update find_section_update (std::size_t index) const
 
bool final_section_update (const polymorphic_abstract_info &i, std::size_t index) const
 

Public Attributes

discriminator_type discriminator
 
create_function create
 
dispatch_function dispatch
 
delayed_loader_function delayed_loader
 
- Public Attributes inherited from odb::polymorphic_abstract_info< R >
const std::type_info & type
 
const polymorphic_abstract_infobase
 
const section_listsections
 

Member Typedef Documentation

template<typename R>
typedef R odb::polymorphic_concrete_info< R >::root_type
template<typename R>
typedef root_traits::id_type odb::polymorphic_concrete_info< R >::id_type
template<typename R>
typedef root_traits::pointer_type odb::polymorphic_concrete_info< R >::pointer_type
template<typename R>
typedef root_traits::discriminator_type odb::polymorphic_concrete_info< R >::discriminator_type
template<typename R>
typedef pointer_type(* odb::polymorphic_concrete_info< R >::create_function)()
template<typename R>
typedef bool(* odb::polymorphic_concrete_info< R >::dispatch_function)(call_type, odb::database &, const root_type *, const void *arg)
template<typename R>
typedef void(* odb::polymorphic_concrete_info< R >::delayed_loader_function)(odb::database &, const id_type &, root_type &, const schema_version_migration *)

Member Enumeration Documentation

template<typename R>
enum odb::polymorphic_concrete_info::call_type
Enumerator
call_callback 
call_persist 
call_update 
call_find 
call_reload 
call_load 
call_erase 

Constructor & Destructor Documentation

template<typename R>
odb::polymorphic_concrete_info< R >::polymorphic_concrete_info ( const std::type_info &  t,
const polymorphic_abstract_info< R > *  b,
const section_list s,
const discriminator_type d,
create_function  cf,
dispatch_function  df,
delayed_loader_function  dlf 
)
inline

Member Data Documentation

template<typename R>
discriminator_type odb::polymorphic_concrete_info< R >::discriminator
template<typename R>
create_function odb::polymorphic_concrete_info< R >::create
template<typename R>
dispatch_function odb::polymorphic_concrete_info< R >::dispatch
template<typename R>
delayed_loader_function odb::polymorphic_concrete_info< R >::delayed_loader

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