company logo

opai :: OpenWorkDictionary - Open work dictionary with database

The function returns the opened dictionary handle. In case of errors, the dictionary handle is invalid.

Return value:  Dictionary handle ( DictionaryHandle & )

The dictionary handle usually refers to an opened dictionary. To check whether a dictionary is opened one may use the !- operator.

Implementation details

DictionaryHandle & opai  :: OpenWorkDictionary ( DatabaseHandle &db_handle )

When the utility control block work dictionary is not yet opened, the database passed in db_handle is opened as work dictionary.

  • db_handle - Reference to database handle

    This is a reference to an opened database handle. The database handle can be an opened database handle DatabaseHandle as well as an opened dictionary handle ( DictionaryHandle ).