|
ThePEG
1.8.0
|
Specialization of the PtrTraits class for standard bare pointers. More...
#include <PtrTraits.h>

Public Types | |
| typedef T | value_type |
| Template argument typedef. More... | |
| typedef T & | reference |
| Template argument typedef. More... | |
| typedef const T & | const_reference |
| Template argument typedef. More... | |
| typedef T * | pointer |
| Template argument typedef. More... | |
| typedef T * | const_pointer |
| Template argument typedef. More... | |
Static Public Member Functions | |
| static T * | barePointer (T *p) |
| Return the bare pointer of the given pointer object. | |
| static pointer | create () |
| Create an object and return a pointer to it. | |
| static pointer | create (const_reference t) |
| Create an copy of an object and return a pointer to it. | |
| static void | destroy (pointer tp) |
| Destroy the object pointed to. | |
| template<class R > | |
| static pointer | DynamicCast (R *r) |
| Cast dynamically. | |
| static pointer | ConstCast (const T *t) |
| Cast away constness. | |
| static pointer | PtrCast (T *t) |
| Cast from a basic pointer. | |
Static Public Attributes | |
| static const bool | reference_counted = false |
| The bare pointer is not reference counted. | |
Specialization of the PtrTraits class for standard bare pointers.
Definition at line 45 of file PtrTraits.h.
| typedef T* ThePEG::Pointer::PtrTraits< T * >::const_pointer |
Template argument typedef.
Definition at line 56 of file PtrTraits.h.
| typedef const T& ThePEG::Pointer::PtrTraits< T * >::const_reference |
Template argument typedef.
Definition at line 52 of file PtrTraits.h.
| typedef T* ThePEG::Pointer::PtrTraits< T * >::pointer |
Template argument typedef.
Definition at line 54 of file PtrTraits.h.
| typedef T& ThePEG::Pointer::PtrTraits< T * >::reference |
Template argument typedef.
Definition at line 50 of file PtrTraits.h.
| typedef T ThePEG::Pointer::PtrTraits< T * >::value_type |
Template argument typedef.
Definition at line 48 of file PtrTraits.h.
1.8.9.1