Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

smart_type Class Template Reference

The deriving class(es), containing the C++ pointer. More...

#include <SmartPointer.h>

Inheritance diagram for smart_type:

Inheritance graph
[legend]
Collaboration diagram for smart_type:

Collaboration graph
[legend]
List of all members.

Public Methods

 smart_type (unsigned int size=1)
 ~smart_type ()
void* theaddr ()
void* theptr ()

Private Attributes

T* addr

Detailed Description

template<class T> class smart_type

The deriving class(es), containing the C++ pointer.

this class always knows the pointer type, so that the correct destructor can be called.

Definition at line 29 of file SmartPointer.h.


Constructor & Destructor Documentation

template<class T>
smart_type<T>::smart_type<T> ( unsigned int size = 1 ) [inline]
 

Definition at line 32 of file SmartPointer.h.

template<class T>
smart_type<T>::~smart_type<T> ( ) [inline]
 

Definition at line 33 of file SmartPointer.h.


Member Function Documentation

template<class T>
void * smart_type<T>::theaddr ( ) [inline, virtual]
 

Reimplemented from smart_void.

Definition at line 34 of file SmartPointer.h.

Referenced by AlephNtupleWriter::AddOutput(), and AlephNtupleWriter::AddScalableOutput().

template<class T>
void * smart_type<T>::theptr ( ) [inline]
 

Definition at line 35 of file SmartPointer.h.

Referenced by AlephNtupleWriter::AddOutput().


Member Data Documentation

template<class T>
T * smart_type<T>::addr [private]
 

Definition at line 37 of file SmartPointer.h.


The documentation for this class was generated from the following file:
Generated at Wed Jun 18 17:21:57 2003 for ALPHA++ by doxygen1.2.8.1 written by Dimitri van Heesch, © 1997-2001