seal::DataPtr< T > Class Template Reference

#include <dataptr.h>

List of all members.

Public Attributes

T * data

Detailed Description

template<typename T>
class seal::DataPtr< T >

This template class declares a pointer to data of the type specified by the template argument. This class can be used to avoid declaration of double pointers using '**'. An example is as follows

A common requirement is to have double pointer of type int **:

int **doublePtr;

In order to avoid the use of '**', one can use the DataPtr template class as follows:

DataPtr<int> *doublePtr;

After the above declaration doublePtr is a pointer to a object which points to data of type int.

Member Data Documentation

template<typename T>
T* seal::DataPtr< T >::data

The data pointer.

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

Generated on Sat May 16 21:35:20 2009 for SEAL by  doxygen 1.5.5