// This file was generated by ODB, object-relational mapping (ORM) // compiler for C++. // // Begin prologue. // // // End prologue. namespace odb { // employer // inline access::object_traits< ::employer >::id_type access::object_traits< ::employer >:: id (const object_type& obj) { return obj.name_; } inline void access::object_traits< ::employer >:: erase (database& db, const object_type& obj) { erase (db, id (obj)); } inline void access::object_traits< ::employer >:: callback (database& db, object_type& x, callback_event e) { ODB_POTENTIALLY_UNUSED (db); ODB_POTENTIALLY_UNUSED (x); ODB_POTENTIALLY_UNUSED (e); } inline void access::object_traits< ::employer >:: callback (database& db, const object_type& x, callback_event e) { ODB_POTENTIALLY_UNUSED (db); ODB_POTENTIALLY_UNUSED (x); ODB_POTENTIALLY_UNUSED (e); } inline access::object_traits< ::employer >::query_type:: query_type () { } inline access::object_traits< ::employer >::query_type:: query_type (bool v) : query_base_type (v) { } inline access::object_traits< ::employer >::query_type:: query_type (const char* q) : query_base_type (q) { } inline access::object_traits< ::employer >::query_type:: query_type (const std::string& q) : query_base_type (q) { } inline access::object_traits< ::employer >::query_type:: query_type (const query_base_type& q) : query_base_type (q) { } // position // inline access::object_traits< ::position >::id_type access::object_traits< ::position >:: id (const object_type& obj) { return obj.id_; } inline void access::object_traits< ::position >:: erase (database& db, const object_type& obj) { erase (db, id (obj)); } inline void access::object_traits< ::position >:: callback (database& db, object_type& x, callback_event e) { ODB_POTENTIALLY_UNUSED (db); ODB_POTENTIALLY_UNUSED (x); ODB_POTENTIALLY_UNUSED (e); } inline void access::object_traits< ::position >:: callback (database& db, const object_type& x, callback_event e) { ODB_POTENTIALLY_UNUSED (db); ODB_POTENTIALLY_UNUSED (x); ODB_POTENTIALLY_UNUSED (e); } inline access::object_traits< ::position >::query_type:: query_type () { } inline access::object_traits< ::position >::query_type:: query_type (bool v) : query_base_type (v) { } inline access::object_traits< ::position >::query_type:: query_type (const char* q) : query_base_type (q) { } inline access::object_traits< ::position >::query_type:: query_type (const std::string& q) : query_base_type (q) { } inline access::object_traits< ::position >::query_type:: query_type (const query_base_type& q) : query_base_type (q) { } inline void access::object_traits< ::position >:: load_ (mysql::object_statements< object_type >&, object_type&) { } // project // inline access::object_traits< ::project >::id_type access::object_traits< ::project >:: id (const object_type& obj) { return obj.name_; } inline void access::object_traits< ::project >:: erase (database& db, const object_type& obj) { erase (db, id (obj)); } inline void access::object_traits< ::project >:: callback (database& db, object_type& x, callback_event e) { ODB_POTENTIALLY_UNUSED (db); ODB_POTENTIALLY_UNUSED (x); ODB_POTENTIALLY_UNUSED (e); } inline void access::object_traits< ::project >:: callback (database& db, const object_type& x, callback_event e) { ODB_POTENTIALLY_UNUSED (db); ODB_POTENTIALLY_UNUSED (x); ODB_POTENTIALLY_UNUSED (e); } inline access::object_traits< ::project >::query_type:: query_type () { } inline access::object_traits< ::project >::query_type:: query_type (bool v) : query_base_type (v) { } inline access::object_traits< ::project >::query_type:: query_type (const char* q) : query_base_type (q) { } inline access::object_traits< ::project >::query_type:: query_type (const std::string& q) : query_base_type (q) { } inline access::object_traits< ::project >::query_type:: query_type (const query_base_type& q) : query_base_type (q) { } // employee // inline access::object_traits< ::employee >::id_type access::object_traits< ::employee >:: id (const object_type& obj) { return obj.id_; } inline void access::object_traits< ::employee >:: erase (database& db, const object_type& obj) { erase (db, id (obj)); } inline void access::object_traits< ::employee >:: callback (database& db, object_type& x, callback_event e) { ODB_POTENTIALLY_UNUSED (db); ODB_POTENTIALLY_UNUSED (x); ODB_POTENTIALLY_UNUSED (e); } inline void access::object_traits< ::employee >:: callback (database& db, const object_type& x, callback_event e) { ODB_POTENTIALLY_UNUSED (db); ODB_POTENTIALLY_UNUSED (x); ODB_POTENTIALLY_UNUSED (e); } inline access::object_traits< ::employee >::query_type:: query_type () { } inline access::object_traits< ::employee >::query_type:: query_type (bool v) : query_base_type (v) { } inline access::object_traits< ::employee >::query_type:: query_type (const char* q) : query_base_type (q) { } inline access::object_traits< ::employee >::query_type:: query_type (const std::string& q) : query_base_type (q) { } inline access::object_traits< ::employee >::query_type:: query_type (const query_base_type& q) : query_base_type (q) { } } // Begin epilogue. // // // End epilogue.