Documentation ¶
Overview ¶
Package stringification converts enumerations from and to string representations.
Index ¶
- func AASSubmodelElementsFromString(text string) (literal aastypes.AASSubmodelElements, ok bool)
- func AASSubmodelElementsToString(value aastypes.AASSubmodelElements) (result string, ok bool)
- func AssetKindFromString(text string) (literal aastypes.AssetKind, ok bool)
- func AssetKindToString(value aastypes.AssetKind) (result string, ok bool)
- func DataTypeDefXSDFromString(text string) (literal aastypes.DataTypeDefXSD, ok bool)
- func DataTypeDefXSDToString(value aastypes.DataTypeDefXSD) (result string, ok bool)
- func DataTypeIEC61360FromString(text string) (literal aastypes.DataTypeIEC61360, ok bool)
- func DataTypeIEC61360ToString(value aastypes.DataTypeIEC61360) (result string, ok bool)
- func DirectionFromString(text string) (literal aastypes.Direction, ok bool)
- func DirectionToString(value aastypes.Direction) (result string, ok bool)
- func EntityTypeFromString(text string) (literal aastypes.EntityType, ok bool)
- func EntityTypeToString(value aastypes.EntityType) (result string, ok bool)
- func KeyTypesFromString(text string) (literal aastypes.KeyTypes, ok bool)
- func KeyTypesToString(value aastypes.KeyTypes) (result string, ok bool)
- func ModelTypeFromString(text string) (literal aastypes.ModelType, ok bool)
- func ModelTypeToString(value aastypes.ModelType) (result string, ok bool)
- func ModellingKindFromString(text string) (literal aastypes.ModellingKind, ok bool)
- func ModellingKindToString(value aastypes.ModellingKind) (result string, ok bool)
- func MustAASSubmodelElementsToString(value aastypes.AASSubmodelElements) string
- func MustAssetKindToString(value aastypes.AssetKind) string
- func MustDataTypeDefXSDToString(value aastypes.DataTypeDefXSD) string
- func MustDataTypeIEC61360ToString(value aastypes.DataTypeIEC61360) string
- func MustDirectionToString(value aastypes.Direction) string
- func MustEntityTypeToString(value aastypes.EntityType) string
- func MustKeyTypesToString(value aastypes.KeyTypes) string
- func MustModelTypeToString(value aastypes.ModelType) string
- func MustModellingKindToString(value aastypes.ModellingKind) string
- func MustQualifierKindToString(value aastypes.QualifierKind) string
- func MustReferenceTypesToString(value aastypes.ReferenceTypes) string
- func MustStateOfEventToString(value aastypes.StateOfEvent) string
- func QualifierKindFromString(text string) (literal aastypes.QualifierKind, ok bool)
- func QualifierKindToString(value aastypes.QualifierKind) (result string, ok bool)
- func ReferenceTypesFromString(text string) (literal aastypes.ReferenceTypes, ok bool)
- func ReferenceTypesToString(value aastypes.ReferenceTypes) (result string, ok bool)
- func StateOfEventFromString(text string) (literal aastypes.StateOfEvent, ok bool)
- func StateOfEventToString(value aastypes.StateOfEvent) (result string, ok bool)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AASSubmodelElementsFromString ¶
func AASSubmodelElementsFromString( text string, ) (literal aastypes.AASSubmodelElements, ok bool)
Parse `text` as a string representation of aastypes.AASSubmodelElements.
If not ok, the literal result is undefined.
func AASSubmodelElementsToString ¶
func AASSubmodelElementsToString( value aastypes.AASSubmodelElements, ) (result string, ok bool)
Translate `value` from aastypes.AASSubmodelElements to a string.
If the value is not valid, the OK is false and the string representation is undefined.
func AssetKindFromString ¶
Parse `text` as a string representation of aastypes.AssetKind.
If not ok, the literal result is undefined.
func AssetKindToString ¶
Translate `value` from aastypes.AssetKind to a string.
If the value is not valid, the OK is false and the string representation is undefined.
func DataTypeDefXSDFromString ¶
func DataTypeDefXSDFromString( text string, ) (literal aastypes.DataTypeDefXSD, ok bool)
Parse `text` as a string representation of aastypes.DataTypeDefXSD.
If not ok, the literal result is undefined.
func DataTypeDefXSDToString ¶
func DataTypeDefXSDToString( value aastypes.DataTypeDefXSD, ) (result string, ok bool)
Translate `value` from aastypes.DataTypeDefXSD to a string.
If the value is not valid, the OK is false and the string representation is undefined.
func DataTypeIEC61360FromString ¶
func DataTypeIEC61360FromString( text string, ) (literal aastypes.DataTypeIEC61360, ok bool)
Parse `text` as a string representation of aastypes.DataTypeIEC61360.
If not ok, the literal result is undefined.
func DataTypeIEC61360ToString ¶
func DataTypeIEC61360ToString( value aastypes.DataTypeIEC61360, ) (result string, ok bool)
Translate `value` from aastypes.DataTypeIEC61360 to a string.
If the value is not valid, the OK is false and the string representation is undefined.
func DirectionFromString ¶
Parse `text` as a string representation of aastypes.Direction.
If not ok, the literal result is undefined.
func DirectionToString ¶
Translate `value` from aastypes.Direction to a string.
If the value is not valid, the OK is false and the string representation is undefined.
func EntityTypeFromString ¶
func EntityTypeFromString( text string, ) (literal aastypes.EntityType, ok bool)
Parse `text` as a string representation of aastypes.EntityType.
If not ok, the literal result is undefined.
func EntityTypeToString ¶
func EntityTypeToString( value aastypes.EntityType, ) (result string, ok bool)
Translate `value` from aastypes.EntityType to a string.
If the value is not valid, the OK is false and the string representation is undefined.
func KeyTypesFromString ¶
Parse `text` as a string representation of aastypes.KeyTypes.
If not ok, the literal result is undefined.
func KeyTypesToString ¶
Translate `value` from aastypes.KeyTypes to a string.
If the value is not valid, the OK is false and the string representation is undefined.
func ModelTypeFromString ¶
Parse `text` as a string representation of aastypes.ModelType.
If not ok, the literal result is undefined.
func ModelTypeToString ¶
Translate `value` from aastypes.ModelType to a string.
If the value is not valid, the OK is false and the string representation is undefined.
func ModellingKindFromString ¶
func ModellingKindFromString( text string, ) (literal aastypes.ModellingKind, ok bool)
Parse `text` as a string representation of aastypes.ModellingKind.
If not ok, the literal result is undefined.
func ModellingKindToString ¶
func ModellingKindToString( value aastypes.ModellingKind, ) (result string, ok bool)
Translate `value` from aastypes.ModellingKind to a string.
If the value is not valid, the OK is false and the string representation is undefined.
func MustAASSubmodelElementsToString ¶
func MustAASSubmodelElementsToString( value aastypes.AASSubmodelElements, ) string
Translate the `value` from aastypes.AASSubmodelElements to a string.
Panic if the given value is invalid.
func MustAssetKindToString ¶
Translate the `value` from aastypes.AssetKind to a string.
Panic if the given value is invalid.
func MustDataTypeDefXSDToString ¶
func MustDataTypeDefXSDToString( value aastypes.DataTypeDefXSD, ) string
Translate the `value` from aastypes.DataTypeDefXSD to a string.
Panic if the given value is invalid.
func MustDataTypeIEC61360ToString ¶
func MustDataTypeIEC61360ToString( value aastypes.DataTypeIEC61360, ) string
Translate the `value` from aastypes.DataTypeIEC61360 to a string.
Panic if the given value is invalid.
func MustDirectionToString ¶
Translate the `value` from aastypes.Direction to a string.
Panic if the given value is invalid.
func MustEntityTypeToString ¶
func MustEntityTypeToString( value aastypes.EntityType, ) string
Translate the `value` from aastypes.EntityType to a string.
Panic if the given value is invalid.
func MustKeyTypesToString ¶
Translate the `value` from aastypes.KeyTypes to a string.
Panic if the given value is invalid.
func MustModelTypeToString ¶
Translate the `value` from aastypes.ModelType to a string.
Panic if the given value is invalid.
func MustModellingKindToString ¶
func MustModellingKindToString( value aastypes.ModellingKind, ) string
Translate the `value` from aastypes.ModellingKind to a string.
Panic if the given value is invalid.
func MustQualifierKindToString ¶
func MustQualifierKindToString( value aastypes.QualifierKind, ) string
Translate the `value` from aastypes.QualifierKind to a string.
Panic if the given value is invalid.
func MustReferenceTypesToString ¶
func MustReferenceTypesToString( value aastypes.ReferenceTypes, ) string
Translate the `value` from aastypes.ReferenceTypes to a string.
Panic if the given value is invalid.
func MustStateOfEventToString ¶
func MustStateOfEventToString( value aastypes.StateOfEvent, ) string
Translate the `value` from aastypes.StateOfEvent to a string.
Panic if the given value is invalid.
func QualifierKindFromString ¶
func QualifierKindFromString( text string, ) (literal aastypes.QualifierKind, ok bool)
Parse `text` as a string representation of aastypes.QualifierKind.
If not ok, the literal result is undefined.
func QualifierKindToString ¶
func QualifierKindToString( value aastypes.QualifierKind, ) (result string, ok bool)
Translate `value` from aastypes.QualifierKind to a string.
If the value is not valid, the OK is false and the string representation is undefined.
func ReferenceTypesFromString ¶
func ReferenceTypesFromString( text string, ) (literal aastypes.ReferenceTypes, ok bool)
Parse `text` as a string representation of aastypes.ReferenceTypes.
If not ok, the literal result is undefined.
func ReferenceTypesToString ¶
func ReferenceTypesToString( value aastypes.ReferenceTypes, ) (result string, ok bool)
Translate `value` from aastypes.ReferenceTypes to a string.
If the value is not valid, the OK is false and the string representation is undefined.
func StateOfEventFromString ¶
func StateOfEventFromString( text string, ) (literal aastypes.StateOfEvent, ok bool)
Parse `text` as a string representation of aastypes.StateOfEvent.
If not ok, the literal result is undefined.
func StateOfEventToString ¶
func StateOfEventToString( value aastypes.StateOfEvent, ) (result string, ok bool)
Translate `value` from aastypes.StateOfEvent to a string.
If the value is not valid, the OK is false and the string representation is undefined.
Types ¶
This section is empty.