UaNumericRange Class Reference
[UA Base Library Classes]

#include <uanumericrange.h>

List of all members.

Public Member Functions

 UaNumericRange ()
 UaNumericRange (const UaNumericRange &other)
 UaNumericRange (const UaString &sNumericRange)
 ~UaNumericRange ()
UaNumericRangeoperator= (const UaNumericRange &other)
void clear ()
OpcUa_StatusCode setNumericRange (const UaString &sNumericRange)

Detailed Description

Helper class for NumericRange handling

The numeric range provides a way to identify a subset of a single or multidimensional array of data. The numeric range is provided as a string with a defined syntax for different constructs like single index into an array, a range of the array or a subset of a multidimensional array.

BNF for NumericRange:
<numeric-range> ::= dimension [',' dimension]
dimension ::= index [':' index]
index ::= digit [digit]
digit ::= '0' | '1' | '2' | '3' | '4' | '5' | '6' | '7' | '8' | '9'


Constructor & Destructor Documentation

UaNumericRange::UaNumericRange (  )

Constructs a numeric range object with initial value. No numeric range is set.

UaNumericRange::UaNumericRange ( const UaNumericRange other )

Constructs a numeric range object with the passed numeric range object.

UaNumericRange::UaNumericRange ( const UaString sNumericRange )

Constructs a numeric range object with the passed numeric range string.

UaNumericRange::~UaNumericRange (  )

Destroys the numeric range object


Member Function Documentation

void UaNumericRange::clear (  )

Clear all memory that has been allocated and reset all members

UaNumericRange & UaNumericRange::operator= ( const UaNumericRange other )

operator=

OpcUa_StatusCode UaNumericRange::setNumericRange ( const UaString sNumericRange )

Sets the numeric range object with the passed numeric range string.


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