thepeg is hosted by Hepforge, IPPP Durham
ThePEG  2.1.5
ThePEG::Pointer::Ptr< T > Struct Template Reference

Ptr is a templated class to provide typedefs for pointers types ThePEG should use for a given type. More...

#include <Ptr.h>

Public Types

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...
 
typedef pointer ptr
 Template argument typedef. More...
 
typedef const_pointer cptr
 Template argument typedef. More...
 
typedef transient_pointer tptr
 Template argument typedef. More...
 
typedef transient_const_pointer tcptr
 Template argument typedef. More...
 
typedef pointer p
 Template argument typedef. More...
 
typedef const_pointer cp
 Template argument typedef. More...
 
typedef transient_pointer tp
 Template argument typedef. More...
 
typedef transient_const_pointer tcp
 Template argument typedef. More...
 

Detailed Description

template<typename T>
struct ThePEG::Pointer::Ptr< T >

Ptr is a templated class to provide typedefs for pointers types ThePEG should use for a given type.

If you want to use ThePEG with another kind of (smart) pointers than those provided you have to provide an alternative ThePEG.h file which includes an alternative Ptr class. It may also be possible to specialize this Ptr class for using different pointer classes for different classes.

See also
RCPtr
ConstRCPtr
TransientRCPtr
TransientConstRCPtr

Definition at line 35 of file Ptr.h.

Member Typedef Documentation

◆ const_pointer

template<typename T>
typedef ConstRCPtr<T> ThePEG::Pointer::Ptr< T >::const_pointer

Template argument typedef.

Definition at line 40 of file Ptr.h.

◆ cp

template<typename T>
typedef const_pointer ThePEG::Pointer::Ptr< T >::cp

Template argument typedef.

Definition at line 56 of file Ptr.h.

◆ cptr

template<typename T>
typedef const_pointer ThePEG::Pointer::Ptr< T >::cptr

Template argument typedef.

Definition at line 48 of file Ptr.h.

◆ p

template<typename T>
typedef pointer ThePEG::Pointer::Ptr< T >::p

Template argument typedef.

Definition at line 54 of file Ptr.h.

◆ pointer

template<typename T>
typedef RCPtr<T> ThePEG::Pointer::Ptr< T >::pointer

Template argument typedef.

Definition at line 38 of file Ptr.h.

◆ ptr

template<typename T>
typedef pointer ThePEG::Pointer::Ptr< T >::ptr

Template argument typedef.

Definition at line 46 of file Ptr.h.

◆ tcp

template<typename T>
typedef transient_const_pointer ThePEG::Pointer::Ptr< T >::tcp

Template argument typedef.

Definition at line 60 of file Ptr.h.

◆ tcptr

template<typename T>
typedef transient_const_pointer ThePEG::Pointer::Ptr< T >::tcptr

Template argument typedef.

Definition at line 52 of file Ptr.h.

◆ tp

template<typename T>
typedef transient_pointer ThePEG::Pointer::Ptr< T >::tp

Template argument typedef.

Definition at line 58 of file Ptr.h.

◆ tptr

template<typename T>
typedef transient_pointer ThePEG::Pointer::Ptr< T >::tptr

Template argument typedef.

Definition at line 50 of file Ptr.h.

◆ transient_const_pointer

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

Template argument typedef.

Definition at line 44 of file Ptr.h.

◆ transient_pointer

template<typename T>
typedef TransientRCPtr<T> ThePEG::Pointer::Ptr< T >::transient_pointer

Template argument typedef.

Definition at line 42 of file Ptr.h.


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