Back to index

nordugrid-arc-nox  1.1.0~rc6
Public Member Functions | Private Member Functions | Private Attributes
AutoPointer< T > Class Template Reference

List of all members.

Public Member Functions

 AutoPointer (void)
 AutoPointer (T *o)
 ~AutoPointer (void)
T & operator* (void) const
T * operator-> (void) const
 operator bool (void) const
bool operator! (void) const
 operator T * (void) const

Private Member Functions

void operator= (const AutoPointer< T > &)
void operator= (T *)
 AutoPointer (const AutoPointer &)

Private Attributes

T * object

Detailed Description

template<typename T>
class AutoPointer< T >

Definition at line 117 of file job.cpp.


Constructor & Destructor Documentation

template<typename T >
AutoPointer< T >::AutoPointer ( const AutoPointer< T > &  ) [inline, private]

Definition at line 122 of file job.cpp.

:object(NULL) { };
template<typename T >
AutoPointer< T >::AutoPointer ( void  ) [inline]

Definition at line 124 of file job.cpp.

:object(NULL) { };
template<typename T >
AutoPointer< T >::AutoPointer ( T *  o) [inline]

Definition at line 125 of file job.cpp.

:object(o) { }
template<typename T >
AutoPointer< T >::~AutoPointer ( void  ) [inline]

Definition at line 126 of file job.cpp.

{ if(object) delete object; };

Member Function Documentation

template<typename T >
AutoPointer< T >::operator bool ( void  ) const [inline]

Definition at line 129 of file job.cpp.

{ return (object!=NULL); };
template<typename T >
AutoPointer< T >::operator T * ( void  ) const [inline]

Definition at line 131 of file job.cpp.

{ return object; };
template<typename T >
bool AutoPointer< T >::operator! ( void  ) const [inline]

Definition at line 130 of file job.cpp.

{ return (object==NULL); };
template<typename T >
T& AutoPointer< T >::operator* ( void  ) const [inline]

Definition at line 127 of file job.cpp.

{ return *object; };
template<typename T >
T* AutoPointer< T >::operator-> ( void  ) const [inline]

Definition at line 128 of file job.cpp.

{ return object; };
template<typename T >
void AutoPointer< T >::operator= ( const AutoPointer< T > &  ) [inline, private]

Definition at line 120 of file job.cpp.

{ };
template<typename T >
void AutoPointer< T >::operator= ( T *  ) [inline, private]

Definition at line 121 of file job.cpp.

{ };

Member Data Documentation

template<typename T >
T* AutoPointer< T >::object [private]

Definition at line 119 of file job.cpp.


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