UA Server SDK C++ Bundle  1.4.1.271
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
OpcUaDi::FetchResultDataType Class Reference

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

#include <opcuadi_fetchresultdatatype.h>

Public Member Functions

 FetchResultDataType ()
 Constructs an instance of the class FetchResultDataType with empty default values.
 
 FetchResultDataType (const FetchResultDataType &other)
 Constructs an instance of the class FetchResultDataType with values from another FetchResultDataType object. More...
 
 ~FetchResultDataType ()
 Destroys the FetchResultDataType object.
 
void clear ()
 Clear the data of the FetchResultDataType.
 
bool operator== (const FetchResultDataType &other) const
 Compare two FetchResultDataType if they are similar. More...
 
bool operator!= (const FetchResultDataType &other) const
 Returns true if the other FetchResultDataType is not equal to this. More...
 
FetchResultDataTypeoperator= (const FetchResultDataType &other)
 Assignment operator. More...
 

Detailed Description

Wrapper class for the UA stack structure OpcUaDi_FetchResultDataType.

This class encapsulates the native OpcUaDi_FetchResultDataType structure and handles memory allocation and cleanup for you. FetchResultDataType uses implicit sharing to avoid needless copying and to boost the performance. Only if you modify a shared FetchResultDataType it creates a copy for that (copy-on-write). So assigning another FetchResultDataType or passing it as parameter needs constant time and is nearly as fast as assigning a pointer.

Constructor & Destructor Documentation

OpcUaDi::FetchResultDataType::FetchResultDataType ( const FetchResultDataType other)

Constructs an instance of the class FetchResultDataType with values from another FetchResultDataType object.

Parameters
otherthe other UaFetchResultDataType used to initialize the object

Member Function Documentation

bool OpcUaDi::FetchResultDataType::operator!= ( const FetchResultDataType other) const

Returns true if the other FetchResultDataType is not equal to this.

See Also
operator==
Parameters
otherthe FetchResultDataType to compare.
Returns
true if other is not equal to this.
FetchResultDataType & OpcUaDi::FetchResultDataType::operator= ( const FetchResultDataType other)

Assignment operator.

Parameters
otherthe FetchResultDataType to assign.
Returns
Assignment operator.
bool OpcUaDi::FetchResultDataType::operator== ( const FetchResultDataType other) const

Compare two FetchResultDataType if they are similar.

Parameters
otherthe FetchResultDataType to compare.
Returns
true if similar, false if not.

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