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 
10 
11 namespace OpcUa
12 {
13 
15 {
16  switch (value)
17  {
19  return "NodeId";
21  return "NodeClass";
23  return "BrowseName";
25  return "DisplayName";
27  return "Description";
29  return "WriteMask";
31  return "UserWriteMask";
33  return "IsAbstract";
35  return "Symmetric";
37  return "InverseName";
39  return "ContainsNoLoops";
41  return "EventNotifier";
42  case AttributeId::Value:
43  return "Value";
45  return "DataType";
47  return "ValueRank";
49  return "ArrayDimensions";
51  return "AccessLevel";
53  return "UserAccessLevel";
55  return "MinimumSamplingInterval";
57  return "Historizing";
59  return "Executable";
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 
OPC UA Address space part. GNU LGPL.
std::string ToString(const AttributeId &value)


ros_opcua_impl_freeopcua
Author(s): Denis Štogl
autogenerated on Tue Jan 19 2021 03:12:08