open62541pp 0.18.0
C++ wrapper of open62541
Loading...
Searching...
No Matches
Public Member Functions | List of all members
opcua::ua::ComplexNumberType Class Reference

#include <types.hpp>

Inheritance diagram for opcua::ua::ComplexNumberType:
[legend]

Detailed Description

UA_ComplexNumberType wrapper class.

See also
https://reference.opcfoundation.org/Core/Part8/v105/docs/5.6.4

Definition at line 2602 of file types.hpp.

Public Member Functions

 ComplexNumberType (float real, float imaginary) noexcept
 
float real () const noexcept
 
float getReal () const noexcept
 
float imaginary () const noexcept
 
float getImaginary () const noexcept
 
constexpr TypeWrapper () noexcept=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_ComplexNumberType, UA_TYPES_COMPLEXNUMBERTYPE >
constexpr TypeWrapper () noexcept=default
 
constexpr TypeWrapper (const UA_ComplexNumberType &native)
 
constexpr TypeWrapper (UA_ComplexNumberType &&native) noexcept
 
constexpr TypeWrapper (const TypeWrapper &other)
 
constexpr TypeWrapper (TypeWrapper &&other) noexcept
 
 ~TypeWrapper ()
 
constexpr TypeWrapperoperator= (const TypeWrapper &other)
 
constexpr TypeWrapperoperator= (const UA_ComplexNumberType &native)
 
constexpr TypeWrapperoperator= (TypeWrapper &&other) noexcept
 
constexpr TypeWrapperoperator= (UA_ComplexNumberType &&native) noexcept
 
- Public Member Functions inherited from opcua::Wrapper< T >
constexpr Wrapper () noexcept=default
 
constexpr Wrapper (const T &native) noexcept
 
constexpr Wrapper (T &&native) noexcept
 
constexpr Wrapperoperator= (const T &native) noexcept
 
constexpr Wrapperoperator= (T &&native) noexcept
 
constexpr operator T& () noexcept
 
constexpr operator const T & () const noexcept
 
constexpr T * operator-> () noexcept
 
constexpr const T * operator-> () const noexcept
 
constexpr T * handle () noexcept
 
constexpr const T * handle () const noexcept
 
constexpr void swap (Wrapper &other) noexcept
 
constexpr void swap (T &native) noexcept
 

Additional Inherited Members

- Public Types inherited from opcua::Wrapper< T >
using NativeType = T
 
- Static Public Member Functions inherited from opcua::TypeWrapper< UA_ComplexNumberType, UA_TYPES_COMPLEXNUMBERTYPE >
static constexpr TypeIndex typeIndex ()
 
- Protected Member Functions inherited from opcua::TypeWrapper< UA_ComplexNumberType, UA_TYPES_COMPLEXNUMBERTYPE >
constexpr void clear () noexcept
 
- Protected Member Functions inherited from opcua::Wrapper< T >
constexpr const T & native () const noexcept
 
constexpr T & native () noexcept
 

Constructor & Destructor Documentation

◆ ComplexNumberType()

opcua::ua::ComplexNumberType::ComplexNumberType ( float  real,
float  imaginary 
)
inlinenoexcept

Definition at line 2606 of file types.hpp.

Member Function Documentation

◆ real()

float opcua::ua::ComplexNumberType::real ( ) const
inlinenoexcept

Definition at line 2611 of file types.hpp.

◆ getReal()

float opcua::ua::ComplexNumberType::getReal ( ) const
inlinenoexcept
Deprecated:
Use real instead

Definition at line 2611 of file types.hpp.

◆ imaginary()

float opcua::ua::ComplexNumberType::imaginary ( ) const
inlinenoexcept

Definition at line 2612 of file types.hpp.

◆ getImaginary()

float opcua::ua::ComplexNumberType::getImaginary ( ) const
inlinenoexcept
Deprecated:
Use imaginary instead

Definition at line 2612 of file types.hpp.

◆ TypeWrapper() [1/5]

constexpr opcua::TypeWrapper< T, Index >::TypeWrapper ( )
constexprdefaultnoexcept

◆ TypeWrapper() [2/5]

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

Constructor with native object (deep copy).

Definition at line 31 of file typewrapper.hpp.

◆ TypeWrapper() [3/5]

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

Constructor with native object (move rvalue).

Definition at line 35 of file typewrapper.hpp.

◆ TypeWrapper() [4/5]

constexpr opcua::TypeWrapper< T, Index >::TypeWrapper ( const TypeWrapper other)
inlineconstexpr

Copy constructor (deep copy).

Definition at line 43 of file typewrapper.hpp.

◆ TypeWrapper() [5/5]

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

Move constructor.

Definition at line 47 of file typewrapper.hpp.