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

#include <types_composed.hpp>

Inheritance diagram for opcua::VariableTypeAttributes:
[legend]

Detailed Description

Public Member Functions

 VariableTypeAttributes ()
 
Bitmask< NodeAttributesMaskgetSpecifiedAttributes () const noexcept
 
const LocalizedTextgetDisplayName () const noexcept
 
auto & setDisplayName (const LocalizedText &displayName)
 
const LocalizedTextgetDescription () const noexcept
 
auto & setDescription (const LocalizedText &description)
 
Bitmask< WriteMaskgetWriteMask () const noexcept
 
auto & setWriteMask (Bitmask< WriteMask > writeMask) noexcept
 
Bitmask< WriteMaskgetUserWriteMask () const noexcept
 
auto & setUserWriteMask (Bitmask< WriteMask > userWriteMask) 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 NodeIdgetDataType () const noexcept
 
auto & setDataType (const NodeId &dataType)
 
template<typename T >
auto & setDataType ()
 
ValueRank getValueRank () const noexcept
 
auto & setValueRank (ValueRank valueRank) noexcept
 
Span< const uint32_t > getArrayDimensions () const noexcept
 
Span< uint32_t > getArrayDimensions () noexcept
 
auto & setArrayDimensions (Span< const uint32_t > arrayDimensions)
 
bool getIsAbstract () const noexcept
 
auto & setIsAbstract (bool isAbstract) 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_VariableTypeAttributes, UA_TYPES_VARIABLETYPEATTRIBUTES >
constexpr TypeWrapper ()=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
 
constexpr void swap (TypeWrapper &other) noexcept
 
constexpr void swap (UA_VariableTypeAttributes &native) noexcept
 
- Public Member Functions inherited from opcua::Wrapper< UA_VariableTypeAttributes >
constexpr Wrapper ()=default
 
constexpr Wrapper (const UA_VariableTypeAttributes &native)
 
constexpr Wrapper (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
 

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 getTypeIndex ()
 
- 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::VariableTypeAttributes::VariableTypeAttributes ( )
inline

Construct with default attribute definitions.

Definition at line 479 of file types_composed.hpp.

Member Function Documentation

◆ getSpecifiedAttributes()

Bitmask< NodeAttributesMask > opcua::VariableTypeAttributes::getSpecifiedAttributes ( ) const
inlinenoexcept

Definition at line 482 of file types_composed.hpp.

◆ getDisplayName()

const LocalizedText & opcua::VariableTypeAttributes::getDisplayName ( ) const
inlinenoexcept

Definition at line 482 of file types_composed.hpp.

◆ setDisplayName()

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

Definition at line 482 of file types_composed.hpp.

◆ getDescription()

const LocalizedText & opcua::VariableTypeAttributes::getDescription ( ) const
inlinenoexcept

Definition at line 482 of file types_composed.hpp.

◆ setDescription()

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

Definition at line 482 of file types_composed.hpp.

◆ getWriteMask()

Bitmask< WriteMask > opcua::VariableTypeAttributes::getWriteMask ( ) const
inlinenoexcept

Definition at line 482 of file types_composed.hpp.

◆ setWriteMask()

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

Definition at line 482 of file types_composed.hpp.

◆ getUserWriteMask()

Bitmask< WriteMask > opcua::VariableTypeAttributes::getUserWriteMask ( ) const
inlinenoexcept

Definition at line 482 of file types_composed.hpp.

◆ setUserWriteMask()

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

Definition at line 482 of file types_composed.hpp.

◆ getValue()

const Variant & opcua::VariableTypeAttributes::getValue ( ) const
inlinenoexcept

Definition at line 483 of file types_composed.hpp.

◆ setValue()

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

Definition at line 483 of file types_composed.hpp.

◆ setValueScalar()

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

Definition at line 487 of file types_composed.hpp.

◆ setValueArray()

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

Definition at line 493 of file types_composed.hpp.

◆ getDataType()

const NodeId & opcua::VariableTypeAttributes::getDataType ( ) const
inlinenoexcept

Definition at line 497 of file types_composed.hpp.

◆ setDataType() [1/2]

auto & opcua::VariableTypeAttributes::setDataType ( const NodeId & dataType)
inline

◆ setDataType() [2/2]

template<typename T >
auto & opcua::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 502 of file types_composed.hpp.

◆ getValueRank()

ValueRank opcua::VariableTypeAttributes::getValueRank ( ) const
inlinenoexcept

Definition at line 506 of file types_composed.hpp.

◆ setValueRank()

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

Definition at line 506 of file types_composed.hpp.

◆ getArrayDimensions() [1/2]

Span< const uint32_t > opcua::VariableTypeAttributes::getArrayDimensions ( ) const
inlinenoexcept

Definition at line 513 of file types_composed.hpp.

◆ getArrayDimensions() [2/2]

Span< uint32_t > opcua::VariableTypeAttributes::getArrayDimensions ( )
inlinenoexcept

Definition at line 513 of file types_composed.hpp.

◆ setArrayDimensions()

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

Definition at line 513 of file types_composed.hpp.

◆ getIsAbstract()

bool opcua::VariableTypeAttributes::getIsAbstract ( ) const
inlinenoexcept

Definition at line 514 of file types_composed.hpp.

◆ setIsAbstract()

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

Definition at line 514 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 31 of file typewrapper.hpp.

◆ TypeWrapper() [3/5]

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

Constructor with native object (move rvalue).

Definition at line 35 of file typewrapper.hpp.

◆ TypeWrapper() [4/5]

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

Copy constructor (deep copy).

Definition at line 43 of file typewrapper.hpp.

◆ TypeWrapper() [5/5]

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

Move constructor.

Definition at line 47 of file typewrapper.hpp.