Class NamedParamType
Enumeration to describe the type of a value which can be contained inside a property (boolean, integer or floating number, textual string or just an explicitly enumerated limited list of possible values).
Inheritance
Namespace: SprutCAMTech.SCPostprocessor
Assembly: SprutCAMTech.SCPostprocessor.dll
Syntax
public sealed class NamedParamType : Enum
Fields
ptArray
Array type parameter. It means that the parameter does not contain simple value itself but it can contain any number of nested parameters. Unlike a ComplexType, the names of nested parameters are not unique, so one of the nested parameters can be taken only by its index in this array-list.
Declaration
public const NamedParamType ptArray = 7
Field Value
Type | Description |
---|---|
NamedParamType |
ptBoolean
Boolean type parameter that can have only two possible values: false and true.
Declaration
public const NamedParamType ptBoolean = 1
Field Value
Type | Description |
---|---|
NamedParamType |
ptComplexType
Complex type parameter. It means that the parameter does not contain simple value itself but it can contain a number of nested parameters, each with its own unique name and its own value type. So you can find the nested parameter by it's unique name.
Declaration
public const NamedParamType ptComplexType = 6
Field Value
Type | Description |
---|---|
NamedParamType |
ptDouble
Double type parameter. Possible value - any floating point number.
Declaration
public const NamedParamType ptDouble = 3
Field Value
Type | Description |
---|---|
NamedParamType |
ptEnumerated
Enumerated type parameter. The parameter can have only few possible values. The actual list of possible values depend on exact parameter. The value should be thought of as the index of the item in the list of possible values. Therefore, the property value can be obtained as an integer from 0 to N-1, where N is the total number of possible values.
Declaration
public const NamedParamType ptEnumerated = 5
Field Value
Type | Description |
---|---|
NamedParamType |
ptInteger
Integer type parameter. Possible value - any integer number.
Declaration
public const NamedParamType ptInteger = 2
Field Value
Type | Description |
---|---|
NamedParamType |
ptString
String type parameter. Possible value - any string of text.
Declaration
public const NamedParamType ptString = 4
Field Value
Type | Description |
---|---|
NamedParamType |
value__
Declaration
public int value__
Field Value
Type | Description |
---|---|
int |