ModelCenter/src/ModelCenter.odl (line 2658)
COM Instance.
Inherits from:
Members
- autoSize
- dependentLinks
- dependents
- description
- directDependents
- directPrecedents
- fileExtension
- fileExtension
- fromFile
- fromString
- fromStringEx
- getDimensions
- getFileExtension
- getFullName
- getLength
- getMetadata
- getName
- getSize
- getType
- hasChanged
- hide
- invalidate
- isBinary
- isInput
- isInputToComponent
- isInputToModel
- isValid
- length
- numDimensions
- OwningComponent
- precedentLinks
- precedents
- saveWithModel
- setDimensions
- setFileExtension
- setLength
- setMetadata
- setSize
- size
- toFile
- toFileAbsolute
- toString
- toStringAbsolute
- toStringAbsoluteEx
- toStringEx
- 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 isBinary
ModelCenter/src/ModelCenter.odl (line 1)
Property description
ModelCenter/src/ModelCenter.odl (line 1)
Property saveWithModel
ModelCenter/src/ModelCenter.odl (line 1)
Property value
ModelCenter/src/ModelCenter.odl (line 2751)
- 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 2767)
- 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: The new value.
Property fileExtension
ModelCenter/src/ModelCenter.odl (line 2826)
- 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 fileExtension
ModelCenter/src/ModelCenter.odl (line 2842)
- 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: The file extension.
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 getFileExtension
- 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 setFileExtension
- value: The file extension.
- 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).
- BSTR 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 toFile
- fileName: The file to write.
- encoding: File encoding to be used (ascii, utf-8, binary).
- 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).
- BSTR fileName
- VARIANT encoding
- 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 fromFile
- fileName: The file to load.
- 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).
- BSTR fileName
- 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 toFileAbsolute
- fileName: The file to write.
- encoding: File encoding to be used (ascii, utf-8, binary).
- 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).
- BSTR fileName
- VARIANT encoding
- 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