OWBI1::AutoPtrVec< X > Class Template Reference

#include <OWBI1_AutoPtr.hpp>

Collaboration diagram for OWBI1::AutoPtrVec< X >:

Collaboration graph
[legend]
List of all members.

Public Types

typedef X element_type

Public Member Functions

 AutoPtrVec (X *p=0)
 Construct a new AutoPtrVec.
AutoPtrVecoperator= (X *p)
 ~AutoPtrVec ()
X & operator * () const
X * operator-> () const
X & operator[] (unsigned i)
const X & operator[] (unsigned i) const
X * get () const
X * release ()
void reset (X *p=0)

Private Member Functions

 AutoPtrVec (const AutoPtrVec &a)
AutoPtrVecoperator= (const AutoPtrVec &a)

Private Attributes

X * _ptr

Detailed Description

template<class X>
class OWBI1::AutoPtrVec< X >

Definition at line 114 of file OWBI1_AutoPtr.hpp.


Member Typedef Documentation

template<class X>
typedef X OWBI1::AutoPtrVec< X >::element_type
 

Definition at line 124 of file OWBI1_AutoPtr.hpp.


Constructor & Destructor Documentation

template<class X>
OWBI1::AutoPtrVec< X >::AutoPtrVec const AutoPtrVec< X > &  a  )  [private]
 

template<class X>
OWBI1::AutoPtrVec< X >::AutoPtrVec X *  p = 0  )  [inline, explicit]
 

Construct a new AutoPtrVec.

Parameters:
p pointer to the object

Definition at line 143 of file OWBI1_AutoPtr.hpp.

template<class X>
OWBI1::AutoPtrVec< X >::~AutoPtrVec  ) 
 

Definition at line 157 of file OWBI1_AutoPtr.hpp.

References OWBI1::AutoPtrVec< X >::_ptr.


Member Function Documentation

template<class X>
X * OWBI1::AutoPtrVec< X >::get  )  const
 

Definition at line 176 of file OWBI1_AutoPtr.hpp.

References OWBI1::AutoPtrVec< X >::_ptr.

Referenced by OWBI1::String::concat(), OWBI1::String::format(), and OWBI1::String::String().

template<class X>
X & OWBI1::AutoPtrVec< X >::operator *  )  const
 

Definition at line 164 of file OWBI1_AutoPtr.hpp.

References OWBI1::AutoPtrVec< X >::_ptr.

template<class X>
X * OWBI1::AutoPtrVec< X >::operator->  )  const
 

Definition at line 167 of file OWBI1_AutoPtr.hpp.

References OWBI1::AutoPtrVec< X >::_ptr.

template<class X>
AutoPtrVec< X > & OWBI1::AutoPtrVec< X >::operator= X *  p  ) 
 

Definition at line 146 of file OWBI1_AutoPtr.hpp.

References OWBI1::AutoPtrVec< X >::_ptr, and OWBI1::AutoPtrVec< X >::reset().

template<class X>
AutoPtrVec& OWBI1::AutoPtrVec< X >::operator= const AutoPtrVec< X > &  a  )  [private]
 

template<class X>
const X & OWBI1::AutoPtrVec< X >::operator[] unsigned  i  )  const
 

Definition at line 173 of file OWBI1_AutoPtr.hpp.

References OWBI1::AutoPtrVec< X >::_ptr.

template<class X>
X & OWBI1::AutoPtrVec< X >::operator[] unsigned  i  ) 
 

Definition at line 170 of file OWBI1_AutoPtr.hpp.

References OWBI1::AutoPtrVec< X >::_ptr.

template<class X>
X * OWBI1::AutoPtrVec< X >::release  ) 
 

Definition at line 179 of file OWBI1_AutoPtr.hpp.

References OWBI1::AutoPtrVec< X >::_ptr.

template<class X>
void OWBI1::AutoPtrVec< X >::reset X *  p = 0  ) 
 

Definition at line 187 of file OWBI1_AutoPtr.hpp.

References OWBI1::AutoPtrVec< X >::_ptr.

Referenced by OWBI1::AutoPtrVec< X >::operator=().


Member Data Documentation

template<class X>
X* OWBI1::AutoPtrVec< X >::_ptr [private]
 

Definition at line 117 of file OWBI1_AutoPtr.hpp.

Referenced by OWBI1::AutoPtrVec< X >::get(), OWBI1::AutoPtrVec< X >::operator *(), OWBI1::AutoPtrVec< X >::operator->(), OWBI1::AutoPtrVec< X >::operator=(), OWBI1::AutoPtrVec< X >::operator[](), OWBI1::AutoPtrVec< X >::release(), OWBI1::AutoPtrVec< X >::reset(), and OWBI1::AutoPtrVec< X >::~AutoPtrVec().


The documentation for this class was generated from the following file:
Generated on Thu Feb 9 09:18:24 2006 for openwbem by  doxygen 1.4.6