UA Server SDK C++ Bundle  1.4.0.258
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
UaObjectPointerArray< T > Class Template Reference

UaObjectPointerArray. More...

#include <uaarraytemplates.h>

Public Member Functions

T *& operator[] (const OpcUa_UInt32 index) const
 
void create (OpcUa_UInt32 length)
 
void attach (OpcUa_UInt32 length, T **data)
 
void attach (OpcUa_Int32 length, T **data)
 
OpcUa_UInt32 addObject (T *data)
 
void resize (OpcUa_UInt32 length)
 
T ** detach ()
 
void clear ()
 
T ** rawData () const
 
OpcUa_UInt32 length () const
 

Detailed Description

template<class T>
class UaObjectPointerArray< T >

UaObjectPointerArray.

Template wrapper class for an array of pointers to C++ class instances. This class is a template for wrapper classes used to manage arrays of pointers to C++ class instances. It provides methods to create, to resize and to delete such arrays. In the case of the array deletion in the clear method or in the destructor, delete gets called for each valid object in the array. It is not possible to create plane copies of this Class.


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