The StaticMap
policy class implements operations with the "static key dictionary" data structure. This lets you associate a resource with a dictionary of elements containing the key-value type, and then calculate and change the values of dictionary elements.
Two copies exist for each dictionary: current
copy and working
copy. When the dictionary is initialized, these copies contain identical sets of elements. The StaticMap
class provides a method for writing a new value at the specified key in the working copy of the dictionary. It also provides methods for copying the contents of the working copy to the current copy, and for copying the contents of the current copy to the working copy. This provides the capability to obtain transactional behavior. Methods are provided to read elements of the current copy and the working copy of the dictionary.
A PSL description of the StaticMap
class is provided in the following file:
/opt/KasperskyOS-Community-Edition-<version>/toolchain/include/nk/staticmap.psl