open62541pp 0.17.0
C++ wrapper of open62541
Loading...
Searching...
No Matches
opcua::ua::VariableTypeAttributes Class Reference

#include <types.hpp>

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

Detailed Description

Public Member Functions

 VariableTypeAttributes ()
 
Bitmask< NodeAttributesMaskspecifiedAttributes () const noexcept
 
Bitmask< NodeAttributesMaskgetSpecifiedAttributes () const noexcept
 
const LocalizedTextdisplayName () const noexcept
 
const LocalizedTextgetDisplayName () const noexcept
 
auto & setDisplayName (const LocalizedText &displayName)
 
const LocalizedTextdescription () const noexcept
 
const LocalizedTextgetDescription () const noexcept
 
auto & setDescription (const LocalizedText &description)
 
Bitmask< WriteMaskwriteMask () const noexcept
 
Bitmask< WriteMaskgetWriteMask () const noexcept
 
auto & setWriteMask (Bitmask< WriteMask > writeMask) noexcept
 
Bitmask< WriteMaskuserWriteMask () const noexcept
 
Bitmask< WriteMaskgetUserWriteMask () const noexcept
 
auto & setUserWriteMask (Bitmask< WriteMask > userWriteMask) noexcept
 
const Variantvalue () const noexcept
 
const VariantgetValue () const noexcept
 
auto & setValue (const Variant &value)
 
template<typename... Args>
auto & setValueScalar (Args &&... args)
 
template<typename... Args>
auto & setValueArray (Args &&... args)
 
const NodeIddataType () const noexcept
 
const NodeIdgetDataType () const noexcept
 
auto & setDataType (const NodeId &dataType)
 
template<typename T >
auto & setDataType ()
 
ValueRank valueRank () const noexcept
 
ValueRank getValueRank () const noexcept
 
auto & setValueRank (ValueRank valueRank) noexcept
 
Span< const uint32_t > arrayDimensions () const noexcept
 
Span< uint32_t > arrayDimensions () noexcept
 
Span< const uint32_t > getArrayDimensions () const noexcept
 
Span< uint32_t > getArrayDimensions () noexcept
 
auto & setArrayDimensions (Span< const uint32_t > arrayDimensions)
 
bool isAbstract () const noexcept
 
bool getIsAbstract () const noexcept
 
auto & setIsAbstract (bool isAbstract) 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_VariableTypeAttributes, UA_TYPES_VARIABLETYPEATTRIBUTES >
constexpr TypeWrapper () noexcept=default
 
constexpr TypeWrapper (const UA_VariableTypeAttributes &native)
 
constexpr TypeWrapper (UA_VariableTypeAttributes &&native) noexcept
 
constexpr TypeWrapper (const TypeWrapper &other)
 
constexpr TypeWrapper (TypeWrapper &&other) noexcept
 
 ~TypeWrapper ()
 
constexpr TypeWrapperoperator= (const TypeWrapper &other)
 
constexpr TypeWrapperoperator= (const UA_VariableTypeAttributes &native)
 
constexpr TypeWrapperoperator= (TypeWrapper &&other) noexcept
 
constexpr TypeWrapperoperator= (UA_VariableTypeAttributes &&native) noexcept
 
- Public Member Functions inherited from opcua::Wrapper< UA_VariableTypeAttributes >
constexpr Wrapper () noexcept=default
 
constexpr Wrapper (const UA_VariableTypeAttributes &native) noexcept
 
constexpr Wrapper (UA_VariableTypeAttributes &&native) noexcept
 
constexpr Wrapperoperator= (const UA_VariableTypeAttributes &native) noexcept
 
constexpr Wrapperoperator= (UA_VariableTypeAttributes &&native) noexcept
 
constexpr operator UA_VariableTypeAttributes & () noexcept
 
constexpr operator const UA_VariableTypeAttributes & () const noexcept
 
constexpr UA_VariableTypeAttributesoperator-> () noexcept
 
constexpr const UA_VariableTypeAttributesoperator-> () const noexcept
 
constexpr UA_VariableTypeAttributeshandle () noexcept
 
constexpr const UA_VariableTypeAttributeshandle () const noexcept
 
constexpr void swap (Wrapper &other) noexcept
 
constexpr void swap (UA_VariableTypeAttributes &native) noexcept
 

Additional Inherited Members

- Public Types inherited from opcua::Wrapper< UA_VariableTypeAttributes >
using NativeType
 
- Static Public Member Functions inherited from opcua::TypeWrapper< UA_VariableTypeAttributes, UA_TYPES_VARIABLETYPEATTRIBUTES >
static constexpr TypeIndex typeIndex ()
 
- Protected Member Functions inherited from opcua::TypeWrapper< UA_VariableTypeAttributes, UA_TYPES_VARIABLETYPEATTRIBUTES >
constexpr void clear () noexcept
 
- Protected Member Functions inherited from opcua::Wrapper< UA_VariableTypeAttributes >
constexpr const UA_VariableTypeAttributesnative () const noexcept
 
constexpr UA_VariableTypeAttributesnative () noexcept
 

Constructor & Destructor Documentation

◆ VariableTypeAttributes()

opcua::ua::VariableTypeAttributes::VariableTypeAttributes ( )
inline

Construct with default attribute definitions.

Definition at line 539 of file types.hpp.

Member Function Documentation

◆ specifiedAttributes()

Bitmask< NodeAttributesMask > opcua::ua::VariableTypeAttributes::specifiedAttributes ( ) const
inlinenoexcept

Definition at line 542 of file types.hpp.

◆ getSpecifiedAttributes()

Bitmask< NodeAttributesMask > opcua::ua::VariableTypeAttributes::getSpecifiedAttributes ( ) const
inlinenoexcept
Deprecated
Use specifiedAttributes instead

Definition at line 542 of file types.hpp.

◆ displayName()

const LocalizedText & opcua::ua::VariableTypeAttributes::displayName ( ) const
inlinenoexcept

Definition at line 542 of file types.hpp.

◆ getDisplayName()

const LocalizedText & opcua::ua::VariableTypeAttributes::getDisplayName ( ) const
inlinenoexcept
Deprecated
Use displayName instead

Definition at line 542 of file types.hpp.

◆ setDisplayName()

auto & opcua::ua::VariableTypeAttributes::setDisplayName ( const LocalizedText & displayName)
inline

Definition at line 542 of file types.hpp.

◆ description()

const LocalizedText & opcua::ua::VariableTypeAttributes::description ( ) const
inlinenoexcept

Definition at line 542 of file types.hpp.

◆ getDescription()

const LocalizedText & opcua::ua::VariableTypeAttributes::getDescription ( ) const
inlinenoexcept
Deprecated
Use description instead

Definition at line 542 of file types.hpp.

◆ setDescription()

auto & opcua::ua::VariableTypeAttributes::setDescription ( const LocalizedText & description)
inline

Definition at line 542 of file types.hpp.

◆ writeMask()

Bitmask< WriteMask > opcua::ua::VariableTypeAttributes::writeMask ( ) const
inlinenoexcept

Definition at line 542 of file types.hpp.

◆ getWriteMask()

Bitmask< WriteMask > opcua::ua::VariableTypeAttributes::getWriteMask ( ) const
inlinenoexcept
Deprecated
Use writeMask instead

Definition at line 542 of file types.hpp.

◆ setWriteMask()

auto & opcua::ua::VariableTypeAttributes::setWriteMask ( Bitmask< WriteMask > writeMask)
inlinenoexcept

Definition at line 542 of file types.hpp.

◆ userWriteMask()

Bitmask< WriteMask > opcua::ua::VariableTypeAttributes::userWriteMask ( ) const
inlinenoexcept

Definition at line 542 of file types.hpp.

◆ getUserWriteMask()

Bitmask< WriteMask > opcua::ua::VariableTypeAttributes::getUserWriteMask ( ) const
inlinenoexcept
Deprecated
Use userWriteMask instead

Definition at line 542 of file types.hpp.

◆ setUserWriteMask()

auto & opcua::ua::VariableTypeAttributes::setUserWriteMask ( Bitmask< WriteMask > userWriteMask)
inlinenoexcept

Definition at line 542 of file types.hpp.

◆ value()

const Variant & opcua::ua::VariableTypeAttributes::value ( ) const
inlinenoexcept

Definition at line 543 of file types.hpp.

◆ getValue()

const Variant & opcua::ua::VariableTypeAttributes::getValue ( ) const
inlinenoexcept
Deprecated
Use value instead

Definition at line 543 of file types.hpp.

◆ setValue()

auto & opcua::ua::VariableTypeAttributes::setValue ( const Variant & value)
inline

Definition at line 543 of file types.hpp.

◆ setValueScalar()

template<typename... Args>
auto & opcua::ua::VariableTypeAttributes::setValueScalar ( Args &&... args)
inline
See also
Variant::Variant

Definition at line 547 of file types.hpp.

◆ setValueArray()

template<typename... Args>
auto & opcua::ua::VariableTypeAttributes::setValueArray ( Args &&... args)
inline
See also
Variant::Variant

Definition at line 553 of file types.hpp.

◆ dataType()

const NodeId & opcua::ua::VariableTypeAttributes::dataType ( ) const
inlinenoexcept

Definition at line 557 of file types.hpp.

◆ getDataType()

const NodeId & opcua::ua::VariableTypeAttributes::getDataType ( ) const
inlinenoexcept
Deprecated
Use dataType instead

Definition at line 557 of file types.hpp.

◆ setDataType() [1/2]

auto & opcua::ua::VariableTypeAttributes::setDataType ( const NodeId & dataType)
inline
Examples
custom_datatypes/server_custom_datatypes.cpp.

Definition at line 557 of file types.hpp.

◆ setDataType() [2/2]

template<typename T >
auto & opcua::ua::VariableTypeAttributes::setDataType ( )
inline

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. Deduce the dataType from the template type.

Definition at line 562 of file types.hpp.

◆ valueRank()

ValueRank opcua::ua::VariableTypeAttributes::valueRank ( ) const
inlinenoexcept

Definition at line 566 of file types.hpp.

◆ getValueRank()

ValueRank opcua::ua::VariableTypeAttributes::getValueRank ( ) const
inlinenoexcept
Deprecated
Use valueRank instead

Definition at line 566 of file types.hpp.

◆ setValueRank()

auto & opcua::ua::VariableTypeAttributes::setValueRank ( ValueRank valueRank)
inlinenoexcept

Definition at line 566 of file types.hpp.

◆ arrayDimensions() [1/2]

Span< const uint32_t > opcua::ua::VariableTypeAttributes::arrayDimensions ( ) const
inlinenoexcept

Definition at line 573 of file types.hpp.

◆ arrayDimensions() [2/2]

Span< uint32_t > opcua::ua::VariableTypeAttributes::arrayDimensions ( )
inlinenoexcept

Definition at line 573 of file types.hpp.

◆ getArrayDimensions() [1/2]

Span< const uint32_t > opcua::ua::VariableTypeAttributes::getArrayDimensions ( ) const
inlinenoexcept
Deprecated
Use arrayDimensions instead

Definition at line 573 of file types.hpp.

◆ getArrayDimensions() [2/2]

Span< uint32_t > opcua::ua::VariableTypeAttributes::getArrayDimensions ( )
inlinenoexcept
Deprecated
Use arrayDimensions instead

Definition at line 573 of file types.hpp.

◆ setArrayDimensions()

auto & opcua::ua::VariableTypeAttributes::setArrayDimensions ( Span< const uint32_t > arrayDimensions)
inline

Definition at line 573 of file types.hpp.

◆ isAbstract()

bool opcua::ua::VariableTypeAttributes::isAbstract ( ) const
inlinenoexcept

Definition at line 574 of file types.hpp.

◆ getIsAbstract()

bool opcua::ua::VariableTypeAttributes::getIsAbstract ( ) const
inlinenoexcept
Deprecated
Use isAbstract instead

Definition at line 574 of file types.hpp.

◆ setIsAbstract()

auto & opcua::ua::VariableTypeAttributes::setIsAbstract ( bool isAbstract)
inlinenoexcept

Definition at line 574 of file types.hpp.

◆ TypeWrapper() [1/5]

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

◆ TypeWrapper() [2/5]

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]

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]

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

Copy constructor (deep copy).

Definition at line 43 of file typewrapper.hpp.

◆ TypeWrapper() [5/5]

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

Move constructor.

Definition at line 47 of file typewrapper.hpp.