aas-core3 1.0.1
Manipulate, verify and de/serialize asset administration shells in C++.
Loading...
Searching...
No Matches
constants.hpp
Go to the documentation of this file.
1// SPDX-FileCopyrightText: 2023 aas-core3.0-cpp AUTHORS
2//
3// SPDX-License-Identifier: MIT
4
5#ifndef AAS_CORE_AAS_3_0_CONSTANTS_GUARD_
6#define AAS_CORE_AAS_3_0_CONSTANTS_GUARD_
7
8// This code has been automatically generated by aas-core-codegen.
9// Do NOT edit or append.
10
12
13#pragma warning(push, 0)
14#include <cstdint>
15#include <unordered_set>
16#include <vector>
17#pragma warning(pop)
18
19namespace aas_core {
20namespace aas_3_0 {
21
26namespace constants {
27
31struct HashBytes {
32 std::size_t operator()(const std::vector<std::uint8_t>& bytes) const;
33};
34
36extern const std::unordered_set<std::wstring> kValidCategoriesForDataElement;
37
39extern const std::unordered_set<types::KeyTypes> kGenericFragmentKeys;
40
42extern const std::unordered_set<types::KeyTypes> kGenericGloballyIdentifiables;
43
45extern const std::unordered_set<types::KeyTypes> kAasIdentifiables;
46
48extern const std::unordered_set<types::KeyTypes> kAasSubmodelElementsAsKeys;
49
51extern const std::unordered_set<types::KeyTypes> kAasReferableNonIdentifiables;
52
54extern const std::unordered_set<types::KeyTypes> kAasReferables;
55
57extern const std::unordered_set<types::KeyTypes> kGloballyIdentifiables;
58
60extern const std::unordered_set<types::KeyTypes> kFragmentKeys;
61
63extern const std::unordered_set<types::DataTypeIec61360> kDataTypeIec61360ForPropertyOrValue;
64
66extern const std::unordered_set<types::DataTypeIec61360> kDataTypeIec61360ForReference;
67
69extern const std::unordered_set<types::DataTypeIec61360> kDataTypeIec61360ForDocument;
70
72extern const std::unordered_set<types::DataTypeIec61360> kIec61360DataTypesWithUnit;
73
74} // namespace common
75
76
77} // namespace aas_3_0
78} // namespace aas_core
79
80// This code has been automatically generated by aas-core-codegen.
81// Do NOT edit or append.
82
83#endif // AAS_CORE_AAS_3_0_CONSTANTS_GUARD_
Definition constants.hpp:26
const std::unordered_set< types::DataTypeIec61360 > kDataTypeIec61360ForPropertyOrValue
IEC 61360 data types for concept descriptions categorized with PROPERTY or VALUE.
const std::unordered_set< types::KeyTypes > kGenericFragmentKeys
Enumeration of all identifiable elements within an asset administration shell.
const std::unordered_set< types::DataTypeIec61360 > kIec61360DataTypesWithUnit
These data types imply that the unit is defined in the data specification.
const std::unordered_set< types::KeyTypes > kGloballyIdentifiables
Enumeration of all referable elements within an asset administration shell.
const std::unordered_set< types::KeyTypes > kAasReferables
Enumeration of referables. We need this to check that model references refer to a Referable....
const std::unordered_set< types::KeyTypes > kGenericGloballyIdentifiables
Enumeration of different key value types within a key.
const std::unordered_set< types::KeyTypes > kAasSubmodelElementsAsKeys
Enumeration of all submodel elements within an asset administration shell.
const std::unordered_set< types::KeyTypes > kAasReferableNonIdentifiables
Enumeration of different fragment key value types within a key.
const std::unordered_set< std::wstring > kValidCategoriesForDataElement
Categories for types::IDataElement as defined in Constraint AASd-090.
const std::unordered_set< types::KeyTypes > kAasIdentifiables
Enumeration of different key value types within a key.
const std::unordered_set< types::DataTypeIec61360 > kDataTypeIec61360ForReference
IEC 61360 data types for concept descriptions categorized with REFERENCE.
const std::unordered_set< types::DataTypeIec61360 > kDataTypeIec61360ForDocument
IEC 61360 data types for concept descriptions categorized with DOCUMENT.
const std::unordered_set< types::KeyTypes > kFragmentKeys
Enumeration of different key value types within a key.
Definition common.hpp:51
Definition common.hpp:50
Definition constants.hpp:31
std::size_t operator()(const std::vector< std::uint8_t > &bytes) const