Kanzi 3.9.10
CachingMode Enum Reference

Caching modes for nodes. More...

Inheritance diagram for CachingMode:
[legend]

Public Member Functions

 CachingMode (CachingMode enum_)
 Constructs a copy of a CachingMode object.
 
 CachingMode (int value)
 Constructs a CachingMode of an integer value.
 
int getValue ()
 Returns the integer value of the enumeration constant.
 
final int swigValue ()
 Returns the integer value of the enumeration constant.
 

Static Public Member Functions

static CachingMode swigToEnum (int swigValue)
 Converts an integer value to the matching enumeration constant.
 
static CachingMode toEnum (int value)
 Converts an integer value to the matching enumeration constant.
 

Public Attributes

 CachingModeAutomatic =(2)
 Automatic caching.
 
 CachingModeDisabled =(0)
 Caching disabled.
 
 CachingModeEnabled =(1)
 Caching enabled.
 

Detailed Description

Caching modes for nodes.


Constructor & Destructor Documentation

◆ CachingMode() [1/2]

CachingMode ( int value)

Constructs a CachingMode of an integer value.

Parameters
valueInteger value to convert to enumeration constant.

◆ CachingMode() [2/2]

Constructs a copy of a CachingMode object.

Parameters
enum_CachingMode to be copy constructed.

Member Function Documentation

◆ getValue()

int getValue ( )

Returns the integer value of the enumeration constant.

Returns
Integer value.

Implements Enum.

◆ swigToEnum()

static CachingMode swigToEnum ( int swigValue)
static

Converts an integer value to the matching enumeration constant.

Used internally by SWIG generated code.

Parameters
swigValueInteger value to convert to enumeration constant.
Returns
Enumeration constant matching the integer value.

◆ swigValue()

final int swigValue ( )

Returns the integer value of the enumeration constant.

Used internally by SWIG generated code.

Returns
Integer value.

◆ toEnum()

static CachingMode toEnum ( int value)
static

Converts an integer value to the matching enumeration constant.

Parameters
valueInteger value to convert to enumeration constant.
Returns
Enumeration constant matching the integer value.

Member Data Documentation

◆ CachingModeAutomatic

CachingModeAutomatic =(2)

Automatic caching.


Kanzi invalidates the cache automatically when the node or its descendants change.