get_int_key


Description:

public int get_int_key (string key, int def_value)

Reads an integer value for the key.

If such does not exists, the def_value is returned.

Parameters:

this

a StoreDB

key

a user key to read

def_value

a default value to return, when the key not stored yet

Returns:

an integer value of the key, or def_value when does not exist or any other error occurred

See also set_int_key, dup_string_key