Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
freeopcua
src
clientapp
opcua_options_attribute_ids.h
Go to the documentation of this file.
1
//
2
// DO NOT EDIT THIS FILE!
3
// It is automatically generated from opcfoundation.org schemas.
4
//
5
6
#pragma once
7
8
inline
AttributeId
GetAttributeIdOptionValue
(
const
po::variables_map & vm)
9
{
10
const
std::string
name
= vm[OPTION_ATTRIBUTE].as<
std::string
>();
11
12
if
(name ==
"node id"
)
13
{
14
return
AttributeId::NodeId
;
15
}
16
17
if
(name ==
"node class"
)
18
{
19
return
AttributeId::NodeClass
;
20
}
21
22
if
(name ==
"browse name"
)
23
{
24
return
AttributeId::BrowseName;
25
}
26
27
if
(name ==
"display name"
)
28
{
29
return
AttributeId::DisplayName
;
30
}
31
32
if
(name ==
"description"
)
33
{
34
return
AttributeId::Description
;
35
}
36
37
if
(name ==
"write mask"
)
38
{
39
return
AttributeId::WriteMask
;
40
}
41
42
if
(name ==
"user write mask"
)
43
{
44
return
AttributeId::UserWriteMask
;
45
}
46
47
if
(name ==
"is abstract"
)
48
{
49
return
AttributeId::IsAbstract
;
50
}
51
52
if
(name ==
"symmetric"
)
53
{
54
return
AttributeId::Symmetric
;
55
}
56
57
if
(name ==
"inverse name"
)
58
{
59
return
AttributeId::InverseName
;
60
}
61
62
if
(name ==
"contains no loops"
)
63
{
64
return
AttributeId::ContainsNoLoops
;
65
}
66
67
if
(name ==
"event notifier"
)
68
{
69
return
AttributeId::EventNotifier
;
70
}
71
72
if
(name ==
"value"
)
73
{
74
return
AttributeId::Value
;
75
}
76
77
if
(name ==
"data type"
)
78
{
79
return
AttributeId::DataType
;
80
}
81
82
if
(name ==
"value rank"
)
83
{
84
return
AttributeId::ValueRank
;
85
}
86
87
if
(name ==
"array dimensions"
)
88
{
89
return
AttributeId::ArrayDimensions
;
90
}
91
92
if
(name ==
"access level"
)
93
{
94
return
AttributeId::AccessLevel
;
95
}
96
97
if
(name ==
"user access level"
)
98
{
99
return
AttributeId::UserAccessLevel
;
100
}
101
102
if
(name ==
"minimum sampling interval"
)
103
{
104
return
AttributeId::MinimumSamplingInterval
;
105
}
106
107
if
(name ==
"historizing"
)
108
{
109
return
AttributeId::Historizing
;
110
}
111
112
if
(name ==
"executable"
)
113
{
114
return
AttributeId::Executable
;
115
}
116
117
if
(name ==
"user executable"
)
118
{
119
return
AttributeId::UserExecutable
;
120
}
121
122
throw
std::logic_error(
std::string
(
"Unknown AttributeId: "
) + name);
123
}
124
OpcUa::MinimumSamplingInterval
Definition:
protocol/node_management.h:43
OpcUa::ValueRank
Definition:
protocol/node_management.h:48
OpcUa::Value
Definition:
protocol/node_management.h:50
testing::internal::string
::std::string string
Definition:
gmock/fused-src/gtest/gtest.h:2070
OpcUa::ContainsNoLoops
Definition:
protocol/node_management.h:34
OpcUa::UserExecutable
Definition:
protocol/node_management.h:46
OpcUa::WriteMask
Definition:
protocol/node_management.h:49
OpcUa::Names::NodeId
const char NodeId[]
Definition:
strings.h:116
setup.name
name
Definition:
setup.py:38
OpcUa::Symmetric
Definition:
protocol/node_management.h:44
OpcUa::Description
Definition:
protocol/node_management.h:36
OpcUa::ArrayDimensions
Definition:
protocol/node_management.h:33
OpcUa::Historizing
Definition:
protocol/node_management.h:40
OpcUa::DisplayName
Definition:
protocol/node_management.h:37
OpcUa::UserWriteMask
Definition:
protocol/node_management.h:47
OpcUa::AccessLevel
Definition:
protocol/node_management.h:32
OpcUa::InverseName
Definition:
protocol/node_management.h:41
OpcUa::NodeClass
NodeClass
Definition:
enums.h:39
OpcUa::EventNotifier
Definition:
protocol/node_management.h:38
OpcUa::UserAccessLevel
Definition:
protocol/node_management.h:45
OpcUa::IsAbstract
Definition:
protocol/node_management.h:42
GetAttributeIdOptionValue
AttributeId GetAttributeIdOptionValue(const po::variables_map &vm)
Definition:
opcua_options_attribute_ids.h:8
OpcUa::Executable
Definition:
protocol/node_management.h:39
OpcUa::AttributeId
AttributeId
Definition:
attribute_ids.h:12
OpcUa::DataType
Definition:
protocol/node_management.h:35
ros_opcua_impl_freeopcua
Author(s): Denis Štogl
autogenerated on Tue Jan 19 2021 03:12:07