 |
PK_PARTITION_clone_pmark_o_t |
|
struct PK_PARTITION_clone_pmark_o_s
{
int o_t_version; --- structure version
PK_check_fa_fa_t check_fa_fa; --- not implemented
PK_LOGICAL_t want_attrib_mod; --- return entities modified
--- indirectly by attributes
--- (PK_LOGICAL_true)
PK_LOGICAL_t want_new_entities; --- return new entities
--- (PK_LOGICAL_true)
PK_LOGICAL_t want_mod_entities; --- return modified entities
--- (PK_LOGICAL_true)
PK_LOGICAL_t want_del_entities; --- return deleted entities
--- (PK_LOGICAL_true)
PK_LOGICAL_t want_logged_mod; --- return entities modified
--- by logged changes only
--- (PK_LOGICAL_false)
PK_CLASS_array_t new_entities_classes;
--- classes of returned new
--- entities (NULL, 0)
PK_CLASS_array_t mod_entities_classes;
--- classes of returned mod
--- entities (NULL, 0)
PK_CLASS_array_t del_entities_classes;
--- classes of returned del
--- entities (NULL, 0)
};
typedef struct PK_PARTITION_clone_pmark_o_s PK_PARTITION_clone_pmark_o_t;
This structure contains optional arguments for PK_PARTITION_clone_pmark.
Used in:
PK_PARTITION_clone_pmark
Description of fields:
'want_attrib_mod' Controls the type of modifications that are reported in the
return argument 'mod_entities' array. If an entity is only
indirectly modified by changes to attributes, it will only
be reported if this option is set to PK_LOGICAL_true.
The default is PK_LOGICAL_true.
If you want to use 'mod_entities' to track changes in a
model, we recommend that you leave 'want_attrib_mod' at
its default of PK_LOGICAL_true. Setting it to
PK_LOGICAL_false can suppress entities that have also been
modified by modelling changes.
'want_new_entities' Whether to return an array of created entities instead
of NULL. The default is PK_LOGICAL_true.
'want_mod_entities' Whether to return an array of modified entities instead
of NULL. The default is PK_LOGICAL_true.
'want_del_entities' Whether to return an array of deleted entities instead
of NULL. The default is PK_LOGICAL_true.
'want_logged_mod' Controls the type of modifications that are reported in the
return argument 'mod_entities' array. If this option is set
to PK_LOGICAL_true, only those entities that have been
modified by a modelling change will be reported.
The default is PK_LOGICAL_false.
'new_entities_classes'
If not empty, restrict the returned new entities to
those matching the classes in this array.
The default is an empty array.
'mod_entities_classes'
If not empty, restrict the returned modified entities to
those matching the classes in this array.
The default is an empty array.
'del_entities_classes'
If not empty, restrict the returned deleted entities to
those matching the classes in this array.
The default is an empty array.
For the options 'new_entities_classes', 'mod_entities_classes' and
'del_entities_classes', the arrays are allowed to contain PK_CLASS_entity
and any of its subclasses, except PK_CLASS_attdef. If any superclasses are
specified in an array then their subclasses must not also be specified.