open62541++ 0.13.0
C++ wrapper of open62541
Loading...
Searching...
No Matches
Namespaces | Classes | Typedefs | Enumerations | Functions | Variables
opcua Namespace Reference

Namespaces

namespace  crypto
 
namespace  detail
 
namespace  services
 

Classes

class  AccessControlBase
 
class  AccessControlDefault
 
class  AddNodesItem
 
class  AddNodesRequest
 
class  AddNodesResponse
 
class  AddNodesResult
 
class  AddReferencesItem
 
class  AddReferencesRequest
 
class  AddReferencesResponse
 
class  AggregateFilter
 
class  AnonymousIdentityToken
 
class  ApplicationDescription
 
class  Argument
 
struct  AsyncResult
 
struct  AsyncResult< UseDeferredToken, T >
 
struct  AsyncResult< UseDetachedToken, T >
 
struct  AsyncResult< UseFutureToken, T >
 
class  AttributeOperand
 
class  BadDisconnect
 
class  BadResult
 
class  BadStatus
 
class  BadVariantAccess
 
class  Bitmask
 
class  BrowseDescription
 
class  BrowseNextRequest
 
class  BrowseNextResponse
 
class  BrowsePath
 
class  BrowsePathResult
 
class  BrowsePathTarget
 
class  BrowseRequest
 
class  BrowseResponse
 
class  BrowseResult
 
class  ByteString
 
class  CallMethodRequest
 
class  CallMethodResult
 
class  CallRequest
 
class  CallResponse
 
class  Client
 
class  ContentFilter
 
class  ContentFilterElement
 
class  CreateCertificateError
 
class  CreateSubscriptionRequest
 
class  CreateSubscriptionResponse
 
class  DataChangeFilter
 
class  DataType
 
class  DataTypeAttributes
 
class  DataTypeBuilder
 
class  DataValue
 
class  DateTime
 
class  DeleteNodesItem
 
class  DeleteNodesRequest
 
class  DeleteNodesResponse
 
class  DeleteReferencesItem
 
class  DeleteReferencesRequest
 
class  DeleteReferencesResponse
 
class  DiagnosticInfo
 
class  ElementOperand
 
class  EndpointDescription
 
class  EnumValueType
 
class  Event
 
class  EventFilter
 
class  ExpandedNodeId
 
class  ExtensionObject
 
class  Guid
 
struct  IsBitmaskEnum
 
struct  IsBitmaskEnum< AccessLevel >
 
struct  IsBitmaskEnum< BrowseResultMask >
 
struct  IsBitmaskEnum< EventNotifier >
 
struct  IsBitmaskEnum< NodeAttributesMask >
 
struct  IsBitmaskEnum< NodeClass >
 
struct  IsBitmaskEnum< WriteMask >
 
class  IssuedIdentityToken
 
class  LiteralOperand
 
class  LocalizedText
 
struct  Login
 
class  MethodAttributes
 
class  ModifySubscriptionRequest
 
class  ModifySubscriptionResponse
 
class  MonitoredItem
 
class  Node
 
class  NodeAttributes
 
class  NodeId
 
class  NumericRange
 
class  ObjectAttributes
 
class  ObjectTypeAttributes
 
class  PluginAdapter
 
class  QualifiedName
 
class  ReadRequest
 
class  ReadResponse
 
class  ReadValueId
 
class  ReferenceDescription
 
class  ReferenceTypeAttributes
 
class  RegisterNodesRequest
 
class  RegisterNodesResponse
 
class  RelativePath
 
class  RelativePathElement
 
class  RequestHeader
 
class  ResponseHeader
 
class  Result
 
class  Result< void >
 
class  Server
 
class  Session
 
class  SetPublishingModeRequest
 
class  SetPublishingModeResponse
 
class  SimpleAttributeOperand
 
class  Span
 
class  StatusCode
 
class  String
 
class  Subscription
 
class  TranslateBrowsePathsToNodeIdsRequest
 
class  TranslateBrowsePathsToNodeIdsResponse
 
struct  TypeConverter
 
struct  TypeConverter< char[N]>
 
struct  TypeConverter< const char * >
 
struct  TypeConverter< std::chrono::time_point< Clock, Duration > >
 
struct  TypeConverter< std::string >
 
struct  TypeConverter< std::string_view >
 
struct  TypeIndexList
 
struct  TypeRegistry
 
struct  TypeRegistry< T, std::enable_if_t< detail::isTypeWrapper< T > > >
 
class  TypeWrapper
 
class  UnregisterNodesRequest
 
class  UnregisterNodesResponse
 
struct  UseDeferredToken
 
struct  UseDetachedToken
 
struct  UseFutureToken
 
class  UserIdentityToken
 
class  UserNameIdentityToken
 
class  UserTokenPolicy
 
struct  ValueBackendDataSource
 
struct  ValueCallback
 
class  VariableAttributes
 
class  VariableTypeAttributes
 
class  Variant
 
class  ViewAttributes
 
class  ViewDescription
 
class  Wrapper
 
class  WriteRequest
 
class  WriteResponse
 
class  WriteValue
 
class  X509IdentityToken
 
class  XmlElement
 

Typedefs

using DefaultCompletionToken = UseFutureToken
 
using StateCallback = std::function<void()>
 
using NamespaceIndex = uint16_t
 
using TypeIndex = uint16_t
 
using DataTypeMember = UA_DataTypeMember
 
using Logger = std::function<void(LogLevel, LogCategory, std::string_view msg)>
 
using MonitoringParametersEx = services::MonitoringParametersEx
 
using SubscriptionParameters = services::SubscriptionParameters
 
using DataChangeNotificationCallback = services::DataChangeNotificationCallback
 
using EventNotificationCallback = services::EventNotificationCallback
 
template<typename T >
using DataChangeCallback
 
template<typename T >
using EventCallback
 
using NumericRangeDimension = UA_NumericRangeDimension
 
using FilterOperand
 
using AggregateConfiguration = UA_AggregateConfiguration
 

Enumerations

enum class  Type : TypeIndex
 
enum class  AttributeId : int32_t
 
enum class  NodeClass : int32_t
 
enum class  AccessLevel : uint8_t
 
enum class  WriteMask : uint32_t
 
enum class  ValueRank : int32_t
 
enum class  EventNotifier : uint8_t
 
enum class  ModellingRule : uint16_t
 
enum class  BrowseDirection : int32_t
 
enum class  TimestampsToReturn : int32_t
 
enum class  MonitoringMode : int32_t
 
enum class  MessageSecurityMode : int32_t
 
enum class  LogLevel
 
enum class  LogCategory
 
enum class  DataTypeId : int32_t
 
enum class  ReferenceTypeId : int32_t
 
enum class  ObjectTypeId : int32_t
 
enum class  VariableTypeId : int32_t
 
enum class  ObjectId : int32_t
 
enum class  VariableId : int32_t
 
enum class  MethodId : int32_t
 
enum class  UserTokenType : int32_t
 
enum class  NodeAttributesMask : uint32_t
 
enum class  BrowseResultMask : uint32_t
 
enum class  FilterOperator : int32_t
 
enum class  DataChangeTrigger : int32_t
 
enum class  DeadbandType : int32_t
 
enum class  PerformUpdateType : int32_t
 
enum class  ExtensionObjectEncoding
 
enum class  NodeIdType : uint8_t
 
enum class  VariantPolicy
 

Functions

template<typename T , typename Initiation , typename CompletionToken , typename... Args>
auto asyncInitiate (Initiation &&initiation, CompletionToken &&token, Args &&... args)
 
bool operator== (const Client &lhs, const Client &rhs) noexcept
 
bool operator!= (const Client &lhs, const Client &rhs) noexcept
 
bool operator== (const UA_DataType &lhs, const UA_DataType &rhs) noexcept
 
bool operator!= (const UA_DataType &lhs, const UA_DataType &rhs) noexcept
 
bool operator== (const UA_DataTypeMember &lhs, const UA_DataTypeMember &rhs) noexcept
 
bool operator!= (const UA_DataTypeMember &lhs, const UA_DataTypeMember &rhs) noexcept
 
constexpr void throwIfBad (UA_StatusCode code)
 
bool operator== (const Event &lhs, const Event &rhs) noexcept
 
bool operator!= (const Event &lhs, const Event &rhs) noexcept
 
void log (UA_Client *client, LogLevel level, LogCategory category, std::string_view msg)
 
void log (Client &client, LogLevel level, LogCategory category, std::string_view msg)
 
void log (UA_Server *server, LogLevel level, LogCategory category, std::string_view msg)
 
void log (Server &server, LogLevel level, LogCategory category, std::string_view msg)
 
template<typename T >
bool operator== (const MonitoredItem< T > &lhs, const MonitoredItem< T > &rhs) noexcept
 
template<typename T >
bool operator!= (const MonitoredItem< T > &lhs, const MonitoredItem< T > &rhs) noexcept
 
template<typename Connection >
bool operator== (const Node< Connection > &lhs, const Node< Connection > &rhs) noexcept
 
template<typename Connection >
bool operator!= (const Node< Connection > &lhs, const Node< Connection > &rhs) noexcept
 
bool operator== (const Server &lhs, const Server &rhs) noexcept
 
bool operator!= (const Server &lhs, const Server &rhs) noexcept
 
bool operator== (const Session &lhs, const Session &rhs) noexcept
 
bool operator!= (const Session &lhs, const Session &rhs) noexcept
 
template<typename Container >
 Span (Container &) -> Span< typename Container::value_type >
 
template<typename Container >
 Span (const Container &) -> Span< const typename Container::value_type >
 
template<typename T , typename U , typename = detail::EnableIfEqualityComparable<T, U>>
constexpr bool operator== (Span< T > lhs, Span< U > rhs)
 
template<typename T , typename U , typename = detail::EnableIfEqualityComparable<T, U>>
constexpr bool operator!= (Span< T > lhs, Span< U > rhs)
 
template<typename T >
bool operator== (const Subscription< T > &lhs, const Subscription< T > &rhs) noexcept
 
template<typename T >
bool operator!= (const Subscription< T > &lhs, const Subscription< T > &rhs) noexcept
 
template<typename T >
const UA_DataTypegetDataType () noexcept
 
bool operator== (const UA_String &lhs, const UA_String &rhs) noexcept
 
bool operator!= (const UA_String &lhs, const UA_String &rhs) noexcept
 
bool operator== (const String &lhs, std::string_view rhs) noexcept
 
bool operator!= (const String &lhs, std::string_view rhs) noexcept
 
bool operator== (std::string_view lhs, const String &rhs) noexcept
 
bool operator!= (std::string_view lhs, const String &rhs) noexcept
 
std::ostream & operator<< (std::ostream &os, const String &string)
 
bool operator== (const UA_Guid &lhs, const UA_Guid &rhs) noexcept
 
bool operator!= (const UA_Guid &lhs, const UA_Guid &rhs) noexcept
 
std::ostream & operator<< (std::ostream &os, const Guid &guid)
 
bool operator== (const ByteString &lhs, std::string_view rhs) noexcept
 
bool operator!= (const ByteString &lhs, std::string_view rhs) noexcept
 
bool operator== (std::string_view lhs, const ByteString &rhs) noexcept
 
bool operator!= (std::string_view lhs, const ByteString &rhs) noexcept
 
std::ostream & operator<< (std::ostream &os, const XmlElement &xmlElement)
 
bool operator== (const UA_QualifiedName &lhs, const UA_QualifiedName &rhs) noexcept
 
bool operator!= (const UA_QualifiedName &lhs, const UA_QualifiedName &rhs) noexcept
 
bool operator== (const UA_LocalizedText &lhs, const UA_LocalizedText &rhs) noexcept
 
bool operator!= (const UA_LocalizedText &lhs, const UA_LocalizedText &rhs) noexcept
 
bool operator== (const NumericRangeDimension &lhs, const NumericRangeDimension &rhs) noexcept
 
bool operator!= (const NumericRangeDimension &lhs, const NumericRangeDimension &rhs) noexcept
 
ContentFilter operator! (const ContentFilterElement &filterElement)
 
ContentFilter operator! (const ContentFilter &filter)
 
ContentFilter operator&& (const ContentFilterElement &lhs, const ContentFilterElement &rhs)
 
ContentFilter operator&& (const ContentFilterElement &lhs, const ContentFilter &rhs)
 
ContentFilter operator&& (const ContentFilter &lhs, const ContentFilterElement &rhs)
 
ContentFilter operator&& (const ContentFilter &lhs, const ContentFilter &rhs)
 
ContentFilter operator|| (const ContentFilterElement &lhs, const ContentFilterElement &rhs)
 
ContentFilter operator|| (const ContentFilterElement &lhs, const ContentFilter &rhs)
 
ContentFilter operator|| (const ContentFilter &lhs, const ContentFilterElement &rhs)
 
ContentFilter operator|| (const ContentFilter &lhs, const ContentFilter &rhs)
 
bool operator== (const UA_NodeId &lhs, const UA_NodeId &rhs) noexcept
 
bool operator!= (const UA_NodeId &lhs, const UA_NodeId &rhs) noexcept
 
bool operator< (const UA_NodeId &lhs, const UA_NodeId &rhs) noexcept
 
bool operator> (const UA_NodeId &lhs, const UA_NodeId &rhs) noexcept
 
bool operator<= (const UA_NodeId &lhs, const UA_NodeId &rhs) noexcept
 
bool operator>= (const UA_NodeId &lhs, const UA_NodeId &rhs) noexcept
 
bool operator== (const UA_ExpandedNodeId &lhs, const UA_ExpandedNodeId &rhs) noexcept
 
bool operator!= (const UA_ExpandedNodeId &lhs, const UA_ExpandedNodeId &rhs) noexcept
 
bool operator< (const UA_ExpandedNodeId &lhs, const UA_ExpandedNodeId &rhs) noexcept
 
bool operator> (const UA_ExpandedNodeId &lhs, const UA_ExpandedNodeId &rhs) noexcept
 
bool operator<= (const UA_ExpandedNodeId &lhs, const UA_ExpandedNodeId &rhs) noexcept
 
bool operator>= (const UA_ExpandedNodeId &lhs, const UA_ExpandedNodeId &rhs) noexcept
 
template<typename WrapperType , typename NativeType = typename WrapperType::NativeType>
constexpr WrapperType * asWrapper (NativeType *native) noexcept
 
template<typename WrapperType , typename NativeType = typename WrapperType::NativeType>
constexpr const WrapperType * asWrapper (const NativeType *native) noexcept
 
template<typename WrapperType , typename NativeType = typename WrapperType::NativeType>
constexpr WrapperType & asWrapper (NativeType &native) noexcept
 
template<typename WrapperType , typename NativeType = typename WrapperType::NativeType>
constexpr const WrapperType & asWrapper (const NativeType &native) noexcept
 
template<typename WrapperType , typename NativeType = typename WrapperType::NativeType>
constexpr NativeType * asNative (WrapperType *wrapper) noexcept
 
template<typename WrapperType , typename NativeType = typename WrapperType::NativeType>
constexpr const NativeType * asNative (const WrapperType *wrapper) noexcept
 
template<typename WrapperType , typename NativeType = typename WrapperType::NativeType>
constexpr NativeType & asNative (WrapperType &wrapper) noexcept
 
template<typename WrapperType , typename NativeType = typename WrapperType::NativeType>
constexpr const NativeType & asNative (const WrapperType &wrapper) noexcept
 

Variables

constexpr UseFutureToken useFuture
 
constexpr UseDeferredToken useDeferred
 
constexpr UseDetachedToken useDetached
 

Typedef Documentation

◆ StateCallback

using opcua::StateCallback = std::function<void()>

Definition at line 52 of file Client.h.

◆ NamespaceIndex

using opcua::NamespaceIndex = uint16_t

Namespace index.

See also
https://reference.opcfoundation.org/Core/Part3/v105/docs/8.2.2

Definition at line 11 of file Common.h.

◆ TypeIndex

using opcua::TypeIndex = uint16_t

Type index of the UA_TYPES array.

Definition at line 14 of file Common.h.

◆ DataTypeMember

Definition at line 15 of file DataType.h.

◆ Logger

using opcua::Logger = std::function<void(LogLevel, LogCategory, std::string_view msg)>

Log function signature.

Definition at line 44 of file Logger.h.

◆ MonitoringParametersEx

Definition at line 18 of file MonitoredItem.h.

◆ SubscriptionParameters

Definition at line 28 of file Subscription.h.

◆ DataChangeNotificationCallback

Definition at line 30 of file Subscription.h.

◆ EventNotificationCallback

Definition at line 31 of file Subscription.h.

◆ DataChangeCallback

template<typename T >
using opcua::DataChangeCallback
Initial value:
std::function<void(const MonitoredItem<T>& item, const DataValue& value)>

Data change notification callback.

Deprecated
Use DataChangeNotificationCallback instead
Template Parameters
TServer or Client

Definition at line 37 of file Subscription.h.

◆ EventCallback

template<typename T >
using opcua::EventCallback
Initial value:
std::function<void(const MonitoredItem<T>& item, Span<const Variant> eventFields)>

Event notification callback.

Deprecated
Use EventNotificationCallback instead
Template Parameters
TServer or Client

Definition at line 44 of file Subscription.h.

◆ NumericRangeDimension

Definition at line 382 of file Builtin.h.

Enumeration Type Documentation

◆ Type

enum class opcua::Type : TypeIndex
strong

Built-in types.

See also
https://reference.opcfoundation.org/Core/Part6/v105/docs/5.1.2
Enumerator
Boolean 
SByte 
Byte 
Int16 
UInt16 
Int32 
UInt32 
Int64 
UInt64 
Float 
Double 
String 
DateTime 
Guid 
ByteString 
XmlElement 
NodeId 
ExpandedNodeId 
StatusCode 
QualifiedName 
LocalizedText 
ExtensionObject 
DataValue 
Variant 
DiagnosticInfo 

Definition at line 20 of file Common.h.

◆ AttributeId

enum class opcua::AttributeId : int32_t
strong

Attribute identifiers.

See also
UA_AttributeId
https://reference.opcfoundation.org/Core/Part3/v105/docs/5.9
Enumerator
NodeId 

Unambiguous identifier of a node.


NodeClass 

Identifies the class of the node.


BrowseName 

A non-localised human-readable name used to browse the address space.

The browse name of a reference type must be unique in a server.


DisplayName 

The localized name of the node.


Description 

Explains the meaning of the node in a localized text.


WriteMask 

Exposes the possibilities of a client to write the attributes of the node.


UserWriteMask 

Exposes the possibilities of a client to write the attributes of the node.

In contrast to the write mask, the user write mask is taking access rights into account.


IsAbstract 

If a reference is abstract, no reference of this type shall exist, only of its subtypes.


Symmetric 

If a reference is symmetric, it can seen from both the source and target node.


InverseName 

The inverse name describes the reference type as seen from the target node.

For example, the reference type HasSubtype has the inverse name HasSupertype.


ContainsNoLoops 

Indicates that by following the references in the context of the view there are no loops.


EventNotifier 

Indicates if the node can be used to subscribe to events or the read/write historic events.


Value 

The most recent value of the variable that the server has.


DataType 

The NodeId of the data type definition for the Value attribute.


ValueRank 

Indicates whether the Value attribute of the variable node is an array and how many dimensions the array has.

See also
ValueRank
ArrayDimensions 

Specifies the maximum supported length of each dimension of the Value attribute.

Should be unspecified if ValueRank <= 0 (ValueRank::Any, ValueRank::Scalar, ValueRank::ScalarOrOneDimension, ValueRank::OneOrMoreDimensions). The dimension 0 is a wildcard and the actual value may have any length in this dimension.


AccessLevel 

Indicate how the value of a variable can be accessed (read/write) and if it contains current and/or historic data.


UserAccessLevel 

Indicates how the value of a variable can be accessed (read/write) and if it contains current and/or historic data.

In contrast to the AccessLevel, the UserAccessLevel is taking access rights into account.


MinimumSamplingInterval 

Specifies (in milliseconds) how fast the server can reasonably sample the value for changes.

A minimum sampling interval of 0 indicates that the server is to monitor the item continuously. A minimum sampling interval of -1 means indeterminate.


Historizing 

Indicates whether the server is actively collecting data for the history of the variable.


Executable 

Indicates if the method is currently executable.


UserExecutable 

Indicates if the method is currently executable taking user access rights into account.


DataTypeDefinition 

Provides the meta data and encoding information for custom data types.

See also
https://reference.opcfoundation.org/Core/Part3/v105/docs/5.8.3


RolePermissions 

Permissions that apply to a node.

See also
https://reference.opcfoundation.org/Core/Part3/v105/docs/5.2.9


UserRolePermissions 

Specifies the permissions that apply to a node for all roles granted to current session.

See also
https://reference.opcfoundation.org/Core/Part3/v105/docs/5.2.10


AccessRestrictions 

Specifies access restrictions that apply to a node.

See also
https://reference.opcfoundation.org/Core/Part3/v105/docs/5.2.11


AccessLevelEx 

Extended version of the AccessLevel attribute.

See also
https://reference.opcfoundation.org/Core/Part3/v104/docs/8.58


Definition at line 55 of file Common.h.

◆ NodeClass

enum class opcua::NodeClass : int32_t
strong

Node class.

The enum can be used as a bitmask and allows bitwise operations, e.g.:

See also
UA_NodeClass
https://reference.opcfoundation.org/Core/Part3/v105/docs/8.29
Enumerator
Unspecified 
Object 
Variable 
Method 
ObjectType 
VariableType 
ReferenceType 
DataType 
View 

Definition at line 138 of file Common.h.

◆ AccessLevel

enum class opcua::AccessLevel : uint8_t
strong

Access level.

Indicates how the value of an variable can be accessed (read/write) and if it contains current and/or historic data.

See also
https://reference.opcfoundation.org/Core/Part3/v104/docs/8.57
Enumerator
None 
CurrentRead 
CurrentWrite 
HistoryRead 
HistoryWrite 
SemanticChange 
StatusWrite 
TimestampWrite 

Definition at line 161 of file Common.h.

◆ WriteMask

enum class opcua::WriteMask : uint32_t
strong

Write mask.

Indicates which attributes of a node a writeable.

See also
https://reference.opcfoundation.org/Core/Part3/v105/docs/5.2.7
https://reference.opcfoundation.org/Core/Part3/v105/docs/8.60
Enumerator
None 
AccessLevel 
ArrayDimensions 
BrowseName 
ContainsNoLoops 
DataType 
Description 
DisplayName 
EventNotifier 
Executable 
Historizing 
InverseName 
IsAbstract 
MinimumSamplingInterval 
NodeClass 
NodeId 
Symmetric 
UserAccessLevel 
UserExecutable 
UserWriteMask 
ValueRank 
WriteMask 
ValueForVariableType 
DataTypeDefinition 
RolePermissions 
AccessRestrictions 
AccessLevelEx 

Definition at line 183 of file Common.h.

◆ ValueRank

enum class opcua::ValueRank : int32_t
strong

Value rank.

Indicates whether the value attribute of the variable is an array and how many dimensions the array has.

See also
https://reference.opcfoundation.org/Core/Part3/v105/docs/5.6.2
Enumerator
ScalarOrOneDimension 
Any 
Scalar 
OneOrMoreDimensions 
OneDimension 
TwoDimensions 
ThreeDimensions 

Definition at line 224 of file Common.h.

◆ EventNotifier

enum class opcua::EventNotifier : uint8_t
strong

Event notifier.

Indicates if a node can be used to subscribe to events or read/write historic events.

See also
https://reference.opcfoundation.org/Core/Part3/v105/docs/8.59
Enumerator
None 
SubscribeToEvents 
HistoryRead 
HistoryWrite 

Definition at line 241 of file Common.h.

◆ ModellingRule

enum class opcua::ModellingRule : uint16_t
strong

Modelling rules.

See also
https://reference.opcfoundation.org/Core/Part3/v105/docs/6.4.4
Enumerator
Mandatory 
Optional 
ExposesItsArray 
OptionalPlaceholder 
MandatoryPlaceholder 

Definition at line 257 of file Common.h.

◆ BrowseDirection

enum class opcua::BrowseDirection : int32_t
strong

Browse direction.

An enumeration that specifies the direction of references to follow.

See also
UA_BrowseDirection
https://reference.opcfoundation.org/Core/Part4/v105/docs/7.5
Enumerator
Forward 
Inverse 
Both 
Invalid 

Definition at line 273 of file Common.h.

◆ TimestampsToReturn

enum class opcua::TimestampsToReturn : int32_t
strong

Timestamps to return.

See also
UA_TimestampsToReturn
https://reference.opcfoundation.org/Core/Part4/v105/docs/7.40
Enumerator
Source 
Server 
Both 
Neither 
Invalid 

Definition at line 287 of file Common.h.

◆ MonitoringMode

enum class opcua::MonitoringMode : int32_t
strong

Monitoring mode.

See also
UA_MonitoringMode
https://reference.opcfoundation.org/Core/Part4/v105/docs/7.23
Enumerator
Disabled 
Sampling 
Reporting 

Definition at line 302 of file Common.h.

◆ MessageSecurityMode

enum class opcua::MessageSecurityMode : int32_t
strong

Message security mode.

See also
UA_MessageSecurityMode
https://reference.opcfoundation.org/Core/Part4/v105/docs/7.20
Enumerator
Invalid 

Will always be rejected.

None 

No security applied.

Sign 

All messages are signed but not encrypted.

SignAndEncrypt 

All messages are signed and encrypted.

Definition at line 315 of file Common.h.

◆ LogLevel

enum class opcua::LogLevel
strong

Log level.

See also
UA_LogLevel
Enumerator
Trace 
Debug 
Info 
Warning 
Error 
Fatal 

Definition at line 20 of file Logger.h.

◆ LogCategory

enum class opcua::LogCategory
strong

Log category.

See also
UA_LogCategory
Enumerator
Network 
SecureChannel 
Session 
Server 
Client 
Userland 
SecurityPolicy 

Definition at line 33 of file Logger.h.

◆ ExtensionObjectEncoding

enum class opcua::ExtensionObjectEncoding
strong

Extension object encoding.

See also
UA_ExtensionObjectEncoding
Enumerator
EncodedNoBody 
EncodedByteString 
EncodedXml 
Decoded 
DecodedNoDelete 

Definition at line 18 of file ExtensionObject.h.

◆ NodeIdType

enum class opcua::NodeIdType : uint8_t
strong

NodeId types.

See also
UA_NodeIdType
Enumerator
Numeric 
String 
Guid 
ByteString 

Definition at line 24 of file NodeId.h.

◆ VariantPolicy

enum class opcua::VariantPolicy
strong

Policies for variant factory methods Variant::fromScalar, Variant::fromArray.

Enumerator
Copy 

Store copy of scalar/array inside the variant.

Reference 

Store reference to scalar/array inside the variant.

Both scalars and arrays must be mutable native/wrapper types. Arrays must store the elements contiguously in memory.

ReferenceIfPossible 

Favor referencing but fall back to copying if necessary.

Definition at line 26 of file Variant.h.

Function Documentation

◆ operator==() [1/21]

bool opcua::operator== ( const Client & lhs,
const Client & rhs )
inlinenoexcept

Definition at line 200 of file Client.h.

◆ operator!=() [1/21]

bool opcua::operator!= ( const Client & lhs,
const Client & rhs )
inlinenoexcept

Definition at line 204 of file Client.h.

◆ operator==() [2/21]

bool opcua::operator== ( const UA_DataType & lhs,
const UA_DataType & rhs )
inlinenoexcept

Definition at line 113 of file DataType.h.

◆ operator!=() [2/21]

bool opcua::operator!= ( const UA_DataType & lhs,
const UA_DataType & rhs )
inlinenoexcept

Definition at line 117 of file DataType.h.

◆ operator==() [3/21]

bool opcua::operator== ( const UA_DataTypeMember & lhs,
const UA_DataTypeMember & rhs )
inlinenoexcept

Definition at line 121 of file DataType.h.

◆ operator!=() [3/21]

bool opcua::operator!= ( const UA_DataTypeMember & lhs,
const UA_DataTypeMember & rhs )
inlinenoexcept

Definition at line 132 of file DataType.h.

◆ throwIfBad()

constexpr void opcua::throwIfBad ( UA_StatusCode code)
constexpr

Check the status code and throw a BadStatus exception if the status code is bad.

Definition at line 86 of file ErrorHandling.h.

Referenced by opcua::ByteString::ByteString(), opcua::detail::copy(), opcua::detail::copyArray(), opcua::ExtensionObject::fromDecodedCopy(), and opcua::StatusCode::throwIfBad().

◆ operator==() [4/21]

bool opcua::operator== ( const Event & lhs,
const Event & rhs )
noexcept

◆ operator!=() [4/21]

bool opcua::operator!= ( const Event & lhs,
const Event & rhs )
noexcept

◆ log() [1/4]

void opcua::log ( UA_Client * client,
LogLevel level,
LogCategory category,
std::string_view msg )

Generate log message with client's logger.

◆ log() [2/4]

void opcua::log ( Client & client,
LogLevel level,
LogCategory category,
std::string_view msg )

Generate log message with client's logger.

◆ log() [3/4]

void opcua::log ( UA_Server * server,
LogLevel level,
LogCategory category,
std::string_view msg )

Generate log message with servers's logger.

◆ log() [4/4]

void opcua::log ( Server & server,
LogLevel level,
LogCategory category,
std::string_view msg )

Generate log message with servers's logger.

◆ operator==() [5/21]

template<typename T >
bool opcua::operator== ( const MonitoredItem< T > & lhs,
const MonitoredItem< T > & rhs )
inlinenoexcept

Definition at line 125 of file MonitoredItem.h.

◆ operator!=() [5/21]

template<typename T >
bool opcua::operator!= ( const MonitoredItem< T > & lhs,
const MonitoredItem< T > & rhs )
inlinenoexcept

Definition at line 132 of file MonitoredItem.h.

◆ operator==() [6/21]

template<typename Connection >
bool opcua::operator== ( const Node< Connection > & lhs,
const Node< Connection > & rhs )
noexcept

Definition at line 664 of file Node.h.

◆ operator!=() [6/21]

template<typename Connection >
bool opcua::operator!= ( const Node< Connection > & lhs,
const Node< Connection > & rhs )
noexcept

Definition at line 669 of file Node.h.

◆ operator==() [7/21]

bool opcua::operator== ( const Server & lhs,
const Server & rhs )
inlinenoexcept

Definition at line 186 of file Server.h.

◆ operator!=() [7/21]

bool opcua::operator!= ( const Server & lhs,
const Server & rhs )
inlinenoexcept

Definition at line 190 of file Server.h.

◆ operator==() [8/21]

bool opcua::operator== ( const Session & lhs,
const Session & rhs )
noexcept

◆ operator!=() [8/21]

bool opcua::operator!= ( const Session & lhs,
const Session & rhs )
noexcept

◆ Span() [1/2]

template<typename Container >
opcua::Span ( Container & ) -> Span< typename Container::value_type >

◆ Span() [2/2]

template<typename Container >
opcua::Span ( const Container & ) -> Span< const typename Container::value_type >

◆ operator==() [9/21]

template<typename T , typename U , typename = detail::EnableIfEqualityComparable<T, U>>
constexpr bool opcua::operator== ( Span< T > lhs,
Span< U > rhs )
constexpr

Definition at line 233 of file Span.h.

◆ operator!=() [9/21]

template<typename T , typename U , typename = detail::EnableIfEqualityComparable<T, U>>
constexpr bool opcua::operator!= ( Span< T > lhs,
Span< U > rhs )
constexpr

Definition at line 238 of file Span.h.

◆ operator==() [10/21]

template<typename T >
bool opcua::operator== ( const Subscription< T > & lhs,
const Subscription< T > & rhs )
inlinenoexcept

Definition at line 259 of file Subscription.h.

◆ operator!=() [10/21]

template<typename T >
bool opcua::operator!= ( const Subscription< T > & lhs,
const Subscription< T > & rhs )
inlinenoexcept

Definition at line 264 of file Subscription.h.

◆ getDataType()

template<typename T >
const UA_DataType & opcua::getDataType ( )
inlinenoexcept

Definition at line 47 of file TypeRegistry.h.

◆ operator==() [11/21]

bool opcua::operator== ( const UA_String & lhs,
const UA_String & rhs )
inlinenoexcept

Definition at line 109 of file Builtin.h.

◆ operator!=() [11/21]

bool opcua::operator!= ( const UA_String & lhs,
const UA_String & rhs )
inlinenoexcept

Definition at line 113 of file Builtin.h.

◆ operator==() [12/21]

bool opcua::operator== ( const String & lhs,
std::string_view rhs )
inlinenoexcept

Definition at line 117 of file Builtin.h.

◆ operator!=() [12/21]

bool opcua::operator!= ( const String & lhs,
std::string_view rhs )
inlinenoexcept

Definition at line 121 of file Builtin.h.

◆ operator==() [13/21]

bool opcua::operator== ( std::string_view lhs,
const String & rhs )
inlinenoexcept

Definition at line 125 of file Builtin.h.

◆ operator!=() [13/21]

bool opcua::operator!= ( std::string_view lhs,
const String & rhs )
inlinenoexcept

Definition at line 129 of file Builtin.h.

◆ operator<<() [1/3]

std::ostream & opcua::operator<< ( std::ostream & os,
const String & string )

◆ operator==() [14/21]

bool opcua::operator== ( const UA_Guid & lhs,
const UA_Guid & rhs )
inlinenoexcept

Definition at line 158 of file Builtin.h.

◆ operator!=() [14/21]

bool opcua::operator!= ( const UA_Guid & lhs,
const UA_Guid & rhs )
inlinenoexcept

Definition at line 162 of file Builtin.h.

◆ operator<<() [2/3]

std::ostream & opcua::operator<< ( std::ostream & os,
const Guid & guid )

◆ operator==() [15/21]

bool opcua::operator== ( const ByteString & lhs,
std::string_view rhs )
inlinenoexcept

Definition at line 211 of file Builtin.h.

◆ operator!=() [15/21]

bool opcua::operator!= ( const ByteString & lhs,
std::string_view rhs )
inlinenoexcept

Definition at line 215 of file Builtin.h.

◆ operator==() [16/21]

bool opcua::operator== ( std::string_view lhs,
const ByteString & rhs )
inlinenoexcept

Definition at line 219 of file Builtin.h.

◆ operator!=() [16/21]

bool opcua::operator!= ( std::string_view lhs,
const ByteString & rhs )
inlinenoexcept

Definition at line 223 of file Builtin.h.

◆ operator<<() [3/3]

std::ostream & opcua::operator<< ( std::ostream & os,
const XmlElement & xmlElement )

◆ operator==() [17/21]

bool opcua::operator== ( const UA_QualifiedName & lhs,
const UA_QualifiedName & rhs )
inlinenoexcept

Definition at line 271 of file Builtin.h.

◆ operator!=() [17/21]

bool opcua::operator!= ( const UA_QualifiedName & lhs,
const UA_QualifiedName & rhs )
inlinenoexcept

Definition at line 275 of file Builtin.h.

◆ operator==() [18/21]

bool opcua::operator== ( const UA_LocalizedText & lhs,
const UA_LocalizedText & rhs )
inlinenoexcept

Definition at line 306 of file Builtin.h.

◆ operator!=() [18/21]

bool opcua::operator!= ( const UA_LocalizedText & lhs,
const UA_LocalizedText & rhs )
inlinenoexcept

Definition at line 310 of file Builtin.h.

◆ operator==() [19/21]

bool opcua::operator== ( const NumericRangeDimension & lhs,
const NumericRangeDimension & rhs )
inlinenoexcept

Definition at line 384 of file Builtin.h.

◆ operator!=() [19/21]

bool opcua::operator!= ( const NumericRangeDimension & lhs,
const NumericRangeDimension & rhs )
inlinenoexcept

Definition at line 390 of file Builtin.h.

◆ operator==() [20/21]

bool opcua::operator== ( const UA_NodeId & lhs,
const UA_NodeId & rhs )
inlinenoexcept

Definition at line 169 of file NodeId.h.

◆ operator!=() [20/21]

bool opcua::operator!= ( const UA_NodeId & lhs,
const UA_NodeId & rhs )
inlinenoexcept

Definition at line 173 of file NodeId.h.

◆ operator<() [1/2]

bool opcua::operator< ( const UA_NodeId & lhs,
const UA_NodeId & rhs )
inlinenoexcept

Definition at line 177 of file NodeId.h.

◆ operator>() [1/2]

bool opcua::operator> ( const UA_NodeId & lhs,
const UA_NodeId & rhs )
inlinenoexcept

Definition at line 181 of file NodeId.h.

◆ operator<=() [1/2]

bool opcua::operator<= ( const UA_NodeId & lhs,
const UA_NodeId & rhs )
inlinenoexcept

Definition at line 185 of file NodeId.h.

◆ operator>=() [1/2]

bool opcua::operator>= ( const UA_NodeId & lhs,
const UA_NodeId & rhs )
inlinenoexcept

Definition at line 189 of file NodeId.h.

◆ operator==() [21/21]

bool opcua::operator== ( const UA_ExpandedNodeId & lhs,
const UA_ExpandedNodeId & rhs )
inlinenoexcept

Definition at line 241 of file NodeId.h.

◆ operator!=() [21/21]

bool opcua::operator!= ( const UA_ExpandedNodeId & lhs,
const UA_ExpandedNodeId & rhs )
inlinenoexcept

Definition at line 245 of file NodeId.h.

◆ operator<() [2/2]

bool opcua::operator< ( const UA_ExpandedNodeId & lhs,
const UA_ExpandedNodeId & rhs )
inlinenoexcept

Definition at line 249 of file NodeId.h.

◆ operator>() [2/2]

bool opcua::operator> ( const UA_ExpandedNodeId & lhs,
const UA_ExpandedNodeId & rhs )
inlinenoexcept

Definition at line 253 of file NodeId.h.

◆ operator<=() [2/2]

bool opcua::operator<= ( const UA_ExpandedNodeId & lhs,
const UA_ExpandedNodeId & rhs )
inlinenoexcept

Definition at line 257 of file NodeId.h.

◆ operator>=() [2/2]

bool opcua::operator>= ( const UA_ExpandedNodeId & lhs,
const UA_ExpandedNodeId & rhs )
inlinenoexcept

Definition at line 261 of file NodeId.h.