aas-core3 1.0.0
Manipulate, verify and de/serialize asset administration shells in C++.
Loading...
Searching...
No Matches
constants.hpp
Go to the documentation of this file.
1#ifndef AAS_CORE_AAS_3_0_CONSTANTS_GUARD_
2#define AAS_CORE_AAS_3_0_CONSTANTS_GUARD_
3
4// This code has been automatically generated by aas-core-codegen.
5// Do NOT edit or append.
6
8
9#pragma warning(push, 0)
10#include <cstdint>
11#include <unordered_set>
12#include <vector>
13#pragma warning(pop)
14
15namespace aas_core {
16namespace aas_3_0 {
17
22namespace constants {
23
27struct HashBytes {
28 std::size_t operator()(const std::vector<std::uint8_t>& bytes) const;
29};
30
32extern const std::unordered_set<std::wstring> kValidCategoriesForDataElement;
33
35extern const std::unordered_set<types::KeyTypes> kGenericFragmentKeys;
36
38extern const std::unordered_set<types::KeyTypes> kGenericGloballyIdentifiables;
39
41extern const std::unordered_set<types::KeyTypes> kAasIdentifiables;
42
44extern const std::unordered_set<types::KeyTypes> kAasSubmodelElementsAsKeys;
45
47extern const std::unordered_set<types::KeyTypes> kAasReferableNonIdentifiables;
48
50extern const std::unordered_set<types::KeyTypes> kAasReferables;
51
53extern const std::unordered_set<types::KeyTypes> kGloballyIdentifiables;
54
56extern const std::unordered_set<types::KeyTypes> kFragmentKeys;
57
59extern const std::unordered_set<types::DataTypeIec61360> kDataTypeIec61360ForPropertyOrValue;
60
62extern const std::unordered_set<types::DataTypeIec61360> kDataTypeIec61360ForReference;
63
65extern const std::unordered_set<types::DataTypeIec61360> kDataTypeIec61360ForDocument;
66
68extern const std::unordered_set<types::DataTypeIec61360> kIec61360DataTypesWithUnit;
69
70} // namespace common
71
72
73} // namespace aas_3_0
74} // namespace aas_core
75
76// This code has been automatically generated by aas-core-codegen.
77// Do NOT edit or append.
78
79#endif // AAS_CORE_AAS_3_0_CONSTANTS_GUARD_
Definition constants.hpp:22
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:47
Definition common.hpp:46
Definition constants.hpp:27
std::size_t operator()(const std::vector< std::uint8_t > &bytes) const