IlsModel
Category
Modeling class
Inheritance Path
IlsModel
Description
This class lets you check the integrity of an object structure and set write access to objects.
Library
Synopsis
class IlsModel
{
public:
static void SetMT();
static void
SetActive(IlsActivity=ILS_ACTIVE);
};
Member Functions
[static] void SetUpdateChecked(IlsBoolean=IlsTrue);
This static member function sets write access to objects. To deactivate write access to objects, you have to set the Boolean flag to IlsFalse.
[static] IlsBoolean IsUpdateChecked();
This static member function indicates whether write access has been set. By default, it is deactivated.
[static] void SetIntegrityChecked(IlsBoolean=IlsTrue);
This static member function activates the integrity check. To deactivate the integrity check, set the Boolean flag to IlsFalse.
Since this function may decrease the performance of your application, we recommend that you do not use it but for debugging purpose. It may cause the exceptions
IlsOwnershipCycle and
IlsUnOwnedUse to be thrown.
[static] IlsBoolean IsIntegrityChecked();
This static member function indicates whether the integrity check is activated.
[static] void SetMT();
This static member function activates the MT-safe facility, including MT-safe reference counting. For details, see the function
IlsMvServer::Initialize.
[static] void SetActive(IlsActivity=ILS_ACTIVE);
Server data members can be set as active or inactive. Data members set as active set off the recomputation of derived members when they are modified. Each Server data member will be set to the value passed to the SetActive static member function, unless otherwise specified in their respective constructors.
[static] IlsActivity GetDefaultActivity();
This static member function returns the default activity. If the static function
SetActive (described above) has never been called, it returns
ILS_INACTIVE.
See Also
Exceptions,
IlsDerived,
IlsEntity,
IlsObject,
IlsOwns,
IlsOwnsList,
IlsOwnsSet,
IlsRefCounted,
IlsThread,
IlsUses,
IlsUsesList,
IlsUsesSet
Version 5.8
Copyright © 2014, Rogue Wave Software, Inc. All Rights Reserved.