introduced field_attributes shortcuts and added method on_base() to all processor classes
This commit is contained in:
@@ -34,6 +34,8 @@ struct pk_field_locator {
|
||||
explicit pk_field_locator (Type &obj)
|
||||
: base(&obj) {}
|
||||
|
||||
template<typename BaseType>
|
||||
static void on_base(const BaseType&) {}
|
||||
template <typename PrimaryKeyType>
|
||||
void on_primary_key(const char *, PrimaryKeyType &pk, const utils::primary_key_attribute & /*attr*/) {
|
||||
// Offset bestimmen
|
||||
|
||||
Reference in New Issue
Block a user