/home/coin/svn-release/OS-2.7.0/OS/src/OSUtils/OSSmartPtr.hpp File Reference

#include "OSReferenced.hpp"
Include dependency graph for OSSmartPtr.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  OSSmartPtr< T >
 Template class for Smart Pointers. More...

Functions

template<class U1 , class U2 >
bool ComparePointers (const U1 *lhs, const U2 *rhs)
OSSmartPtr friend function declarations.



template<class U >
UGetRawPtr (const OSSmartPtr< U > &smart_ptr)
template<class U >
OSSmartPtr< const UConstPtr (const OSSmartPtr< U > &smart_ptr)
template<class U >
bool IsNull (const OSSmartPtr< U > &smart_ptr)
template<class U >
bool IsValid (const OSSmartPtr< U > &smart_ptr)
template<class U1 , class U2 >
bool operator== (const OSSmartPtr< U1 > &lhs, const OSSmartPtr< U2 > &rhs)
template<class U1 , class U2 >
bool operator== (const OSSmartPtr< U1 > &lhs, U2 *raw_rhs)
template<class U1 , class U2 >
bool operator== (U1 *lhs, const OSSmartPtr< U2 > &raw_rhs)
template<class U1 , class U2 >
bool operator!= (const OSSmartPtr< U1 > &lhs, const OSSmartPtr< U2 > &rhs)
template<class U1 , class U2 >
bool operator!= (const OSSmartPtr< U1 > &lhs, U2 *raw_rhs)
template<class U1 , class U2 >
bool operator!= (U1 *lhs, const OSSmartPtr< U2 > &raw_rhs)

Function Documentation

template<class U >
U * GetRawPtr ( const OSSmartPtr< U > &  smart_ptr  )  [inline]

Definition at line 452 of file OSSmartPtr.hpp.

template<class U >
OSSmartPtr< const U > ConstPtr ( const OSSmartPtr< U > &  smart_ptr  )  [inline]

Definition at line 458 of file OSSmartPtr.hpp.

template<class U >
bool IsNull ( const OSSmartPtr< U > &  smart_ptr  )  [inline]

Definition at line 471 of file OSSmartPtr.hpp.

template<class U >
bool IsValid ( const OSSmartPtr< U > &  smart_ptr  )  [inline]

Definition at line 465 of file OSSmartPtr.hpp.

template<class U1 , class U2 >
bool operator== ( const OSSmartPtr< U1 > &  lhs,
const OSSmartPtr< U2 > &  rhs 
) [inline]

Definition at line 499 of file OSSmartPtr.hpp.

template<class U1 , class U2 >
bool operator== ( const OSSmartPtr< U1 > &  lhs,
U2 *  raw_rhs 
) [inline]

Definition at line 507 of file OSSmartPtr.hpp.

template<class U1 , class U2 >
bool operator== ( U1 *  lhs,
const OSSmartPtr< U2 > &  raw_rhs 
) [inline]

Definition at line 514 of file OSSmartPtr.hpp.

template<class U1 , class U2 >
bool operator!= ( const OSSmartPtr< U1 > &  lhs,
const OSSmartPtr< U2 > &  rhs 
) [inline]

Definition at line 521 of file OSSmartPtr.hpp.

template<class U1 , class U2 >
bool operator!= ( const OSSmartPtr< U1 > &  lhs,
U2 *  raw_rhs 
) [inline]

Definition at line 528 of file OSSmartPtr.hpp.

template<class U1 , class U2 >
bool operator!= ( U1 *  lhs,
const OSSmartPtr< U2 > &  raw_rhs 
) [inline]

Definition at line 535 of file OSSmartPtr.hpp.

template<class U1 , class U2 >
bool ComparePointers ( const U1 *  lhs,
const U2 *  rhs 
) [inline]

Definition at line 478 of file OSSmartPtr.hpp.


Generated on 24 Jul 2013 by  doxygen 1.6.1