|
ThePEG
1.8.0
|
TransientRCPtr is a simple wrapper around a bare pointer which can be assigned to and from an RCPtr and ConstRCPtr without problem. More...
#include <RCPtr.h>
Public Types | |
| typedef void | iterator_category |
| Template argument typedef. More... | |
| typedef void | difference_type |
| Template argument typedef. More... | |
| typedef T * | pointer |
| Template argument typedef. More... | |
| typedef const T * | const_pointer |
| Template argument typedef. More... | |
| typedef T & | reference |
| Template argument typedef. More... | |
| typedef const T & | const_reference |
| Template argument typedef. More... | |
| typedef T | value_type |
| Template argument typedef. More... | |
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. More... | |
| 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. | |
TransientRCPtr is a simple wrapper around a bare pointer which can be assigned to and from an RCPtr and ConstRCPtr without problem.
| typedef const T* ThePEG::Pointer::TransientRCPtr< T >::const_pointer |
| typedef const T& ThePEG::Pointer::TransientRCPtr< T >::const_reference |
| typedef void ThePEG::Pointer::TransientRCPtr< T >::difference_type |
| typedef void ThePEG::Pointer::TransientRCPtr< T >::iterator_category |
| typedef T* ThePEG::Pointer::TransientRCPtr< T >::pointer |
| typedef T& ThePEG::Pointer::TransientRCPtr< T >::reference |
| typedef T ThePEG::Pointer::TransientRCPtr< T >::value_type |
|
inline |
1.8.9.1