Public Types | Public Member Functions | Private Types | Private Attributes
boost::shared_array< T > Class Template Reference

#include <shared_array_nmt.hpp>

List of all members.

Public Types

typedef T element_type
typedef T element_type

Public Member Functions

T * get () const
T * get () const
shared_arrayoperator= (shared_array const &r)
T & operator[] (std::ptrdiff_t i) const
T & operator[] (std::ptrdiff_t i) const
void reset (T *p=0)
template<class D >
void reset (T *p, D d)
void reset (T *p=0)
 shared_array (T *p=0)
 shared_array (T *p=0)
template<class D >
 shared_array (T *p, D d)
 shared_array (shared_array const &r)
void swap (shared_array< T > &other)
void swap (shared_array< T > &other)
bool unique () const
bool unique () const
long use_count () const
long use_count () const
 ~shared_array ()

Private Types

typedef detail::atomic_count count_type
typedef checked_array_deleter< T > deleter
typedef shared_array< T > this_type

Private Attributes

detail::shared_count pn
count_typepn
T * px

Detailed Description

template<class T>
class boost::shared_array< T >

Definition at line 30 of file shared_array_nmt.hpp.


Member Typedef Documentation

template<class T>
typedef detail::atomic_count boost::shared_array< T >::count_type [private]

Definition at line 34 of file shared_array_nmt.hpp.

template<class T>
typedef checked_array_deleter<T> boost::shared_array< T >::deleter [private]

Definition at line 51 of file shared_array.hpp.

template<class T>
typedef T boost::shared_array< T >::element_type

Definition at line 38 of file shared_array_nmt.hpp.

template<class T>
typedef T boost::shared_array< T >::element_type

Definition at line 56 of file shared_array.hpp.

template<class T>
typedef shared_array<T> boost::shared_array< T >::this_type [private]

Definition at line 52 of file shared_array.hpp.


Constructor & Destructor Documentation

template<class T>
boost::shared_array< T >::shared_array ( T *  p = 0) [inline, explicit]

Definition at line 40 of file shared_array_nmt.hpp.

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

Definition at line 67 of file shared_array_nmt.hpp.

template<class T>
boost::shared_array< T >::shared_array ( shared_array< T > const &  r) [inline]

Definition at line 76 of file shared_array_nmt.hpp.

template<class T>
boost::shared_array< T >::shared_array ( T *  p = 0) [inline, explicit]

Definition at line 58 of file shared_array.hpp.

template<class T>
template<class D >
boost::shared_array< T >::shared_array ( T *  p,
d 
) [inline]

Definition at line 68 of file shared_array.hpp.


Member Function Documentation

template<class T>
T* boost::shared_array< T >::get ( ) const [inline]

Definition at line 92 of file shared_array.hpp.

template<class T>
T* boost::shared_array< T >::get ( ) const [inline]

Definition at line 94 of file shared_array_nmt.hpp.

template<class T>
shared_array& boost::shared_array< T >::operator= ( shared_array< T > const &  r) [inline]

Definition at line 82 of file shared_array_nmt.hpp.

template<class T>
T& boost::shared_array< T >::operator[] ( std::ptrdiff_t  i) const [inline]

Definition at line 85 of file shared_array.hpp.

template<class T>
T& boost::shared_array< T >::operator[] ( std::ptrdiff_t  i) const [inline]

Definition at line 99 of file shared_array_nmt.hpp.

template<class T>
void boost::shared_array< T >::reset ( T *  p = 0) [inline]

Definition at line 74 of file shared_array.hpp.

template<class T>
template<class D >
void boost::shared_array< T >::reset ( T *  p,
d 
) [inline]

Definition at line 80 of file shared_array.hpp.

template<class T>
void boost::shared_array< T >::reset ( T *  p = 0) [inline]

Definition at line 88 of file shared_array_nmt.hpp.

template<class T>
void boost::shared_array< T >::swap ( shared_array< T > &  other) [inline]

Definition at line 110 of file shared_array.hpp.

template<class T>
void boost::shared_array< T >::swap ( shared_array< T > &  other) [inline]

Definition at line 116 of file shared_array_nmt.hpp.

template<class T>
bool boost::shared_array< T >::unique ( ) const [inline]

Definition at line 100 of file shared_array.hpp.

template<class T>
bool boost::shared_array< T >::unique ( ) const [inline]

Definition at line 111 of file shared_array_nmt.hpp.

template<class T>
long boost::shared_array< T >::use_count ( ) const [inline]

Definition at line 105 of file shared_array.hpp.

template<class T>
long boost::shared_array< T >::use_count ( ) const [inline]

Definition at line 106 of file shared_array_nmt.hpp.


Member Data Documentation

template<class T>
detail::shared_count boost::shared_array< T >::pn [private]

Definition at line 119 of file shared_array.hpp.

template<class T>
count_type* boost::shared_array< T >::pn [private]

Definition at line 125 of file shared_array_nmt.hpp.

template<class T>
T * boost::shared_array< T >::px [private]

Definition at line 124 of file shared_array_nmt.hpp.


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


appl
Author(s): petercai
autogenerated on Tue Jan 7 2014 11:02:30