thepeg is hosted by Hepforge, IPPP Durham
ThePEG 2.3.0
Ptr.h
1// -*- C++ -*-
2//
3// Ptr.h is a part of ThePEG - Toolkit for HEP Event Generation
4// Copyright (C) 1999-2019 Leif Lonnblad
5//
6// ThePEG is licenced under version 3 of the GPL, see COPYING for details.
7// Please respect the MCnet academic guidelines, see GUIDELINES for details.
8//
9#ifndef ThePEG_Ptr_H
10#define ThePEG_Ptr_H
11// This is the declaration of the Ptr class.
12
13#include "RCPtr.fh"
14
15namespace ThePEG {
16
18namespace Pointer {
19
34template <typename T>
35struct Ptr {
36
46 typedef pointer ptr;
54 typedef pointer p;
61
62};
63
64}
65}
66
67#endif /* ThePEG_Ptr_H */
ConstRCPtr is a reference counted (smart) const pointer.
Definition: RCPtr.h:320
RCPtr is a reference counted (smart) pointer.
Definition: RCPtr.h:60
TransientConstRCPtr is a simple wrapper around a bare const pointer which can be assigned to and from...
Definition: RCPtr.h:696
TransientRCPtr is a simple wrapper around a bare pointer which can be assigned to and from an RCPtr a...
Definition: RCPtr.h:519
This is the main namespace within which all identifiers in ThePEG are declared.
Definition: FactoryBase.h:28
Ptr is a templated class to provide typedefs for pointers types ThePEG should use for a given type.
Definition: Ptr.h:35
transient_const_pointer tcp
Template argument typedef.
Definition: Ptr.h:60
TransientConstRCPtr< T > transient_const_pointer
Template argument typedef.
Definition: Ptr.h:44
const_pointer cptr
Template argument typedef.
Definition: Ptr.h:48
transient_pointer tptr
Template argument typedef.
Definition: Ptr.h:50
pointer ptr
Template argument typedef.
Definition: Ptr.h:46
transient_const_pointer tcptr
Template argument typedef.
Definition: Ptr.h:52
const_pointer cp
Template argument typedef.
Definition: Ptr.h:56
transient_pointer tp
Template argument typedef.
Definition: Ptr.h:58
ConstRCPtr< T > const_pointer
Template argument typedef.
Definition: Ptr.h:40
TransientRCPtr< T > transient_pointer
Template argument typedef.
Definition: Ptr.h:42
pointer p
Template argument typedef.
Definition: Ptr.h:54
RCPtr< T > pointer
Template argument typedef.
Definition: Ptr.h:38