Rogue Wave Views
Manager Package API Reference Guide
Product Documentation:

Rogue Wave Views
Documentation Home
Functions
quadtree.h File Reference
#include <ilviews/manager/macros.h>
#include <ilviews/base/graphic.h>
#include <ilviews/base/alloc.h>
#include <ilog/pool.h>

Functions

IlBoolean IlvGetOptimizeMode ()
 Use this global function to know the state of the optimized mode of all managers. More...
 
void IlvSetOptimizeMode (IlBoolean value)
 Use this global function to set on or off the optimized mode of all managers. More...
 

Detailed Description

Library: ilvmgr
Declaration of functions, types, and classes used by the IlvManager class.

Function Documentation

§ IlvGetOptimizeMode()

IlBoolean IlvGetOptimizeMode ( )

Use this global function to know the state of the optimized mode of all managers.

When you call IlvManager::addObject() or IlvManager::removeObject() for a manager, tests make sure that the data structure remains consistent. These tests verify that you do not store the same object twice or remove an object that is not stored in the manager. The optimized mode removes these tests to speed up the process of storing or removing objects in a manager.

Note
This is an extern "C" function.
Returns
IlTrue if the optimized mode is on and IlFalse if it is off. By default, the optimized mode is off.
See also
IlvSetOptimizeMode(), IlvManager::addObject(), IlvManager::removeObject().

§ IlvSetOptimizeMode()

void IlvSetOptimizeMode ( IlBoolean  value)

Use this global function to set on or off the optimized mode of all managers.

When you call IlvManager::addObject() or IlvManager::removeObject() for a manager, tests make sure that the data structure remains consistent. These tests verify that you do not store the same object twice or remove an object that is not stored in the manager. The optimized mode removes these tests to speed up the process of storing or removing objects in a manager.

Note
This is an extern "C" function.
Parameters
valueIf IlTrue turns the optimized mode on. By default this mode is off.
See also
IlvGetOptimizeMode, IlvManager::addObject(), IlvManager::removeObject().

© Copyright 2017, 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.