augment::auto_array< T > Class Template Reference

#include <auto_array.hpp>

List of all members.

Public Types

typedef T element_type

Public Member Functions

 auto_array (element_type *ptr=NULL) throw ()
 auto_array (auto_array &other) throw ()
 auto_array (auto_array_ref other) throw ()
 ~auto_array () throw ()
auto_arrayoperator= (auto_array &other) throw ()
auto_arrayoperator= (auto_array_ref other) throw ()
element_typeget () const throw ()
element_typeoperator[] (std::size_t index) const throw ()
element_typerelease () throw ()
void reset (element_type *ptr=NULL) throw ()
 operator auto_array_ref () throw ()

Private Attributes

element_typeptr_

Classes

struct  auto_array_ref

template<typename T>
class augment::auto_array< T >


Member Typedef Documentation

template<typename T>
typedef T augment::auto_array< T >::element_type


Constructor & Destructor Documentation

template<typename T>
augment::auto_array< T >::auto_array ( element_type ptr = NULL  )  throw () [inline, explicit]

template<typename T>
augment::auto_array< T >::auto_array ( auto_array< T > &  other  )  throw () [inline]

template<typename T>
augment::auto_array< T >::auto_array ( auto_array_ref  other  )  throw () [inline]

template<typename T>
augment::auto_array< T >::~auto_array (  )  throw () [inline]


Member Function Documentation

template<typename T>
auto_array& augment::auto_array< T >::operator= ( auto_array< T > &  other  )  throw () [inline]

template<typename T>
auto_array& augment::auto_array< T >::operator= ( auto_array_ref  other  )  throw () [inline]

template<typename T>
element_type* augment::auto_array< T >::get (  )  const throw () [inline]

template<typename T>
element_type& augment::auto_array< T >::operator[] ( std::size_t  index  )  const throw () [inline]

template<typename T>
element_type* augment::auto_array< T >::release (  )  throw () [inline]

template<typename T>
void augment::auto_array< T >::reset ( element_type ptr = NULL  )  throw () [inline]

template<typename T>
augment::auto_array< T >::operator auto_array_ref (  )  throw () [inline]


Member Data Documentation

template<typename T>
element_type* augment::auto_array< T >::ptr_ [private]


The documentation for this class was generated from the following file:
Generated on Wed Aug 8 03:46:47 2007 for Shareaza by  doxygen 1.5.2