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::WeakCount< CounterT > Class Template Reference

Detailed description

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

Definition at line 130 of file shared_pointer.h.

#include <shared_pointer.h>

Public Types

typedef CountedBase< CounterT >
::Counter_Type 
Counter_Type
 

Public Methods

 WeakCount ()
 
 WeakCount (const SharedCount< CounterT > &sc)
 
 WeakCount (const WeakCount &wc)
 
 ~WeakCount ()
 
WeakCountoperator= (const SharedCount< CounterT > &sc)
 
WeakCountoperator= (const WeakCount &wc)
 
void swap (WeakCount &wc)
 
Counter_Type use_count () const
 
void * get_deleter (const std::type_info &ti) const
 

Friends

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

Member Typedef Documentation

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

Definition at line 218 of file shared_pointer.h.

Constructor & Destructor Documentation

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

Definition at line 220 of file shared_pointer.h.

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

Definition at line 224 of file shared_pointer.h.

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

Definition at line 231 of file shared_pointer.h.

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

Definition at line 238 of file shared_pointer.h.

Member Function Documentation

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

Definition at line 291 of file shared_pointer.h.

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

Definition at line 243 of file shared_pointer.h.

template<typename CounterT>
WeakCount& nvbio::internals::WeakCount< CounterT >::operator= ( const WeakCount< CounterT > &  wc)
inline

Definition at line 256 of file shared_pointer.h.

template<typename CounterT>
void nvbio::internals::WeakCount< CounterT >::swap ( WeakCount< CounterT > &  wc)
inline

Definition at line 269 of file shared_pointer.h.

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

Definition at line 276 of file shared_pointer.h.

Friends And Related Function Documentation

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

Definition at line 286 of file shared_pointer.h.

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

Definition at line 281 of file shared_pointer.h.

template<typename CounterT>
friend class SharedCount< CounterT >
friend

Definition at line 295 of file shared_pointer.h.


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