HandleManager< T > Class Template Reference
#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
Clears the formally created list.
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. |
Addes a new item to the array.
- Parameters:
-
- Returns:
- the index where the new item is stored.
template<class T>
OpcUa_Boolean HandleManager< T >::remove |
( |
OpcUa_UInt32 |
index |
) |
[inline] |
Removes all items with the specified index and returns a boolean value.
- Parameters:
-
| index | the specified index where to remove an item. |
- Returns:
- the value if the item to be removed is found or not.
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 >::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:
- src/uaserver/uaservercpp/coremodule/opcuatypesinternal.h