thepeg is hosted by Hepforge, IPPP Durham
ThePEG 2.3.0
ThePEG::Pointer::PtrTraits< TransientConstRCPtr< T > > Struct Template Reference

Specialization of the PtrTraits class for TransientConstRCPtr. More...

#include <RCPtr.h>

Inheritance diagram for ThePEG::Pointer::PtrTraits< TransientConstRCPtr< T > >:

Public Types

typedef TransientConstRCPtr< T >::value_type value_type
 Template argument typedef.
 
typedef TransientConstRCPtr< T >::reference reference
 Template argument typedef.
 
typedef TransientConstRCPtr< 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 TransientConstRCPtr< T > &p)
 Return the bare pointer of the given pointer object.
 
static void destroy (transient_const_pointer)
 Destroy the object pointed to.
 
template<typename UPtr >
static transient_const_pointer DynamicCast (const UPtr &u)
 Cast dynamically.
 
template<typename UPtr >
static transient_const_pointer ConstCast (const UPtr &u)
 Cast away constness.
 
static transient_const_pointer PtrCast (const T *t)
 Cast from a basic pointer.
 

Static Public Attributes

static const bool reference_counted = false
 TransientConstRCPtr is not reference counted.
 

Detailed Description

template<typename T>
struct ThePEG::Pointer::PtrTraits< TransientConstRCPtr< T > >

Specialization of the PtrTraits class for TransientConstRCPtr.

Definition at line 1081 of file RCPtr.h.

Member Typedef Documentation

◆ const_pointer

template<typename T >
typedef ConstRCPtr<T> ThePEG::Pointer::PtrTraits< TransientConstRCPtr< T > >::const_pointer

Template argument typedef.

Definition at line 1092 of file RCPtr.h.

◆ const_reference

template<typename T >
typedef TransientConstRCPtr<T>::const_reference ThePEG::Pointer::PtrTraits< TransientConstRCPtr< T > >::const_reference

Template argument typedef.

Definition at line 1088 of file RCPtr.h.

◆ pointer

template<typename T >
typedef RCPtr<T> ThePEG::Pointer::PtrTraits< TransientConstRCPtr< T > >::pointer

Template argument typedef.

Definition at line 1090 of file RCPtr.h.

◆ reference

template<typename T >
typedef TransientConstRCPtr<T>::reference ThePEG::Pointer::PtrTraits< TransientConstRCPtr< T > >::reference

Template argument typedef.

Definition at line 1086 of file RCPtr.h.

◆ transient_const_pointer

template<typename T >
typedef TransientConstRCPtr<T> ThePEG::Pointer::PtrTraits< TransientConstRCPtr< T > >::transient_const_pointer

Template argument typedef.

Definition at line 1096 of file RCPtr.h.

◆ transient_pointer

template<typename T >
typedef TransientRCPtr<T> ThePEG::Pointer::PtrTraits< TransientConstRCPtr< T > >::transient_pointer

Template argument typedef.

Definition at line 1094 of file RCPtr.h.

◆ value_type

template<typename T >
typedef TransientConstRCPtr<T>::value_type ThePEG::Pointer::PtrTraits< TransientConstRCPtr< T > >::value_type

Template argument typedef.

Definition at line 1084 of file RCPtr.h.

Member Function Documentation

◆ barePointer()

template<typename T >
static const T * ThePEG::Pointer::PtrTraits< TransientConstRCPtr< T > >::barePointer ( const TransientConstRCPtr< T > &  p)
inlinestatic

Return the bare pointer of the given pointer object.

Definition at line 1101 of file RCPtr.h.

◆ ConstCast()

template<typename T >
template<typename UPtr >
static transient_const_pointer ThePEG::Pointer::PtrTraits< TransientConstRCPtr< T > >::ConstCast ( const UPtr &  u)
inlinestatic

Cast away constness.

Definition at line 1124 of file RCPtr.h.

◆ destroy()

template<typename T >
static void ThePEG::Pointer::PtrTraits< TransientConstRCPtr< T > >::destroy ( transient_const_pointer  )
inlinestatic

Destroy the object pointed to.

Definition at line 1108 of file RCPtr.h.

◆ DynamicCast()

template<typename T >
template<typename UPtr >
static transient_const_pointer ThePEG::Pointer::PtrTraits< TransientConstRCPtr< T > >::DynamicCast ( const UPtr &  u)
inlinestatic

Cast dynamically.

Definition at line 1114 of file RCPtr.h.

◆ PtrCast()

template<typename T >
static transient_const_pointer ThePEG::Pointer::PtrTraits< TransientConstRCPtr< T > >::PtrCast ( const T *  t)
inlinestatic

Cast from a basic pointer.

Definition at line 1133 of file RCPtr.h.

Member Data Documentation

◆ reference_counted

template<typename T >
const bool ThePEG::Pointer::PtrTraits< TransientConstRCPtr< T > >::reference_counted = false
static

TransientConstRCPtr is not reference counted.

Definition at line 1140 of file RCPtr.h.


The documentation for this struct was generated from the following file: