Dictionary - Dictionary Handle
The dictionary handle is used for providing schema definitions from the dictionary. The dictionary creates internal images from the externally stored schema definitions. These internal images (e.g. TypeDefinition ) can be provided by means of dictionary functions.
Schema definitions include data model definitions, functional model and causal model. Functional model and causal model are not accessible as internal definitions like TypeDefinition , but can be read directly from the dictionary. Because the dictionary handle is a database handle ( Database ), one may, however, access schema information directly via property handle functions.
In order to read system resources (schema information), the dictionary can be accessed directly by calling appropriate Property functions. Besides schema definition, a dictionary may contain further resource definitions as presentation rules (GUI classes), which also might be retrieved directly by reading from the dictionary database. In this case, however, the dictionary database has to be opened as database with the ode.sys database as dictionary, since extended resource definitions are not part of the built-in schema definitions.
// reading extended resource from dictionary database
Dictionary dict;
Database db;
Property gui_class;
dict.Open("c:/odaba/ode.sys");
db.open(dict,"c:/odaba/Sample/sample.dev");
gui_class.open(db,"ADK_Class",PI_Read);
// ... do something
- 1. Administration - Administration functions
- 2. Access - Access functions
- 9. Maintenance - Dictionary maintenance functions
- Dictionary - Create dictionary handle
- close - Close dictionary handle
- databaseKeyString - Access key string
- extentDefinition - Provide extent definition
- extentDefinitionCount - Number of extent definitions
- isElementaryType - Is data type elementary
- isOperationValid - Check expression syntax
- loadOSILibraries - Load OSI script files from OSI library path
- loadOSIScript - Load OSI functions from script file
- open - Open dictionary handle
- parser - Get OSI parser
- resetOperations - Reset operations
- temporaryExtent - Create temporary extent
- temporaryName - Get unique name for temporary resource
- typeDefinition - Get type definition
- typeDefinitionCount - Number of type definitions
- ~Dictionary - Destructor