ModelCenter/src/ModelCenter.odl (line 1714)
An array of double (real) values. Inherits from:
Members
- autoSize
- clearLowerBound
- clearUpperBound
- dependentLinks
- dependents
- description
- directDependents
- directPrecedents
- enumAliases
- enumValues
- format
- fromFormattedStringEx
- fromString
- fromStringEx
- getArray
- getDimensions
- getFullName
- getLength
- getMetadata
- getName
- getSize
- getType
- getValue
- getValueAbsolute
- hasChanged
- hasLowerBound
- hasUpperBound
- hide
- invalidate
- isInput
- isInputToComponent
- isInputToModel
- isValid
- length
- lowerBound
- numDimensions
- OwningComponent
- precedentLinks
- precedents
- setArray
- setDimensions
- setLength
- setMetadata
- setSize
- setValue
- size
- toFormattedStringAbsoluteEx
- toFormattedStringEx
- toString
- toStringAbsolute
- toStringAbsoluteEx
- toStringEx
- units
- upperBound
- validate
- value
- value
Properties
Property hasChanged
ModelCenter/src/ModelCenter.odl (line 1)
Property hide
ModelCenter/src/ModelCenter.odl (line 1)
Property OwningComponent
ModelCenter/src/ModelCenter.odl (line 1)
Property size
ModelCenter/src/ModelCenter.odl (line 1)
Property numDimensions
ModelCenter/src/ModelCenter.odl (line 1)
Property lowerBound
ModelCenter/src/ModelCenter.odl (line 1)
Property upperBound
ModelCenter/src/ModelCenter.odl (line 1)
Property description
ModelCenter/src/ModelCenter.odl (line 1)
Property units
ModelCenter/src/ModelCenter.odl (line 1)
Property enumAliases
ModelCenter/src/ModelCenter.odl (line 1)
Property enumValues
ModelCenter/src/ModelCenter.odl (line 1)
Property format
ModelCenter/src/ModelCenter.odl (line 1)
Property value
ModelCenter/src/ModelCenter.odl (line 1822)
- d1: Index in the 1st dimension (0-based index)
- d2: Index in the 2nd dimension (0-based index)
- d3: Index in the 3rd dimension (0-based index)
- d4: Index in the 4th dimension (0-based index)
- d5: Index in the 5th dimension (0-based index)
- d6: Index in the 6th dimension (0-based index)
- d7: Index in the 7th dimension (0-based index)
- d8: Index in the 8th dimension (0-based index)
- d9: Index in the 9th dimension (0-based index)
- d10: Index in the 10th dimension (0-based index)
Property value
ModelCenter/src/ModelCenter.odl (line 1838)
- d1: Index in the 1st dimension (0-based index)
- d2: Index in the 2nd dimension (0-based index)
- d3: Index in the 3rd dimension (0-based index)
- d4: Index in the 4th dimension (0-based index)
- d5: Index in the 5th dimension (0-based index)
- d6: Index in the 6th dimension (0-based index)
- d7: Index in the 7th dimension (0-based index)
- d8: Index in the 8th dimension (0-based index)
- d9: Index in the 9th dimension (0-based index)
- d10: Index in the 10th dimension (0-based index)
- newValue: New value.
Public functions
Function isValid
Function validate
Function getName
Function getFullName
Function getType
Function isInput
- true: Input
- false: Output
Function toString
“1, 2, 3” for one-dimensional arrays or “bounds[3,3] {1, 2, 3, 4, 5, 6, 7, 8, 9}” for multi-dimensional arrays.
Returns:
The converted string value of the array.
Return type: BSTR
Reimplements: toString
Function fromString
1D arrays, the specification is of the form ‘1,2,3’.For
nD arrays, the specification is of the form ‘bounds[2,2,2] {1,2,3,4,5,6,7,8}’.String arrays may optionally have the elements quoted in the form
‘bounds[2,3] {“a”, “b,c”, “d”, "", “e”, “f”}’
Parameters:
- value: New value.
- BSTR value
Function toStringAbsolute
“1, 2, 3” for one-dimensional arrays or “bounds[3,3] {1, 2, 3, 4, 5, 6, 7, 8, 9}” for multi-dimensional arrays.
Returns:
The converted string value of the array.
Return type: BSTR
Reimplements: toStringAbsolute
Function invalidate
Function directPrecedents
- followSuspended: Optional boolean specifies whether links which are suspended should be included in the search. Default is false.
- reserved: Reserved for future use.
- [optional] VARIANT followSuspended
- [optional] VARIANT reserved
Function directDependents
- followSuspended: Optional boolean specifies whether links which are suspended should be included in the search. Default is false.
- reserved: Reserved for future use.
- [optional] VARIANT followSuspended
- [optional] VARIANT reserved
Function precedentLinks
- reserved: Reserved for future use.
- [optional] VARIANT reserved
Function dependentLinks
- reserved: Reserved for future use.
- [optional] VARIANT reserved
Function precedents
- followSuspended: Optional boolean specifies whether links which are suspended should be included in the search. Default is false.
- reserved: Reserved for future use.
- [optional] VARIANT followSuspended
- [optional] VARIANT reserved
Function dependents
- followSuspended: Optional boolean specifies whether links which are suspended should be included in the search. Default is false.
- reserved: Reserved for future use.
- [optional] VARIANT followSuspended
- [optional] VARIANT reserved
Function isInputToComponent
- true: Input
- false: Output
Function isInputToModel
- true: Input
- false: Output
Function setMetadata
- name: Metadata specifier used to store the data.
- type:
- value:
- access:
- archive:
- BSTR name
- MetadataType type
- VARIANT value
- MetadataAccess access
- boolean archive
Function getMetadata
- name: Metadata key name.
- BSTR name
Function toStringEx
- index: Index of the array element (0-based index).
- long index
Function fromStringEx
- value: New value.
- index: Index of the array element (0-based index).
- BSTR value
- long index
Function toStringAbsoluteEx
- index: Index of the array element (0-based index).
- long index
Function getLength
- dim: Dimension of the array to query. This uses a 0 based index, so 0 will give you the first dimension, 1 the second, etc. If omitted, gives the first dimension
- [optional] VARIANT dim
Function setLength
- length: New length of the n’th dimension of the array
- dim: The dimension to set. This uses a 0 based index, so 0 will set the first dimension, 1 the second, etc. If omitted, sets the first dimension
- long length
- [optional] VARIANT dim
Function setDimensions
- d1: length of the 1st dimension of the array
- d2: length of the 2nd dimension of the array. If omitted, the array is 1 dimensional
- d3: length of the 3rd dimension of the array. If omitted, the array is 2 dimensional
- d4: length of the 4th dimension of the array. If omitted, the array is 3 dimensional
- d5: length of the 5th dimension of the array. If omitted, the array is 4 dimensional
- d6: length of the 6th dimension of the array. If omitted, the array is 5 dimensional
- d7: length of the 7th dimension of the array. If omitted, the array is 6 dimensional
- d8: length of the 8th dimension of the array. If omitted, the array is 7 dimensional
- d9: length of the 9th dimension of the array. If omitted, the array is 8 dimensional
- d10: length of the 10th dimension of the array. If omitted, the array is 9 dimensional
- long d1
- [optional] VARIANT d2
- [optional] VARIANT d3
- [optional] VARIANT d4
- [optional] VARIANT d5
- [optional] VARIANT d6
- [optional] VARIANT d7
- [optional] VARIANT d8
- [optional] VARIANT d9
- [optional] VARIANT d10
Function hasLowerBound
Function hasUpperBound
Function getValue
- d1: index in the 1st dimension (0-based index)
- d2: index in the 2nd dimension (0-based index)
- d3: index in the 3rd dimension (0-based index)
- d4: index in the 4th dimension (0-based index)
- d5: index in the 5th dimension (0-based index)
- d6: index in the 6th dimension (0-based index)
- d7: index in the 7th dimension (0-based index)
- d8: index in the 8th dimension (0-based index)
- d9: index in the 9th dimension (0-based index)
- d10: index in the 10th dimension (0-based index)
- VARIANT d1
- [optional] VARIANT d2
- [optional] VARIANT d3
- [optional] VARIANT d4
- [optional] VARIANT d5
- [optional] VARIANT d6
- [optional] VARIANT d7
- [optional] VARIANT d8
- [optional] VARIANT d9
- [optional] VARIANT d10
Function setValue
- value: New value.
- d1: position in the 1st dimension of the array (or full index string) (0-based index)
- d2: position in the 2nd dimension of the array (0-based index)
- d3: position in the 3rd dimension of the array (0-based index)
- d4: position in the 4th dimension of the array (0-based index)
- d5: position in the 5th dimension of the array (0-based index)
- d6: position in the 6th dimension of the array (0-based index)
- d7: position in the 7th dimension of the array (0-based index)
- d8: position in the 8th dimension of the array (0-based index)
- d9: position in the 9th dimension of the array (0-based index)
- d10: position in the 10th dimension of the array (0-based index)
- double value
- VARIANT d1
- [optional] VARIANT d2
- [optional] VARIANT d3
- [optional] VARIANT d4
- [optional] VARIANT d5
- [optional] VARIANT d6
- [optional] VARIANT d7
- [optional] VARIANT d8
- [optional] VARIANT d9
- [optional] VARIANT d10
Function getArray
Function setArray
- array: The primitive source array
- VARIANT array
Function toFormattedStringEx
- index: Position in the array (0-based index).
- long index
Function fromFormattedStringEx
- value: Formatted value to load.
- index: Position in the array (0-based index).
- BSTR value
- long index
Function toFormattedStringAbsoluteEx
- index: Position in the array (0-based index).
- long index
Function clearUpperBound
Function clearLowerBound
Function getValueAbsolute
- d1: index in the 1st dimension (0-based index)
- d2: index in the 2nd dimension (0-based index)
- d3: index in the 3rd dimension (0-based index)
- d4: index in the 4th dimension (0-based index)
- d5: index in the 5th dimension (0-based index)
- d6: index in the 6th dimension (0-based index)
- d7: index in the 7th dimension (0-based index)
- d8: index in the 8th dimension (0-based index)
- d9: index in the 9th dimension (0-based index)
- d10: index in the 10th dimension (0-based index)
- VARIANT d1
- [optional] VARIANT d2
- [optional] VARIANT d3
- [optional] VARIANT d4
- [optional] VARIANT d5
- [optional] VARIANT d6
- [optional] VARIANT d7
- [optional] VARIANT d8
- [optional] VARIANT d9
- [optional] VARIANT d10