Rogue Wave Server
API Reference Guide
Product Documentation:

Rogue Wave Server
Documentation Home
List of all members | Static Public Member Functions
IlsModel Class Reference

This class lets you check the integrity of an object structure and set write access to objects. More...

#include <ilserver/model.h>

Static Public Member Functions

static IlsActivity GetDefaultActivity ()
 Returns the default activity. More...
 
static IlsBoolean IsIntegrityChecked ()
 Indicates whether the integrity check is activated.
 
static IlsBoolean IsUpdateChecked ()
 Indicates whether write access has been set. More...
 
static void SetActive (IlsActivity=ILS_ACTIVE)
 Server data members can be set as active or inactive. More...
 
static void SetIntegrityChecked (IlsBoolean=IlsTrue)
 Activates the integrity check. More...
 
static void SetMT ()
 Activates the MT-safe facility, including MT-safe reference counting. More...
 
static void SetUpdateChecked (IlsBoolean=IlsTrue)
 Sets write access to objects. More...
 

Detailed Description

This class lets you check the integrity of an object structure and set write access to objects.

Library: server

See also
IlsException, IlsDerived, IlsEntity, IlsObject, IlsOwns, IlsOwnsList, IlsOwnsSet, IlsRefCounted, IlsThread, IlsUses, IlsUsesList, IlsUsesSet.

Member Function Documentation

§ GetDefaultActivity()

IlsActivity IlsModel::GetDefaultActivity ( )
static

Returns the default activity.

If the static function SetActive() has never been called, it returns ILS_INACTIVE.

§ IsUpdateChecked()

IlsBoolean IlsModel::IsUpdateChecked ( )
static

Indicates whether write access has been set.

By default, it is deactivated.

§ SetActive()

void IlsModel::SetActive ( IlsActivity  activity = ILS_ACTIVE)
static

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.

§ SetIntegrityChecked()

void IlsModel::SetIntegrityChecked ( IlsBoolean  flag = IlsTrue)
static

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.

§ SetMT()

static void IlsModel::SetMT ( )
static

Activates the MT-safe facility, including MT-safe reference counting.

For details, see the function IlsMvServer::Initialize().

§ SetUpdateChecked()

void IlsModel::SetUpdateChecked ( IlsBoolean  flag = IlsTrue)
static

Sets write access to objects.

To deactivate write access to objects, you have to set the Boolean flag to IlsFalse.


© Copyright 2018, Rogue Wave Software, Inc. All Rights Reserved.
Rogue Wave is a registered trademark of Rogue Wave Software, Inc. in the United States and other countries. All other trademarks are the property of their respective owners.