ThePEG 2.3.0
|
Specialization of the PtrTraits class for ConstRCPtr. More...
#include <RCPtr.h>
Public Types | |
typedef ConstRCPtr< T >::value_type | value_type |
Template argument typedef. | |
typedef ConstRCPtr< T >::reference | reference |
Template argument typedef. | |
typedef ConstRCPtr< T >::const_reference | const_reference |
Template argument typedef. | |
typedef RCPtr< T > | pointer |
Template argument typedef. | |
typedef ConstRCPtr< T > | const_pointer |
Template argument typedef. | |
typedef TransientRCPtr< T > | transient_pointer |
Template argument typedef. | |
typedef TransientConstRCPtr< T > | transient_const_pointer |
Template argument typedef. | |
Static Public Member Functions | |
static const T * | barePointer (const ConstRCPtr< T > &p) |
Return the bare pointer of the given pointer object. | |
static const_pointer | create () |
Create an object and return a pointer to it. | |
static const_pointer | create (const_reference t) |
Create an copy of an object and return a pointer to it. | |
static void | destroy (const_pointer) |
Destroy the object pointed to. | |
template<typename UPtr > | |
static const_pointer | DynamicCast (const UPtr &u) |
Cast dynamically. | |
template<typename UPtr > | |
static const_pointer | ConstCast (const UPtr &u) |
Cast away constness. | |
static const_pointer | PtrCast (const T *t) |
Cast from a basic pointer. | |
Static Public Attributes | |
static const bool | reference_counted = true |
ConstRCPtr is reference counted. | |
Specialization of the PtrTraits class for ConstRCPtr.
typedef ConstRCPtr<T> ThePEG::Pointer::PtrTraits< ConstRCPtr< T > >::const_pointer |
typedef ConstRCPtr<T>::const_reference ThePEG::Pointer::PtrTraits< ConstRCPtr< T > >::const_reference |
typedef RCPtr<T> ThePEG::Pointer::PtrTraits< ConstRCPtr< T > >::pointer |
typedef ConstRCPtr<T>::reference ThePEG::Pointer::PtrTraits< ConstRCPtr< T > >::reference |
typedef TransientConstRCPtr<T> ThePEG::Pointer::PtrTraits< ConstRCPtr< T > >::transient_const_pointer |
typedef TransientRCPtr<T> ThePEG::Pointer::PtrTraits< ConstRCPtr< T > >::transient_pointer |
typedef ConstRCPtr<T>::value_type ThePEG::Pointer::PtrTraits< ConstRCPtr< T > >::value_type |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
Create an object and return a pointer to it.
Definition at line 961 of file RCPtr.h.
References ThePEG::Pointer::RCPtr< T >::Create().
|
inlinestatic |
Create an copy of an object and return a pointer to it.
Definition at line 968 of file RCPtr.h.
References ThePEG::Pointer::RCPtr< T >::Create().
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
static |
ConstRCPtr is reference counted.