Description | |||||||||||
Check if given model is modifiable, indicating that the model could be saved (without checking for any subordinate models). For a generic model, if show_ui is PRO_B_TRUE, all its instances are also checked. | |||||||||||
Replacement in Object TOOLKIT: | pfcModel::CheckIsModifiable | ||||||||||
Synopsis | |||||||||||
#include <ProMdl.h> | |||||||||||
ProError | ProMdlIsModifiable | ( | |||||||||
ProMdl p_model | |||||||||||
/* (In) | |||||||||||
model to check access to. | |||||||||||
*/ | |||||||||||
ProBoolean show_ui | |||||||||||
/* (In) | |||||||||||
Indicates whether the Conflicts dialog should be shown to user to resolve conflicts (if they are detected); when set to PRO_B_FALSE no UI is enabled and the model is considered as modifiable if there are no conflicts that could not be overridden or resolved by default resolution actions. | |||||||||||
*/ | |||||||||||
ProBoolean* can_modify | |||||||||||
/* (Out) | |||||||||||
The access status. If it is PRO_B_TRUE, the model is modifiable. | |||||||||||
*/ | |||||||||||
) | |||||||||||
Returns | |||||||||||
|