DGKC Control Documentation


Skip Navigation Links.
Start page
Quick Start
Search Page
Installation
What is new
Licensing
Collapse ModelsModels
Collapse DG Kernel ControlDG Kernel Control
Collapse API ReferenceAPI Reference
Interface List
Vector Space
Collapse General GeometryGeneral Geometry
Collapse ModelModel
Collapse ViewView
Collapse General ComputingGeneral Computing
Collapse Samples and TutorialsSamples and Tutorials
Collapse GraphicsGraphics
Collapse Math ObjectsMath Objects
Collapse DeprecatedDeprecated
Redistribution
Model Viewer
Support
Skip Navigation Links Go to ActiveX docs Search Documentation


IDictionary_DG Interface

GetItemCount
GetItemName
GetItemDescription
GetItemType
GetInt
SetInt
GetUint64
SetUint64
GetDouble
SetDouble
GetBool
SetBool
Get3State
Set3State
GetString
SetString
Get
Set
GetInterface
SetInterface
HasItem
RemoveItem

Represents a Dictionary object used to pass sets of named parameters and their values. Most often is used as a variable argument set in method/function calls.

Get*() methods throw an exception is the name was not found. Use the HasItem method to check for existence. Exception: GetString() returns an empty string if was not in the dectionary.

A standalone dictionary can be created via IObjectGenerator_DG.Create("IDictionary_DG") > IDictionary_DG query.


int GetItemCount(EDictionaryType_DG type)


string GetItemName(int id)


string GetItemDescription(string name)


EDictionaryType_DG GetItemType(string name)


int GetInt(string name)


void GetUint64(string name, int val)


int SetUint64(string name)


void SetInt(string name, int val)


double GetDouble(string name)


void SetDouble(string name, double val)


bool GetBool(string name)


void SetBool(string name, bool val)


ThreeState_DG Get3State(string name)


void Set3State(string name, ThreeState_DG val)


string GetString(string name)


void SetString(string name, string val)


Object Get(string name)


void Set(string name, Object param)


IUnk GetInterface(string name)


void SetInterface(string name, IUnk interf)


bool HasItem(string name)


bool RemoveItem(string name)