libcamgm
Public Types | Public Member Functions | List of all members
ca_mgm::rw_pointer::Shared< _D > Struct Template Reference

#include <PtrTypes.hpp>

Public Types

typedef shared_ptr< _D > _Ptr
 
typedef shared_ptr< const _D > _constPtr
 

Public Member Functions

bool unique (const _constPtr &ptr_r)
 
bool unique (const _Ptr &ptr_r)
 
long use_count (const _constPtr &ptr_r) const
 
long use_count (const _Ptr &ptr_r) const
 

Member Typedef Documentation

template<class _D >
typedef shared_ptr<const _D> ca_mgm::rw_pointer::Shared< _D >::_constPtr
template<class _D >
typedef shared_ptr<_D> ca_mgm::rw_pointer::Shared< _D >::_Ptr

Member Function Documentation

template<class _D >
bool ca_mgm::rw_pointer::Shared< _D >::unique ( const _constPtr ptr_r)
inline

Check whether pointer is not shared.

template<class _D >
bool ca_mgm::rw_pointer::Shared< _D >::unique ( const _Ptr ptr_r)
inline
template<class _D >
long ca_mgm::rw_pointer::Shared< _D >::use_count ( const _constPtr ptr_r) const
inline

Return number of references.

template<class _D >
long ca_mgm::rw_pointer::Shared< _D >::use_count ( const _Ptr ptr_r) const
inline

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