aas-core3 1.0.0
Manipulate, verify and de/serialize asset administration shells in C++.
Loading...
Searching...
No Matches
aas_core::aas_3_0::wstringification Namespace Reference

Functions

common::optional< types::ModelTypeModelTypeFromWstring (const std::wstring &text)
 
types::ModelType MustModelTypeFromWstring (const std::wstring &text)
 
std::wstring to_wstring (types::ModelType model_type)
 
common::optional< types::ModellingKindModellingKindFromWstring (const std::wstring &text)
 
types::ModellingKind MustModellingKindFromWstring (const std::wstring &text)
 
std::wstring to_wstring (types::ModellingKind literal)
 
common::optional< types::QualifierKindQualifierKindFromWstring (const std::wstring &text)
 
types::QualifierKind MustQualifierKindFromWstring (const std::wstring &text)
 
std::wstring to_wstring (types::QualifierKind literal)
 
common::optional< types::AssetKindAssetKindFromWstring (const std::wstring &text)
 
types::AssetKind MustAssetKindFromWstring (const std::wstring &text)
 
std::wstring to_wstring (types::AssetKind literal)
 
common::optional< types::AasSubmodelElementsAasSubmodelElementsFromWstring (const std::wstring &text)
 
types::AasSubmodelElements MustAasSubmodelElementsFromWstring (const std::wstring &text)
 
std::wstring to_wstring (types::AasSubmodelElements literal)
 
common::optional< types::EntityTypeEntityTypeFromWstring (const std::wstring &text)
 
types::EntityType MustEntityTypeFromWstring (const std::wstring &text)
 
std::wstring to_wstring (types::EntityType literal)
 
common::optional< types::DirectionDirectionFromWstring (const std::wstring &text)
 
types::Direction MustDirectionFromWstring (const std::wstring &text)
 
std::wstring to_wstring (types::Direction literal)
 
common::optional< types::StateOfEventStateOfEventFromWstring (const std::wstring &text)
 
types::StateOfEvent MustStateOfEventFromWstring (const std::wstring &text)
 
std::wstring to_wstring (types::StateOfEvent literal)
 
common::optional< types::ReferenceTypesReferenceTypesFromWstring (const std::wstring &text)
 
types::ReferenceTypes MustReferenceTypesFromWstring (const std::wstring &text)
 
std::wstring to_wstring (types::ReferenceTypes literal)
 
common::optional< types::KeyTypesKeyTypesFromWstring (const std::wstring &text)
 
types::KeyTypes MustKeyTypesFromWstring (const std::wstring &text)
 
std::wstring to_wstring (types::KeyTypes literal)
 
common::optional< types::DataTypeDefXsdDataTypeDefXsdFromWstring (const std::wstring &text)
 
types::DataTypeDefXsd MustDataTypeDefXsdFromWstring (const std::wstring &text)
 
std::wstring to_wstring (types::DataTypeDefXsd literal)
 
common::optional< types::DataTypeIec61360DataTypeIec61360FromWstring (const std::wstring &text)
 
types::DataTypeIec61360 MustDataTypeIec61360FromWstring (const std::wstring &text)
 
std::wstring to_wstring (types::DataTypeIec61360 literal)
 

Function Documentation

◆ AasSubmodelElementsFromWstring()

common::optional< types::AasSubmodelElements > aas_core::aas_3_0::wstringification::AasSubmodelElementsFromWstring ( const std::wstring & text)

Try to parse the text as a literal of types::AasSubmodelElements.

Parameters
textto be parsed
Returns
literal, or nothing, if text invalid

◆ AssetKindFromWstring()

common::optional< types::AssetKind > aas_core::aas_3_0::wstringification::AssetKindFromWstring ( const std::wstring & text)

Try to parse the text as a literal of types::AssetKind.

Parameters
textto be parsed
Returns
literal, or nothing, if text invalid

◆ DataTypeDefXsdFromWstring()

common::optional< types::DataTypeDefXsd > aas_core::aas_3_0::wstringification::DataTypeDefXsdFromWstring ( const std::wstring & text)

Try to parse the text as a literal of types::DataTypeDefXsd.

Parameters
textto be parsed
Returns
literal, or nothing, if text invalid

◆ DataTypeIec61360FromWstring()

common::optional< types::DataTypeIec61360 > aas_core::aas_3_0::wstringification::DataTypeIec61360FromWstring ( const std::wstring & text)

Try to parse the text as a literal of types::DataTypeIec61360.

Parameters
textto be parsed
Returns
literal, or nothing, if text invalid

◆ DirectionFromWstring()

common::optional< types::Direction > aas_core::aas_3_0::wstringification::DirectionFromWstring ( const std::wstring & text)

Try to parse the text as a literal of types::Direction.

Parameters
textto be parsed
Returns
literal, or nothing, if text invalid

◆ EntityTypeFromWstring()

common::optional< types::EntityType > aas_core::aas_3_0::wstringification::EntityTypeFromWstring ( const std::wstring & text)

Try to parse the text as a literal of types::EntityType.

Parameters
textto be parsed
Returns
literal, or nothing, if text invalid

◆ KeyTypesFromWstring()

common::optional< types::KeyTypes > aas_core::aas_3_0::wstringification::KeyTypesFromWstring ( const std::wstring & text)

Try to parse the text as a literal of types::KeyTypes.

Parameters
textto be parsed
Returns
literal, or nothing, if text invalid

◆ ModellingKindFromWstring()

common::optional< types::ModellingKind > aas_core::aas_3_0::wstringification::ModellingKindFromWstring ( const std::wstring & text)

Try to parse the text as a literal of types::ModellingKind.

Parameters
textto be parsed
Returns
literal, or nothing, if text invalid

◆ ModelTypeFromWstring()

common::optional< types::ModelType > aas_core::aas_3_0::wstringification::ModelTypeFromWstring ( const std::wstring & text)

Try to parse the text as a model type literal.

Parameters
textto be parsed
Returns
literal, or nothing, if text invalid

◆ MustAasSubmodelElementsFromWstring()

types::AasSubmodelElements aas_core::aas_3_0::wstringification::MustAasSubmodelElementsFromWstring ( const std::wstring & text)

Parse the text as a literal of types::AasSubmodelElements.

Parameters
textto be parsed
Returns
literal
Exceptions
std::invalid_argumentif text invalid

◆ MustAssetKindFromWstring()

types::AssetKind aas_core::aas_3_0::wstringification::MustAssetKindFromWstring ( const std::wstring & text)

Parse the text as a literal of types::AssetKind.

Parameters
textto be parsed
Returns
literal
Exceptions
std::invalid_argumentif text invalid

◆ MustDataTypeDefXsdFromWstring()

types::DataTypeDefXsd aas_core::aas_3_0::wstringification::MustDataTypeDefXsdFromWstring ( const std::wstring & text)

Parse the text as a literal of types::DataTypeDefXsd.

Parameters
textto be parsed
Returns
literal
Exceptions
std::invalid_argumentif text invalid

◆ MustDataTypeIec61360FromWstring()

types::DataTypeIec61360 aas_core::aas_3_0::wstringification::MustDataTypeIec61360FromWstring ( const std::wstring & text)

Parse the text as a literal of types::DataTypeIec61360.

Parameters
textto be parsed
Returns
literal
Exceptions
std::invalid_argumentif text invalid

◆ MustDirectionFromWstring()

types::Direction aas_core::aas_3_0::wstringification::MustDirectionFromWstring ( const std::wstring & text)

Parse the text as a literal of types::Direction.

Parameters
textto be parsed
Returns
literal
Exceptions
std::invalid_argumentif text invalid

◆ MustEntityTypeFromWstring()

types::EntityType aas_core::aas_3_0::wstringification::MustEntityTypeFromWstring ( const std::wstring & text)

Parse the text as a literal of types::EntityType.

Parameters
textto be parsed
Returns
literal
Exceptions
std::invalid_argumentif text invalid

◆ MustKeyTypesFromWstring()

types::KeyTypes aas_core::aas_3_0::wstringification::MustKeyTypesFromWstring ( const std::wstring & text)

Parse the text as a literal of types::KeyTypes.

Parameters
textto be parsed
Returns
literal
Exceptions
std::invalid_argumentif text invalid

◆ MustModellingKindFromWstring()

types::ModellingKind aas_core::aas_3_0::wstringification::MustModellingKindFromWstring ( const std::wstring & text)

Parse the text as a literal of types::ModellingKind.

Parameters
textto be parsed
Returns
literal
Exceptions
std::invalid_argumentif text invalid

◆ MustModelTypeFromWstring()

types::ModelType aas_core::aas_3_0::wstringification::MustModelTypeFromWstring ( const std::wstring & text)

Parse the text as a model type literal.

Parameters
textto be parsed
Returns
literal
Exceptions
std::invalid_argumentif text invalid

◆ MustQualifierKindFromWstring()

types::QualifierKind aas_core::aas_3_0::wstringification::MustQualifierKindFromWstring ( const std::wstring & text)

Parse the text as a literal of types::QualifierKind.

Parameters
textto be parsed
Returns
literal
Exceptions
std::invalid_argumentif text invalid

◆ MustReferenceTypesFromWstring()

types::ReferenceTypes aas_core::aas_3_0::wstringification::MustReferenceTypesFromWstring ( const std::wstring & text)

Parse the text as a literal of types::ReferenceTypes.

Parameters
textto be parsed
Returns
literal
Exceptions
std::invalid_argumentif text invalid

◆ MustStateOfEventFromWstring()

types::StateOfEvent aas_core::aas_3_0::wstringification::MustStateOfEventFromWstring ( const std::wstring & text)

Parse the text as a literal of types::StateOfEvent.

Parameters
textto be parsed
Returns
literal
Exceptions
std::invalid_argumentif text invalid

◆ QualifierKindFromWstring()

common::optional< types::QualifierKind > aas_core::aas_3_0::wstringification::QualifierKindFromWstring ( const std::wstring & text)

Try to parse the text as a literal of types::QualifierKind.

Parameters
textto be parsed
Returns
literal, or nothing, if text invalid

◆ ReferenceTypesFromWstring()

common::optional< types::ReferenceTypes > aas_core::aas_3_0::wstringification::ReferenceTypesFromWstring ( const std::wstring & text)

Try to parse the text as a literal of types::ReferenceTypes.

Parameters
textto be parsed
Returns
literal, or nothing, if text invalid

◆ StateOfEventFromWstring()

common::optional< types::StateOfEvent > aas_core::aas_3_0::wstringification::StateOfEventFromWstring ( const std::wstring & text)

Try to parse the text as a literal of types::StateOfEvent.

Parameters
textto be parsed
Returns
literal, or nothing, if text invalid

◆ to_wstring() [1/12]

std::wstring aas_core::aas_3_0::wstringification::to_wstring ( types::AasSubmodelElements literal)

Translate the enumeration literal literal of types::AasSubmodelElements to text.

Parameters
literalto be converted into text
Returns
text representation of literal
Exceptions
std::invalid_argumentif literal invalid

◆ to_wstring() [2/12]

std::wstring aas_core::aas_3_0::wstringification::to_wstring ( types::AssetKind literal)

Translate the enumeration literal literal of types::AssetKind to text.

Parameters
literalto be converted into text
Returns
text representation of literal
Exceptions
std::invalid_argumentif literal invalid

◆ to_wstring() [3/12]

std::wstring aas_core::aas_3_0::wstringification::to_wstring ( types::DataTypeDefXsd literal)

Translate the enumeration literal literal of types::DataTypeDefXsd to text.

Parameters
literalto be converted into text
Returns
text representation of literal
Exceptions
std::invalid_argumentif literal invalid

◆ to_wstring() [4/12]

std::wstring aas_core::aas_3_0::wstringification::to_wstring ( types::DataTypeIec61360 literal)

Translate the enumeration literal literal of types::DataTypeIec61360 to text.

Parameters
literalto be converted into text
Returns
text representation of literal
Exceptions
std::invalid_argumentif literal invalid

◆ to_wstring() [5/12]

std::wstring aas_core::aas_3_0::wstringification::to_wstring ( types::Direction literal)

Translate the enumeration literal literal of types::Direction to text.

Parameters
literalto be converted into text
Returns
text representation of literal
Exceptions
std::invalid_argumentif literal invalid

◆ to_wstring() [6/12]

std::wstring aas_core::aas_3_0::wstringification::to_wstring ( types::EntityType literal)

Translate the enumeration literal literal of types::EntityType to text.

Parameters
literalto be converted into text
Returns
text representation of literal
Exceptions
std::invalid_argumentif literal invalid

◆ to_wstring() [7/12]

std::wstring aas_core::aas_3_0::wstringification::to_wstring ( types::KeyTypes literal)

Translate the enumeration literal literal of types::KeyTypes to text.

Parameters
literalto be converted into text
Returns
text representation of literal
Exceptions
std::invalid_argumentif literal invalid

◆ to_wstring() [8/12]

std::wstring aas_core::aas_3_0::wstringification::to_wstring ( types::ModellingKind literal)

Translate the enumeration literal literal of types::ModellingKind to text.

Parameters
literalto be converted into text
Returns
text representation of literal
Exceptions
std::invalid_argumentif literal invalid

◆ to_wstring() [9/12]

std::wstring aas_core::aas_3_0::wstringification::to_wstring ( types::ModelType model_type)

Translate the enumeration literal model_type to text.

Parameters
model_typeto be converted into text
Returns
text representation of model_type
Exceptions
std::invalid_argumentif model_type invalid

◆ to_wstring() [10/12]

std::wstring aas_core::aas_3_0::wstringification::to_wstring ( types::QualifierKind literal)

Translate the enumeration literal literal of types::QualifierKind to text.

Parameters
literalto be converted into text
Returns
text representation of literal
Exceptions
std::invalid_argumentif literal invalid

◆ to_wstring() [11/12]

std::wstring aas_core::aas_3_0::wstringification::to_wstring ( types::ReferenceTypes literal)

Translate the enumeration literal literal of types::ReferenceTypes to text.

Parameters
literalto be converted into text
Returns
text representation of literal
Exceptions
std::invalid_argumentif literal invalid

◆ to_wstring() [12/12]

std::wstring aas_core::aas_3_0::wstringification::to_wstring ( types::StateOfEvent literal)

Translate the enumeration literal literal of types::StateOfEvent to text.

Parameters
literalto be converted into text
Returns
text representation of literal
Exceptions
std::invalid_argumentif literal invalid