Difference between revisions of "Extensions.DiagDataBrowsingPlus.McdDataType"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
{{DISPLAYTITLE:Data Type '''McdDataType'''}}[[Category:DataType]][[Category:DiagDataBrowsingPlus]] | {{DISPLAYTITLE:Data Type '''McdDataType'''}}[[Category:DataType]][[Category:DiagDataBrowsingPlus]] | ||
== Classification == | == Classification == | ||
− | {{ClassificationDataType | McdDataType | | + | {{ClassificationDataType | McdDataType | is an enumeration type| - | [[Core.DataTypes.SimpleDataType|SimpleDataType]] | - }} |
== Description == | == Description == | ||
− | + | '''McdDataType''' is an enumeration type describing the ASAM data types used by the MVCI/ODX system. | |
− | |||
{{ConversionTable | | {{ConversionTable | | ||
− | + | Integer=Returns the index of the value in the enumeration (smallest index is 0).| IntegerSample=<tt>Integer i = ToInteger(McdDataTypeVariable); // Returns the index of the value in the enumeration.</tt> | | |
− | + | String=Returns the the name of the enumeration value. | StringSample=<tt>String s = ToString(McdDataTypeVariable); // Returns the name of the enumeration value. | |
− | |||
− | String=Returns the | ||
− | |||
}} | }} | ||
− |
Revision as of 10:25, 6 September 2018
Classification
Name | McdDataType |
Short Description | is an enumeration type |
Class | - |
Base Data Type | SimpleDataType |
Default Value | Empty |
Provide a Literal | No |
SpecifiedBy | ISO 13209-3 |
Standard Compliant | Yes |
Description
McdDataType is an enumeration type describing the ASAM data types used by the MVCI/ODX system.
Core Conversion
The following table shows the rules for conversion to another data type:
Conversion | Result | Sample |
ToBoolean | Undefined (should not be used) | |
ToInteger | Returns the index of the value in the enumeration (smallest index is 0). | Integer i = ToInteger(McdDataTypeVariable); // Returns the index of the value in the enumeration. |
ToFloat | Undefined (should not be used) | |
ToString | Returns the the name of the enumeration value. | String s = ToString(McdDataTypeVariable); // Returns the name of the enumeration value. |
ToByteField | Undefined (should not be used) |