UA Server SDK C++ Bundle  1.3.2.200
 All Data Structures Namespaces Functions Variables Typedefs Enumerations Enumerator Groups Pages
UaRange Class Reference

Wrapper class for the UA stack structure OpcUa_Range. More...

#include <uarange.h>

Public Member Functions

 UaRange ()
 construction
 UaRange (const UaRange &other)
 construction
 UaRange (const OpcUa_Range &other)
 construction
 UaRange (OpcUa_Double lowLimit, OpcUa_Double highLimit)
 construction
 ~UaRange ()
 destruction
void clear ()
 Clear the data of the UaRange.
UaRangeoperator= (const UaRange &other)
 Assignment operator.
 operator const OpcUa_Range * () const
 Return internal OpcUa_Range structure.
OpcUa_Range * copy () const
 Copy UaRange data to a newly allocated OpcUa_Range.
void copyTo (OpcUa_Range *pDst) const
 Copy UaRange data to an existing OpcUa_Range structure.
void detach ()
 Reset OpcUa_Range structure without clearing the data.
UaString toString () const
 Converts the UaRange into a UaString.
void setRange (OpcUa_Double lowLimit, OpcUa_Double highLimit)
 Sets the Range.
OpcUa_Double lowLimit () const
 The Low limit of the range.
OpcUa_Double highLimit () const
 The High limit of the range.

Static Public Member Functions

static OpcUa_Range * clone (const OpcUa_Range &source)
 Copy OpcUa_VariableAttributes data to a newly allocated OpcUa_VariableAttributes.
static void cloneTo (const OpcUa_Range &source, OpcUa_Range &copy)
 Copy OpcUa_Range data to an existing OpcUa_Range structure.

Detailed Description

Wrapper class for the UA stack structure OpcUa_Range.

Constructor & Destructor Documentation

UaRange::UaRange ( const UaRange other)

construction

Parameters
otherthe UaRange.
UaRange::UaRange ( const OpcUa_Range &  other)

construction

Parameters
otherthe OpcUa_Range.
UaRange::UaRange ( OpcUa_Double  lowLimit,
OpcUa_Double  highLimit 
)

construction

Parameters
lowLimitthe low limit of the range.
highLimitthe high limit of the range.

Member Function Documentation

void UaRange::clear ( )

Clear the data of the UaRange.

OpcUa_Range * UaRange::clone ( const OpcUa_Range &  source)
static

Copy OpcUa_VariableAttributes data to a newly allocated OpcUa_VariableAttributes.

Parameters
sourceSource to clone.
Returns
new copy.
void UaRange::cloneTo ( const OpcUa_Range &  source,
OpcUa_Range &  copy 
)
static

Copy OpcUa_Range data to an existing OpcUa_Range structure.

Parameters
sourcethe source of the clone operation.
copythe destination of the clone operation.
OpcUa_Range * UaRange::copy ( ) const

Copy UaRange data to a newly allocated OpcUa_Range.

Returns
data to a newly allocated OpcUa_Range.
void UaRange::copyTo ( OpcUa_Range *  pDst) const

Copy UaRange data to an existing OpcUa_Range structure.

Parameters
pDstthe destination of this copy operation.
void UaRange::detach ( )

Reset OpcUa_Range structure without clearing the data.

OpcUa_Double UaRange::highLimit ( ) const
inline

The High limit of the range.

Returns
the High limit of the range.
OpcUa_Double UaRange::lowLimit ( ) const
inline

The Low limit of the range.

Returns
the low limit of the range.
UaRange::operator const OpcUa_Range * ( ) const

Return internal OpcUa_Range structure.

Returns
internal OpcUa_Range structure.
UaRange & UaRange::operator= ( const UaRange other)

Assignment operator.

Parameters
otherthe UaRange to assign.
Returns
Assignment operator.
void UaRange::setRange ( OpcUa_Double  lowLimit,
OpcUa_Double  highLimit 
)

Sets the Range.

Parameters
lowLimitthe low border of the Range.
highLimitthe high border of the Range.
UaString UaRange::toString ( ) const

Converts the UaRange into a UaString.

Returns
the converted UaRange.

The documentation for this class was generated from the following files: