#include "OSReferenced.hpp"
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 > | |
U * | GetRawPtr (const OSSmartPtr< U > &smart_ptr) |
template<class U > | |
OSSmartPtr< const U > | ConstPtr (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) |
U * GetRawPtr | ( | const OSSmartPtr< U > & | smart_ptr | ) | [inline] |
Definition at line 452 of file OSSmartPtr.hpp.
OSSmartPtr< const U > ConstPtr | ( | const OSSmartPtr< U > & | smart_ptr | ) | [inline] |
Definition at line 458 of file OSSmartPtr.hpp.
bool IsNull | ( | const OSSmartPtr< U > & | smart_ptr | ) | [inline] |
Definition at line 471 of file OSSmartPtr.hpp.
bool IsValid | ( | const OSSmartPtr< U > & | smart_ptr | ) | [inline] |
Definition at line 465 of file OSSmartPtr.hpp.
bool operator== | ( | const OSSmartPtr< U1 > & | lhs, | |
const OSSmartPtr< U2 > & | rhs | |||
) | [inline] |
Definition at line 499 of file OSSmartPtr.hpp.
bool operator== | ( | const OSSmartPtr< U1 > & | lhs, | |
U2 * | raw_rhs | |||
) | [inline] |
Definition at line 507 of file OSSmartPtr.hpp.
bool operator== | ( | U1 * | lhs, | |
const OSSmartPtr< U2 > & | raw_rhs | |||
) | [inline] |
Definition at line 514 of file OSSmartPtr.hpp.
bool operator!= | ( | const OSSmartPtr< U1 > & | lhs, | |
const OSSmartPtr< U2 > & | rhs | |||
) | [inline] |
Definition at line 521 of file OSSmartPtr.hpp.
bool operator!= | ( | const OSSmartPtr< U1 > & | lhs, | |
U2 * | raw_rhs | |||
) | [inline] |
Definition at line 528 of file OSSmartPtr.hpp.
bool operator!= | ( | U1 * | lhs, | |
const OSSmartPtr< U2 > & | raw_rhs | |||
) | [inline] |
Definition at line 535 of file OSSmartPtr.hpp.
bool ComparePointers | ( | const U1 * | lhs, | |
const U2 * | rhs | |||
) | [inline] |
Definition at line 478 of file OSSmartPtr.hpp.