ansys.fluent.core.data_model_cache#
Module to manage datamodel cache.
Classes:
Class to manage datamodel cache. |
|
|
Name key. |
- class ansys.fluent.core.data_model_cache.DataModelCache#
Bases:
object
Class to manage datamodel cache.
Classes:
Empty
()Class representing unassigned cached state.
Methods:
__init__
()Initialize datamodel cache.
get_config
(rules, name)Get datamodel cache configuration value.
get_state
(rules, obj[, name_key])Retrieve state from datamodel cache.
is_unassigned
(state)Check whether a cached state is unassigned.
set_config
(rules, name, value)Set datamodel cache configuration value.
set_state
(rules, obj, value)Set datamodel cache state.
update_cache
(rules, state, deleted_paths[, ...])Update datamodel cache from streamed state.
Attributes:
- __init__()#
Initialize datamodel cache.
- get_config(rules, name)#
Get datamodel cache configuration value.
- get_state(rules, obj, name_key=None)#
Retrieve state from datamodel cache.
- Parameters:
- Returns:
Any
cached state
- static is_unassigned(state)#
Check whether a cached state is unassigned.
- Parameters:
- state
Any
state
- state
- Returns:
- bool
whether a cached state is unassigned
- set_config(rules, name, value)#
Set datamodel cache configuration value.
- set_state(rules, obj, value)#
Set datamodel cache state.
- update_cache(rules, state, deleted_paths, version=None)#
Update datamodel cache from streamed state.
- use_display_name = False#