#include <opcuatypesinternal.h>
List of all members.
Detailed Description
template<class T>
class HandleManager< T >
HandleManager
Constructor & Destructor Documentation
construction with Variable initialization.
Member Function Documentation
Addes a new item to the array. Returns invalid index 0 if the passed item is NULL
- Parameters:
-
- Returns:
- the index where the new item is stored.
template<class T>
OpcUa_StatusCode HandleManager< T >::addAt |
( |
OpcUa_UInt32 |
index, |
|
|
T * |
pItem |
|
) |
| [inline] |
Addes a new item at a specific index to the array.
- Parameters:
-
index | The index where the new item should be stored. |
pItem | The item to add. |
- Returns:
- Success code.
Clears the formally created list.
template<class T>
OpcUa_Boolean HandleManager< T >::detach |
( |
OpcUa_UInt32 |
index ) |
[inline] |
Removes the item with the passed handle but does not delete the item. Returns a boolean value indicating sucess.
- Parameters:
-
index | The handle of the item to remove. |
- Returns:
- A flag indicating if the item was removed (true) or not found (false).
Get the specified item with the given index.
- Parameters:
-
index | the specified index where to get the item. |
- Returns:
- the specified item.
Counts all available items.
- Returns:
- the counted number of items.
Get the maximum Index.
- Returns:
- the maximum index number.
template<class T>
void HandleManager< T >::prepareAdd |
( |
OpcUa_UInt32 |
addCount ) |
[inline] |
Prepares an array to add more items. First of all the actual size will be calculated and after that the existing array will be expanded.
- Parameters:
-
addCount | the size for expanding the array. |
template<class T>
OpcUa_Boolean HandleManager< T >::remove |
( |
OpcUa_UInt32 |
index ) |
[inline] |
Removes and deletes the item with the passed handle and returns a boolean value indicating sucess.
- Parameters:
-
index | The handle of the item to remove. |
- Returns:
- A flag indicating if the item was removed (true) or not found (false).
template<class T>
void HandleManager< T >::resize |
( |
OpcUa_UInt32 |
length ) |
[inline, protected] |
Resizes the length of the array.
- Parameters:
-
length | the value of length for the resize. |
The documentation for this class was generated from the following file:
- /home/buildbot/work/uasdkcpp/src/uaserver/uaservercpp/coremodule/opcuatypesinternal.h