The cut Function

The classes IlsObject and IlsEntity of the Server library include a cut member function. This function breaks all the use or ownership relations of which the cut object is the target. It signature is the following:

virtual void cut(ILS_CUT_DIRECTIVE=ILS_ALL);

The argument passed to this function is an enumerated type which provides the following three values:

  • ILS_ALL cuts all relations.

  • ILS_USE cuts use relations only.

  • ILS_OWNERSHIP cuts the ownership relation, if any.

Its default behavior can be overloaded to meet the integrity rules you have specifically defined.