ThePEG  1.8.0
Public Types | Static Public Member Functions | Static Public Attributes | List of all members
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 > >:
Inheritance graph
[legend]

Public Types

typedef TransientConstRCPtr< T >::value_type value_type
 Template argument typedef. More...
 
typedef TransientConstRCPtr< T >::reference reference
 Template argument typedef. More...
 
typedef TransientConstRCPtr< T >::const_reference const_reference
 Template argument typedef. More...
 
typedef RCPtr< T > pointer
 Template argument typedef. More...
 
typedef ConstRCPtr< T > const_pointer
 Template argument typedef. More...
 
typedef TransientRCPtr< T > transient_pointer
 Template argument typedef. More...
 
typedef TransientConstRCPtr< T > transient_const_pointer
 Template argument typedef. More...
 

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 1061 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 1072 of file RCPtr.h.

◆ const_reference

Template argument typedef.

Definition at line 1068 of file RCPtr.h.

◆ pointer

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

Template argument typedef.

Definition at line 1070 of file RCPtr.h.

◆ reference

Template argument typedef.

Definition at line 1066 of file RCPtr.h.

◆ transient_const_pointer

Template argument typedef.

Definition at line 1076 of file RCPtr.h.

◆ transient_pointer

Template argument typedef.

Definition at line 1074 of file RCPtr.h.

◆ value_type

Template argument typedef.

Definition at line 1064 of file RCPtr.h.


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