thepeg
is hosted by
Hepforge
,
IPPP Durham
ThePEG
2.3.0
Pointer
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
15
namespace
ThePEG
{
16
18
namespace
Pointer {
19
34
template
<
typename
T>
35
struct
Ptr
{
36
38
typedef
RCPtr<T>
pointer
;
40
typedef
ConstRCPtr<T>
const_pointer
;
42
typedef
TransientRCPtr<T>
transient_pointer
;
44
typedef
TransientConstRCPtr<T>
transient_const_pointer
;
46
typedef
pointer
ptr
;
48
typedef
const_pointer
cptr
;
50
typedef
transient_pointer
tptr
;
52
typedef
transient_const_pointer
tcptr
;
54
typedef
pointer
p
;
56
typedef
const_pointer
cp
;
58
typedef
transient_pointer
tp
;
60
typedef
transient_const_pointer
tcp
;
61
62
};
63
64
}
65
}
66
67
#endif
/* ThePEG_Ptr_H */
ThePEG::Pointer::ConstRCPtr
ConstRCPtr is a reference counted (smart) const pointer.
Definition:
RCPtr.h:320
ThePEG::Pointer::RCPtr
RCPtr is a reference counted (smart) pointer.
Definition:
RCPtr.h:60
ThePEG::Pointer::TransientConstRCPtr
TransientConstRCPtr is a simple wrapper around a bare const pointer which can be assigned to and from...
Definition:
RCPtr.h:696
ThePEG::Pointer::TransientRCPtr
TransientRCPtr is a simple wrapper around a bare pointer which can be assigned to and from an RCPtr a...
Definition:
RCPtr.h:519
ThePEG
This is the main namespace within which all identifiers in ThePEG are declared.
Definition:
FactoryBase.h:28
ThePEG::Pointer::Ptr
Ptr is a templated class to provide typedefs for pointers types ThePEG should use for a given type.
Definition:
Ptr.h:35
ThePEG::Pointer::Ptr::tcp
transient_const_pointer tcp
Template argument typedef.
Definition:
Ptr.h:60
ThePEG::Pointer::Ptr::transient_const_pointer
TransientConstRCPtr< T > transient_const_pointer
Template argument typedef.
Definition:
Ptr.h:44
ThePEG::Pointer::Ptr::cptr
const_pointer cptr
Template argument typedef.
Definition:
Ptr.h:48
ThePEG::Pointer::Ptr::tptr
transient_pointer tptr
Template argument typedef.
Definition:
Ptr.h:50
ThePEG::Pointer::Ptr::ptr
pointer ptr
Template argument typedef.
Definition:
Ptr.h:46
ThePEG::Pointer::Ptr::tcptr
transient_const_pointer tcptr
Template argument typedef.
Definition:
Ptr.h:52
ThePEG::Pointer::Ptr::cp
const_pointer cp
Template argument typedef.
Definition:
Ptr.h:56
ThePEG::Pointer::Ptr::tp
transient_pointer tp
Template argument typedef.
Definition:
Ptr.h:58
ThePEG::Pointer::Ptr::const_pointer
ConstRCPtr< T > const_pointer
Template argument typedef.
Definition:
Ptr.h:40
ThePEG::Pointer::Ptr::transient_pointer
TransientRCPtr< T > transient_pointer
Template argument typedef.
Definition:
Ptr.h:42
ThePEG::Pointer::Ptr::p
pointer p
Template argument typedef.
Definition:
Ptr.h:54
ThePEG::Pointer::Ptr::pointer
RCPtr< T > pointer
Template argument typedef.
Definition:
Ptr.h:38
Generated on Thu Jun 20 2024 14:47:00 for ThePEG by
1.9.6