libpqxx  v4.0-1
C++ library for PostgreSQL
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
pqxx::internal::scoped_array< T > Class Template Reference

#include <util.hxx>

Collaboration diagram for pqxx::internal::scoped_array< T >:

Public Types

typedef long difference_type
 
typedef size_t size_type
 

Public Member Functions

 scoped_array ()
 
 scoped_array (size_type n)
 
 scoped_array (T *t)
 
 ~scoped_array ()
 
T * get () const throw ()
 
T & operator* () const throw ()
 
scoped_arrayoperator= (T *t) throw ()
 
template<typename INDEX >
T & operator[] (INDEX i) const throw ()
 

Private Member Functions

 scoped_array (const scoped_array &)
 Not allowed. More...
 
scoped_arrayoperator= (const scoped_array &)
 

Private Attributes

T * m_ptr
 

Member Typedef Documentation

template<typename T>
typedef long pqxx::internal::scoped_array< T >::difference_type
template<typename T>
typedef size_t pqxx::internal::scoped_array< T >::size_type

Constructor & Destructor Documentation

template<typename T>
pqxx::internal::scoped_array< T >::scoped_array ( )
inline
template<typename T>
pqxx::internal::scoped_array< T >::scoped_array ( size_type  n)
inlineexplicit
template<typename T>
pqxx::internal::scoped_array< T >::scoped_array ( T *  t)
inlineexplicit
template<typename T>
pqxx::internal::scoped_array< T >::~scoped_array ( )
inline
template<typename T>
pqxx::internal::scoped_array< T >::scoped_array ( const scoped_array< T > &  )
private

Not allowed.

Member Function Documentation

template<typename T>
T* pqxx::internal::scoped_array< T >::get ( ) const throw ()
inline
template<typename T>
T& pqxx::internal::scoped_array< T >::operator* ( ) const throw ()
inline
template<typename T>
scoped_array& pqxx::internal::scoped_array< T >::operator= ( T *  t) throw ()
inline
template<typename T>
scoped_array& pqxx::internal::scoped_array< T >::operator= ( const scoped_array< T > &  )
private
template<typename T>
template<typename INDEX >
T& pqxx::internal::scoped_array< T >::operator[] ( INDEX  i) const throw ()
inline

Member Data Documentation

template<typename T>
T* pqxx::internal::scoped_array< T >::m_ptr
private

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