introduced field_attributes shortcuts and added method on_base() to all processor classes
This commit is contained in:
@@ -13,7 +13,7 @@ struct UserDirectory : core::Model {
|
||||
void process( Operator& op ) {
|
||||
namespace field = matador::access;
|
||||
field::process( op, *matador::base_class<Model>( this ) );
|
||||
field::attribute( op, "name", name, 511 );
|
||||
field::attribute( op, "name", name, matador::VarChar511 );
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user