Array class for the UA stack structure OpcUa_BrowsePath.
More...
#include <uaarraytemplates.h>
Array class for the UA stack structure OpcUa_BrowsePath.
This class encapsulates an array of the native OpcUa_BrowsePath structure and handles memory allocation and cleanup for you.
Constructs an instance of the class BrowsePaths with values from another BrowsePaths object.
- Parameters
-
other | the other BrowsePaths used to initialize the object |
Constructs an instance of the class UaBrowsePath using a raw OpcUa_BrowsePath array.
- Parameters
-
Attach to a raw OpcUa_BrowsePath array.
- Note
- Don't manually free the attached data afterwards, because UaBrowsePaths is responsible for it now.
- Parameters
-
Attach to a raw OpcUa_BrowsePath array.
- Note
- Don't manually free the attached data afterwards, because UaBrowsePaths is responsible for it now.
- Parameters
-
void UaBrowsePaths::create |
( |
OpcUa_UInt32 |
length | ) |
|
Clears the array and resizes to the given length.
- Parameters
-
length | the new length of the array |
Detach from the internal OpcUa_BrowsePath array.
After detaching, the detached array data will not be cleared automatically anymore.
- Note
- Remember to retrieve the length of the array before detaching.
- Returns
- the detached OpcUa_BrowsePath array
bool UaBrowsePaths::operator!= |
( |
const UaBrowsePaths & |
other | ) |
const |
Compare two UaBrowsePaths.
- See also
- operator==
- Parameters
-
- Returns
- true if not equal, false otherwise.
Assignment operator.
- Parameters
-
bool UaBrowsePaths::operator== |
( |
const UaBrowsePaths & |
other | ) |
const |
Compare two UaBrowsePaths.
- Parameters
-
- Returns
- true if equal, false if not.
Index operator.
- Parameters
-
index | the index of the structure to return. |
Index operator.
- Parameters
-
index | the index of the structure to return. |
void UaBrowsePaths::resize |
( |
OpcUa_UInt32 |
length | ) |
|
Resizes the array to a given length.
- Parameters
-
length | the new length of the array |
The documentation for this class was generated from the following files:
- D:/work/uasdkcpp/src/uabase/uabasecpp/uaarraytemplates.h
- D:/work/uasdkcpp/src/uabase/uabasecpp/uaarraytemplates.cpp