Wrapper classs for the ua stack structure OpcUa_Argument. Derived from OpcUa_Argument. More...

#include <uaargument.h>

List of all members.

Public Member Functions

 UaArgument ()
 UaArgument (const UaArgument &other)
 UaArgument (const OpcUa_Argument &other)
 UaArgument (const UaString &name, const UaNodeId &dataType, OpcUa_Int32 valueRank, const UaUInt32Array &arrayDimensions, const UaLocalizedText &description)
 ~UaArgument ()
void clear ()
UaArgumentoperator= (const UaArgument &other)
 operator const OpcUa_Argument * () const
OpcUa_Argument * copy () const
void copyTo (OpcUa_Argument *pDst) const
void detach ()
UaString toString () const
void setArgument (const UaString &name, const UaNodeId &dataType, OpcUa_Int32 valueRank, const UaUInt32Array &arrayDimensions, const UaLocalizedText &description)
const OpcUa_String * name () const
const OpcUa_NodeId * dataType () const
OpcUa_Int32 valueRank () const
const OpcUa_LocalizedText * description () const
UaUInt32Array * arrayDimensions () const

Static Public Member Functions

static OpcUa_Argument * clone (const OpcUa_Argument &source)
static void cloneTo (const OpcUa_Argument &source, OpcUa_Argument &copy)

Detailed Description

Wrapper classs for the ua stack structure OpcUa_Argument. Derived from OpcUa_Argument.


Constructor & Destructor Documentation

UaArgument::UaArgument (  )

construction

UaArgument::UaArgument ( const UaArgument other )

construction

Parameters:
otherthe UaArgument to assign
UaArgument::UaArgument ( const OpcUa_Argument &  other )

construction

Parameters:
otherthe OpcUa_Argument to assign
UaArgument::UaArgument ( const UaString name,
const UaNodeId dataType,
OpcUa_Int32  valueRank,
const UaUInt32Array &  arrayDimensions,
const UaLocalizedText description 
)

construction

Parameters:
namethe name as UaString.
dataTypethe data type of the actual used data variable.
valueRankthe ValueRank of the DataVariable.
arrayDimensionsthe arrayDimensions value for the passed UaUInt32Array.
descriptionthe description as UaLocalizedText.
UaArgument::~UaArgument (  )

destruction


Member Function Documentation

UaUInt32Array * UaArgument::arrayDimensions (  ) const

Get the array dimensions.

Returns:
Pointer to an UaUInt32Array with the array dimensions.
void UaArgument::clear (  )

Clear the data of the UaArgument.

OpcUa_Argument * UaArgument::clone ( const OpcUa_Argument &  source ) [static]

Copy OpcUa_Argument data to a newly allocated OpcUa_Argument.

Parameters:
sourcethe source of this operation.
Returns:
a newly allocated OpcUa_Argument.
void UaArgument::cloneTo ( const OpcUa_Argument &  source,
OpcUa_Argument &  copy 
) [static]

Copy OpcUa_Argument data to an exisitng OpcUa_Argument structure.

Parameters:
sourcethe source of this operation.
copyan exisitng OpcUa_Argument structure.
OpcUa_Argument * UaArgument::copy (  ) const

Copy UaArgument data to a newly allocated OpcUa_Argument.

Returns:
a newly allocated OpcUa_Argument.
void UaArgument::copyTo ( OpcUa_Argument *  pDst ) const

Copy UaArgument data to an exisitng OpcUa_Argument structure.

Parameters:
pDstthe destination of this operation.
const OpcUa_NodeId* UaArgument::dataType (  ) const [inline]

Get the DataType for the DataVariable.

Returns:
the DataType for the DataVariable.
const OpcUa_LocalizedText* UaArgument::description (  ) const [inline]

Get the description of the OpcUa_LocalizedText.

Returns:
the description of the OpcUa_LocalizedText.
void UaArgument::detach (  )

Reset OpcUa_Argument structure without clearing the data.

const OpcUa_String* UaArgument::name (  ) const [inline]

Get the name as OpcUa_String.

Returns:
the name as OpcUa_String.
UaArgument::operator const OpcUa_Argument * (  ) const

Return internal OpcUa_Argument structure.

Returns:
internal OpcUa_Argument structure.
UaArgument & UaArgument::operator= ( const UaArgument other )

Assignment operator.

Parameters:
otherthe UaArgument to assign.
Returns:
Assignment operator.
void UaArgument::setArgument ( const UaString name,
const UaNodeId dataType,
OpcUa_Int32  valueRank,
const UaUInt32Array &  arrayDimensions,
const UaLocalizedText description 
)

Set an argument.

Parameters:
namethe name of the actual node.
dataTypethe data type of the variable.
valueRankthe ValueRank of the DataVariable.
arrayDimensionsthe arrayDimensions value for the passed UaUInt32Array.
descriptionthe description as UaLocalizedText.
UaString UaArgument::toString (  ) const

Converts the UaArgument into a UaString.

Returns:
the converted UaArgument.
OpcUa_Int32 UaArgument::valueRank (  ) const [inline]

Get the ValueRank for the DataVariable.

Returns:
the ValueRank for the DataVariable.

The documentation for this class was generated from the following files:
  • /home/buildbot/work/uasdkcpp/src/uabase/uabasecpp/uaargument.h
  • /home/buildbot/work/uasdkcpp/src/uabase/uabasecpp/uaargument.cpp