#include <RCPtr.h>
Public Types | |
typedef void | iterator_category |
Template argument typedef. | |
typedef void | difference_type |
Template argument typedef. | |
typedef T * | pointer |
Template argument typedef. | |
typedef const T * | const_pointer |
Template argument typedef. | |
typedef T & | reference |
Template argument typedef. | |
typedef const T & | const_reference |
Template argument typedef. | |
typedef T | value_type |
Template argument typedef. | |
Public Member Functions | |
TransientRCPtr () | |
Constructor for null pointer. | |
TransientRCPtr (const TransientRCPtr &p) | |
Copy constructor. | |
template<typename UPtr> | |
TransientRCPtr (const UPtr &u) | |
Copyconstructor for class UPtr which has operator-> defined resulting in a value implicitly convertible to T *. | |
TransientRCPtr (pointer p) | |
Construction from real pointer. | |
~TransientRCPtr () | |
Destructor. | |
TransientRCPtr & | operator= (const TransientRCPtr &p) |
Assignment. | |
template<typename UPtr> | |
TransientRCPtr & | operator= (const UPtr &u) |
Assignment from class UPtr which has operator-> defined resulting in a value implicitly convertible to T *. | |
template<typename UPtr> | |
TransientRCPtr & | assignDynamic (const UPtr &u) |
Assignment from class UPtr which has operator-> defined resulting in a value which can be cast dynamically to T *. | |
template<typename UPtr> | |
TransientRCPtr & | assignConst (const UPtr &u) |
Assignment from class UPtr which has operator-> defined resulting in a value whcih can be const_cast'ed to T *. | |
bool | operator== (const TransientRCPtr &p) const |
Test for equality of the underlying pointers. | |
bool | operator!= (const TransientRCPtr &p) const |
Test for inequality of the underlying pointers. | |
bool | operator== (const_pointer p) const |
Test for equality of the underlying pointers. | |
bool | operator!= (const_pointer p) const |
Test for inequality of the underlying pointers. | |
template<typename UPtr> | |
bool | operator== (const UPtr &u) const |
Test for equality of the underlying pointers. | |
template<typename UPtr> | |
bool | operator!= (const UPtr &u) const |
Test for inequality of the underlying pointers. | |
bool | operator< (const TransientRCPtr &p) const |
Test for ordering. | |
bool | operator< (const_pointer p) const |
Test for ordering. | |
bool | operator! () const |
Returns true if the underlying pointer is null. | |
operator T * () const | |
Returns the underlying pointer. | |
pointer | operator-> () const |
Member access. | |
reference | operator* () const |
Dereferencing. | |
Private Attributes | |
pointer | ptr |
The actual pointer. |
Definition at line 509 of file RCPtr.h.
typedef void ThePEG::Pointer::TransientRCPtr< T >::iterator_category |
typedef void ThePEG::Pointer::TransientRCPtr< T >::difference_type |
typedef T* ThePEG::Pointer::TransientRCPtr< T >::pointer |
typedef const T* ThePEG::Pointer::TransientRCPtr< T >::const_pointer |
typedef T& ThePEG::Pointer::TransientRCPtr< T >::reference |
typedef const T& ThePEG::Pointer::TransientRCPtr< T >::const_reference |
typedef T ThePEG::Pointer::TransientRCPtr< T >::value_type |
ThePEG::Pointer::TransientRCPtr< T >::~TransientRCPtr | ( | ) | [inline] |