Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
freeopcua
src
protocol
string_utils_attributeid_tostring.cpp
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
#include <sstream>
7
#include <string>
8
9
#include "
opc/ua/protocol/attribute_ids.h
"
10
11
namespace
OpcUa
12
{
13
14
std::string
ToString
(
const
AttributeId
& value)
15
{
16
switch
(value)
17
{
18
case
AttributeId::NodeId
:
19
return
"NodeId"
;
20
case
AttributeId::NodeClass
:
21
return
"NodeClass"
;
22
case
AttributeId::BrowseName
:
23
return
"BrowseName"
;
24
case
AttributeId::DisplayName
:
25
return
"DisplayName"
;
26
case
AttributeId::Description
:
27
return
"Description"
;
28
case
AttributeId::WriteMask
:
29
return
"WriteMask"
;
30
case
AttributeId::UserWriteMask
:
31
return
"UserWriteMask"
;
32
case
AttributeId::IsAbstract
:
33
return
"IsAbstract"
;
34
case
AttributeId::Symmetric
:
35
return
"Symmetric"
;
36
case
AttributeId::InverseName
:
37
return
"InverseName"
;
38
case
AttributeId::ContainsNoLoops
:
39
return
"ContainsNoLoops"
;
40
case
AttributeId::EventNotifier
:
41
return
"EventNotifier"
;
42
case
AttributeId::Value
:
43
return
"Value"
;
44
case
AttributeId::DataType
:
45
return
"DataType"
;
46
case
AttributeId::ValueRank
:
47
return
"ValueRank"
;
48
case
AttributeId::ArrayDimensions
:
49
return
"ArrayDimensions"
;
50
case
AttributeId::AccessLevel
:
51
return
"AccessLevel"
;
52
case
AttributeId::UserAccessLevel
:
53
return
"UserAccessLevel"
;
54
case
AttributeId::MinimumSamplingInterval
:
55
return
"MinimumSamplingInterval"
;
56
case
AttributeId::Historizing
:
57
return
"Historizing"
;
58
case
AttributeId::Executable
:
59
return
"Executable"
;
60
case
AttributeId::UserExecutable
:
61
return
"UserExecutable"
;
62
default
:
63
{
64
std::stringstream result;
65
result <<
"unknown("
<<
static_cast<
int
>
(value) <<
")"
;
66
return
result.str();
67
}
68
}
69
}
70
71
}
// namespace OpcUa
72
OpcUa::Historizing
OpcUa::WriteMask
OpcUa::ValueRank
Definition:
protocol/node_management.h:48
OpcUa::ContainsNoLoops
OpcUa::AttributeId::NodeId
testing::internal::string
::std::string string
Definition:
gmock/fused-src/gtest/gtest.h:2070
OpcUa::EventNotifier
OpcUa::Executable
OpcUa::Symmetric
OpcUa::ArrayDimensions
Definition:
protocol/node_management.h:33
OpcUa::AttributeId::NodeClass
OpcUa::DisplayName
OpcUa::UserAccessLevel
OpcUa::Value
OpcUa
OPC UA Address space part. GNU LGPL.
Definition:
ua/client/addon.h:18
attribute_ids.h
OpcUa::ToString
std::string ToString(const AttributeId &value)
Definition:
string_utils_attributeid_tostring.cpp:14
OpcUa::Description
OpcUa::UserWriteMask
OpcUa::DataType
OpcUa::MinimumSamplingInterval
OpcUa::AttributeId::BrowseName
OpcUa::IsAbstract
OpcUa::UserExecutable
OpcUa::AttributeId
AttributeId
Definition:
attribute_ids.h:12
OpcUa::AccessLevel
OpcUa::InverseName
ros_opcua_impl_freeopcua
Author(s): Denis Štogl
autogenerated on Tue Jan 19 2021 03:12:08