thepeg
is hosted by
Hepforge
,
IPPP Durham
ThePEG
2.3.0
Interface
Deleted.h
1
// -*- C++ -*-
2
//
3
// Deleted.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_Deleted_H
10
#define ThePEG_Deleted_H
11
// This is the declaration of the Deleted and DeletedBase classes.
12
13
#include "
ThePEG/Config/ThePEG.h
"
14
#include "InterfaceBase.h"
15
16
namespace
ThePEG
{
17
44
class
DeletedBase
:
public
InterfaceBase
{
45
46
public
:
47
62
DeletedBase
(
string
newName,
string
newDescription,
string
newClassName,
63
const
type_info & newTypeInfo)
64
:
InterfaceBase
(newName, newDescription, newClassName,
65
newTypeInfo, true, false) {
66
rank
(-1.0e10);
67
}
68
75
virtual
string
76
exec
(
InterfacedBase
&ib,
string
action,
string
arguments)
const
77
;
78
83
virtual
string
doxygenType
()
const
;
84
88
virtual
string
type
()
const
;
89
90
};
91
118
template
<
class
T>
119
class
Deleted
:
public
DeletedBase
{
120
121
public
:
122
132
Deleted
(
string
newName,
string
newDescription)
133
:
DeletedBase
(newName, newDescription,
134
ClassTraits
<T>::
className
(), typeid(T)) {}
135
136
};
137
138
}
139
140
#endif
/* ThePEG_Deleted_H */
ThePEG.h
This is the main config header file for ThePEG.
ThePEG::DeletedBase
The DeletedBase and its templated Deleted sub-class defines an interface to a class derived from the ...
Definition:
Deleted.h:44
ThePEG::DeletedBase::type
virtual string type() const
Return a code for the type of this interface.
ThePEG::DeletedBase::DeletedBase
DeletedBase(string newName, string newDescription, string newClassName, const type_info &newTypeInfo)
Standard constructor.
Definition:
Deleted.h:62
ThePEG::DeletedBase::doxygenType
virtual string doxygenType() const
Return a string describing the type of interface to be included in the Doxygen documentation.
ThePEG::DeletedBase::exec
virtual string exec(InterfacedBase &ib, string action, string arguments) const
The general interface method overriding the one in InterfaceBase.
ThePEG::Deleted
The DeletedBase and its templated Deleted sub-class defines an interface to a class derived from the ...
Definition:
Deleted.h:119
ThePEG::Deleted::Deleted
Deleted(string newName, string newDescription)
Standard constructor.
Definition:
Deleted.h:132
ThePEG::InterfaceBase
The InterfaceBase class defines a generic interface to any class derived from the InterfacedBase clas...
Definition:
InterfaceBase.h:59
ThePEG::InterfaceBase::rank
double rank() const
Get the rank for this interface.
Definition:
InterfaceBase.h:214
ThePEG::InterfaceBase::className
string className() const
Return the class name for the class this interface is defined for.
Definition:
InterfaceBase.h:166
ThePEG::InterfacedBase
InterfacedBase is the base class of all Interfaced objects to be handled by the BaseRepository class.
Definition:
InterfacedBase.h:45
ThePEG
This is the main namespace within which all identifiers in ThePEG are declared.
Definition:
FactoryBase.h:28
ThePEG::ClassTraits
The default concrete implementation of ClassTraitsBase.
Definition:
ClassTraits.h:134
Generated on Thu Jun 20 2024 14:47:00 for ThePEG by
1.9.6