NVBIO
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Types | Public Methods | Friends | List of all members
nvbio::internals::SharedCount< CounterT > Class Template Reference

Detailed description

template< typename CounterT>
class nvbio::internals::SharedCount< CounterT >

Definition at line 133 of file shared_pointer.h.

#include <shared_pointer.h>

Public Types

typedef CountedBase< CounterT >
::Counter_Type 
Counter_Type
 

Public Methods

 SharedCount ()
 
template<typename PtrT , typename DeleterT >
 SharedCount (PtrT p, DeleterT d)
 
 SharedCount (const WeakCount< CounterT > &wc)
 
 ~SharedCount ()
 
 SharedCount (const SharedCount &sc)
 
SharedCountoperator= (const SharedCount &sc)
 
void swap (SharedCount &sc)
 
Counter_Type use_count () const
 
bool unique () const
 
void * get_deleter (const std::type_info &ti) const
 

Friends

class WeakCount< CounterT >
 
bool operator== (const SharedCount &a, const SharedCount &b)
 
bool operator< (const SharedCount &a, const SharedCount &b)
 

Member Typedef Documentation

template<typename CounterT>
typedef CountedBase<CounterT>::Counter_Type nvbio::internals::SharedCount< CounterT >::Counter_Type

Definition at line 135 of file shared_pointer.h.

Constructor & Destructor Documentation

template<typename CounterT>
nvbio::internals::SharedCount< CounterT >::SharedCount ( )
inline

Definition at line 137 of file shared_pointer.h.

template<typename CounterT>
template<typename PtrT , typename DeleterT >
nvbio::internals::SharedCount< CounterT >::SharedCount ( PtrT  p,
DeleterT  d 
)
inline

Definition at line 142 of file shared_pointer.h.

template<typename CounterT>
nvbio::internals::SharedCount< CounterT >::SharedCount ( const WeakCount< CounterT > &  wc)
inlineexplicit

Definition at line 301 of file shared_pointer.h.

template<typename CounterT>
nvbio::internals::SharedCount< CounterT >::~SharedCount ( )
inline

Definition at line 157 of file shared_pointer.h.

template<typename CounterT>
nvbio::internals::SharedCount< CounterT >::SharedCount ( const SharedCount< CounterT > &  sc)
inline

Definition at line 162 of file shared_pointer.h.

Member Function Documentation

template<typename CounterT>
void* nvbio::internals::SharedCount< CounterT >::get_deleter ( const std::type_info &  ti) const
inline

Definition at line 207 of file shared_pointer.h.

template<typename CounterT>
SharedCount& nvbio::internals::SharedCount< CounterT >::operator= ( const SharedCount< CounterT > &  sc)
inline

Definition at line 169 of file shared_pointer.h.

template<typename CounterT>
void nvbio::internals::SharedCount< CounterT >::swap ( SharedCount< CounterT > &  sc)
inline

Definition at line 183 of file shared_pointer.h.

template<typename CounterT>
bool nvbio::internals::SharedCount< CounterT >::unique ( ) const
inline

Definition at line 195 of file shared_pointer.h.

template<typename CounterT>
Counter_Type nvbio::internals::SharedCount< CounterT >::use_count ( ) const
inline

Definition at line 190 of file shared_pointer.h.

Friends And Related Function Documentation

template<typename CounterT>
bool operator< ( const SharedCount< CounterT > &  a,
const SharedCount< CounterT > &  b 
)
friend

Definition at line 202 of file shared_pointer.h.

template<typename CounterT>
bool operator== ( const SharedCount< CounterT > &  a,
const SharedCount< CounterT > &  b 
)
friend

Definition at line 197 of file shared_pointer.h.

template<typename CounterT>
friend class WeakCount< CounterT >
friend

Definition at line 211 of file shared_pointer.h.


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