IRubricator.GetDictionary

Syntax

GetDictionary(Dictionary: RubricatorDictionary; [Operation: RubricatorDictionaryOperation = 0]): IMetaDictionary;

Parameters

Dictionary. Initial dictionaries to be merged.

Operation. Operation with the dictionary. Optional parameter. The default value is RubricatorDictionaryOperation.None - not to execute any actions.

Description

The GetDictionary method enables the user to get a composite dictionary of a time series database.

Example

Executing the example requires that the repository contains a time series database with the OBJ_RUBRICATOR identifier.

Sub Main;

Var

MB: IMetabase;

Rubr: IRubricator;

Dictionary: IMetaDictionary;

Begin

MB := MetabaseClass.Active;

Rubr := MB.ItemById("OBJ_RUBRICATOR").Bind As IRubricator;

Dictionary := Rubr.GetDictionary(RubricatorDictionary.ValidationExecs Or

RubricatorDictionary.ValidationExecsChildren Or

RubricatorDictionary.ValidationValues, RubricatorDictionaryOperation.Create);

End Sub Main;

After executing the example a composite dictionary is created that merges startups of the time series database, validations calculated in the startup, and also values obtained after validation.

See also:

IRubricator