DG Kernel Documentation


Skip Navigation Links.
Start page
Quick Start
Search Page
Installation
Overview of the software
What is new
Licensing
Collapse ModelsModels
Collapse DG Kernel ComponentsDG Kernel Components
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
Open Source
Support
Skip Navigation Links Search Documentation


IDictionary_DG Interface

GetItemCount
GetItemName
GetItemDescription
GetItemType
GetInt
SetInt
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.


int GetItemCount(EDictionaryType_DG type)


string GetItemName(int id)


string GetItemDescription(string name)


EDictionaryType_DG GetItemType(string name)


int GetInt(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)


VARIANT Get(string name)


void Set(string name, VARIANT param)


Object GetInterface(string name)


void SetInterface(string name, Object interf)


bool HasItem(string name)


bool RemoveItem(string name)