Rosetta  2019.22
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes | Typedefs | Functions
utility::pointer Namespace Reference

Classes

class  DeepCopyOP
 
class  ReferenceCount
 Base class for reference-counted polymorphic classes. More...
 

Typedefs

typedef boost::shared_ptr
< ReferenceCount
ReferenceCountOP
 
typedef boost::shared_ptr
< ReferenceCount const > 
ReferenceCountCOP
 

Functions

template<typename T , typename U >
bool equal (weak_ptr< T > const &a, weak_ptr< U > const &b)
 Equality comparator. More...
 
template<typename T , typename U >
bool equal (weak_ptr< T > &a, shared_ptr< U > const &bs)
 Equality comparator. More...
 
template<typename T , typename U >
bool equal (weak_ptr< T > &a, U *const b)
 Equality comparator. More...
 
template<class OUT , class T >
utility::pointer::shared_ptr< OUT > dynamic_pointer_cast (DeepCopyOP< T > const &param)
 

Typedef Documentation

Function Documentation

template<class OUT , class T >
utility::pointer::shared_ptr< OUT > utility::pointer::dynamic_pointer_cast ( DeepCopyOP< T > const &  param)
template<typename T , typename U >
bool utility::pointer::equal ( weak_ptr< T > const &  a,
weak_ptr< U > const &  b 
)
inline

Equality comparator.

template<typename T , typename U >
bool utility::pointer::equal ( weak_ptr< T > &  a,
shared_ptr< U > const &  bs 
)
inline

Equality comparator.

template<typename T , typename U >
bool utility::pointer::equal ( weak_ptr< T > &  a,
U *const  b 
)
inline