open62541pp 0.15.0
C++ wrapper of open62541
Loading...
Searching...
No Matches
opcua::ContentFilter Class Reference

#include <types_composed.hpp>

Inheritance diagram for opcua::ContentFilter:
[legend]

Detailed Description

UA_ContentFilter wrapper class.

A collection of ContentFilterElement objects that define a filter criteria. The ContentFilter has a tree-like structure with references to sub-elements (of type ElementOperand). The evaluation of the ContentFilter starts with the first entry of the elements. ContentFilter objects can be composed with &&/|| operators and negated with the ! operator.

See also
https://reference.opcfoundation.org/Core/Part4/v105/docs/7.7.1
https://reference.opcfoundation.org/Core/Part4/v105/docs/B.1
Examples
events/client_eventfilter.cpp.

Definition at line 1712 of file types_composed.hpp.

Public Member Functions

 ContentFilter (std::initializer_list< ContentFilterElement > elements)
 
 ContentFilter (Span< const ContentFilterElement > elements)
 
Span< const ContentFilterElementgetElements () const noexcept
 
Span< ContentFilterElementgetElements () noexcept
 
constexpr TypeWrapper ()=default
 
constexpr TypeWrapper (const T &native)
 
constexpr TypeWrapper (T &&native) noexcept
 
constexpr TypeWrapper (const TypeWrapper &other)
 
constexpr TypeWrapper (TypeWrapper &&other) noexcept
 
- Public Member Functions inherited from opcua::TypeWrapper< UA_ContentFilter, UA_TYPES_CONTENTFILTER >
constexpr TypeWrapper ()=default
 
constexpr TypeWrapper (const UA_ContentFilter &native)
 
constexpr TypeWrapper (UA_ContentFilter &&native) noexcept
 
constexpr TypeWrapper (const TypeWrapper &other)
 
constexpr TypeWrapper (TypeWrapper &&other) noexcept
 
 ~TypeWrapper ()
 
constexpr TypeWrapperoperator= (const TypeWrapper &other)
 
constexpr TypeWrapperoperator= (const UA_ContentFilter &native)
 
constexpr TypeWrapperoperator= (TypeWrapper &&other) noexcept
 
constexpr TypeWrapperoperator= (UA_ContentFilter &&native) noexcept
 
constexpr void swap (TypeWrapper &other) noexcept
 
constexpr void swap (UA_ContentFilter &native) noexcept
 
- Public Member Functions inherited from opcua::Wrapper< UA_ContentFilter >
constexpr Wrapper ()=default
 
constexpr Wrapper (const UA_ContentFilter &native)
 
constexpr Wrapper (UA_ContentFilter &&native) noexcept
 
constexpr operator UA_ContentFilter & () noexcept
 
constexpr operator const UA_ContentFilter & () const noexcept
 
constexpr UA_ContentFilteroperator-> () noexcept
 
constexpr const UA_ContentFilteroperator-> () const noexcept
 
constexpr UA_ContentFilterhandle () noexcept
 
constexpr const UA_ContentFilterhandle () const noexcept
 

Additional Inherited Members

- Public Types inherited from opcua::Wrapper< UA_ContentFilter >
using NativeType
 
- Static Public Member Functions inherited from opcua::TypeWrapper< UA_ContentFilter, UA_TYPES_CONTENTFILTER >
static constexpr TypeIndex getTypeIndex ()
 
- Protected Member Functions inherited from opcua::TypeWrapper< UA_ContentFilter, UA_TYPES_CONTENTFILTER >
constexpr void clear () noexcept
 
- Protected Member Functions inherited from opcua::Wrapper< UA_ContentFilter >
constexpr const UA_ContentFilternative () const noexcept
 
constexpr UA_ContentFilternative () noexcept
 

Constructor & Destructor Documentation

◆ ContentFilter() [1/2]

opcua::ContentFilter::ContentFilter ( std::initializer_list< ContentFilterElement > elements)

◆ ContentFilter() [2/2]

opcua::ContentFilter::ContentFilter ( Span< const ContentFilterElement > elements)
explicit

Member Function Documentation

◆ getElements() [1/2]

Span< const ContentFilterElement > opcua::ContentFilter::getElements ( ) const
inlinenoexcept

Definition at line 1719 of file types_composed.hpp.

◆ getElements() [2/2]

Span< ContentFilterElement > opcua::ContentFilter::getElements ( )
inlinenoexcept

Definition at line 1719 of file types_composed.hpp.

◆ TypeWrapper() [1/5]

opcua::TypeWrapper< T, typeIndex >::TypeWrapper ( )
constexprdefault

◆ TypeWrapper() [2/5]

opcua::TypeWrapper< T, typeIndex >::TypeWrapper ( const T & native)
inlineexplicitconstexpr

Constructor with native object (deep copy).

Definition at line 30 of file typewrapper.hpp.

◆ TypeWrapper() [3/5]

opcua::TypeWrapper< T, typeIndex >::TypeWrapper ( T && native)
inlineconstexprnoexcept

Constructor with native object (move rvalue).

Definition at line 34 of file typewrapper.hpp.

◆ TypeWrapper() [4/5]

opcua::TypeWrapper< T, typeIndex >::TypeWrapper ( const TypeWrapper & other)
inlineconstexpr

Copy constructor (deep copy).

Definition at line 42 of file typewrapper.hpp.

◆ TypeWrapper() [5/5]

opcua::TypeWrapper< T, typeIndex >::TypeWrapper ( TypeWrapper && other)
inlineconstexprnoexcept

Move constructor.

Definition at line 46 of file typewrapper.hpp.