Makes unqualified calls to:
Public Types | |
typedef T *Pointer::* | unspecified_bool_type |
Public Member Functions | |
T * | get () const |
operator unspecified_bool_type () const | |
T & | operator* () const |
T * | operator-> () const |
template<typename U> | |
Pointer & | operator= (const Pointer< U > &p) |
Pointer & | operator= (const Pointer &p) |
template<typename U> | |
Pointer (const Pointer< U > &p) | |
Pointer (const Pointer &p) | |
Pointer (T *p=0, bool add_ref=true) | |
~Pointer () | |
Private Member Functions | |
void | swap (Pointer &p) |
Private Attributes | |
T * | m_p |
Friends | |
template<typename U> | |
void | swap (Pointer< U > &lhs, Pointer< U > &rhs) |
typedef T* Pointer::* ifm::Pointer< T >::unspecified_bool_type |
ifm::Pointer< T >::Pointer | ( | T * | p = 0 , |
|
bool | add_ref = true | |||
) |
Creates a Pointer.
p | The pointer | |
add_ref | If true, the reference count for the pointed at object will be increased. |
ifm::Pointer< T >::Pointer | ( | const Pointer< T > & | p | ) |
ifm::Pointer< T >::~Pointer | ( | ) |
T* ifm::Pointer< T >::get | ( | ) | const |
ifm::Pointer< T >::operator unspecified_bool_type | ( | ) | const |
T& ifm::Pointer< T >::operator* | ( | ) | const |
T* ifm::Pointer< T >::operator-> | ( | ) | const |
Pointer& ifm::Pointer< T >::operator= | ( | const Pointer< U > & | p | ) |
Pointer& ifm::Pointer< T >::operator= | ( | const Pointer< T > & | p | ) |
void ifm::Pointer< T >::swap | ( | Pointer< T > & | p | ) | [private] |
void swap | ( | Pointer< U > & | lhs, | |
Pointer< U > & | rhs | |||
) | [friend] |
T* ifm::Pointer< T >::m_p [private] |