thepeg
is hosted by
Hepforge
,
IPPP Durham
ThePEG
2.3.0
Interface
ClassDocumentation.h
1
// -*- C++ -*-
2
//
3
// ClassDocumentation.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_ClassDocumentation_H
10
#define ThePEG_ClassDocumentation_H
11
// This is the declaration of the ClassDocumentation class.
12
13
#include "
ThePEG/Config/ThePEG.h
"
14
#include "ClassDocumentation.fh"
15
16
namespace
ThePEG
{
17
48
class
ClassDocumentationBase
{
49
50
protected
:
51
63
ClassDocumentationBase
(
string
newDocumentation,
64
string
newModelDescription,
65
string
newModelReferences,
66
const
type_info & newTypeInfo);
67
68
public
:
69
73
virtual
~ClassDocumentationBase
() {}
74
75
public
:
76
80
string
documentation
()
const
{
return
theDocumentation
; }
81
85
string
modelDescription
()
const
{
return
theModelDescription
; }
86
90
string
modelReferences
()
const
{
return
theModelReferences
; }
91
92
private
:
93
97
string
theDocumentation
;
98
102
string
theModelDescription
;
103
107
string
theModelReferences
;
108
109
private
:
110
114
ClassDocumentationBase
();
115
119
ClassDocumentationBase
(
const
ClassDocumentationBase
&);
120
124
ClassDocumentationBase
&
operator=
(
const
ClassDocumentationBase
&) =
delete
;
125
126
};
127
128
159
template
<
typename
T>
160
class
ClassDocumentation
:
public
ClassDocumentationBase
{
161
162
public
:
163
173
ClassDocumentation
(
string
newDocumentation,
174
string
newModelDescription =
""
,
175
string
newModelReferences =
""
)
176
:
ClassDocumentationBase
(newDocumentation, newModelDescription,
177
newModelReferences, typeid(T)) {}
178
179
private
:
180
184
ClassDocumentation
();
185
189
ClassDocumentation
(
const
ClassDocumentation
&);
190
194
ClassDocumentation
&
operator=
(
const
ClassDocumentation
&) =
delete
;
195
196
};
197
198
}
199
200
#endif
/* ThePEG_ClassDocumentation_H */
ThePEG.h
This is the main config header file for ThePEG.
ThePEG::ClassDocumentationBase
The ClassDocumentationBase class is used to communicate documetation about an Interfaced class to the...
Definition:
ClassDocumentation.h:48
ThePEG::ClassDocumentationBase::modelDescription
string modelDescription() const
Return the model description of the corresponding class.
Definition:
ClassDocumentation.h:85
ThePEG::ClassDocumentationBase::theDocumentation
string theDocumentation
The brief documentation of the corresponding class.
Definition:
ClassDocumentation.h:97
ThePEG::ClassDocumentationBase::~ClassDocumentationBase
virtual ~ClassDocumentationBase()
The destructor.
Definition:
ClassDocumentation.h:73
ThePEG::ClassDocumentationBase::theModelDescription
string theModelDescription
The model description of the corresponding class.
Definition:
ClassDocumentation.h:102
ThePEG::ClassDocumentationBase::ClassDocumentationBase
ClassDocumentationBase(string newDocumentation, string newModelDescription, string newModelReferences, const type_info &newTypeInfo)
The standard constructor can only be used from subclasses.
ThePEG::ClassDocumentationBase::modelReferences
string modelReferences() const
Return the model references of the corresponding class.
Definition:
ClassDocumentation.h:90
ThePEG::ClassDocumentationBase::ClassDocumentationBase
ClassDocumentationBase()
Private and unimplemented default constructor.
ThePEG::ClassDocumentationBase::documentation
string documentation() const
Return the brief documentation of the corresponding class.
Definition:
ClassDocumentation.h:80
ThePEG::ClassDocumentationBase::ClassDocumentationBase
ClassDocumentationBase(const ClassDocumentationBase &)
Private and unimplemented copy constructor.
ThePEG::ClassDocumentationBase::operator=
ClassDocumentationBase & operator=(const ClassDocumentationBase &)=delete
Private and unimplemented assignment operator.
ThePEG::ClassDocumentationBase::theModelReferences
string theModelReferences
The model references of the corresponding class.
Definition:
ClassDocumentation.h:107
ThePEG::ClassDocumentation
The ClassDocumentation class is used to communicate documetation about an Interfaced class to the Rep...
Definition:
ClassDocumentation.h:160
ThePEG::ClassDocumentation::ClassDocumentation
ClassDocumentation(string newDocumentation, string newModelDescription="", string newModelReferences="")
The standard constructor.
Definition:
ClassDocumentation.h:173
ThePEG::ClassDocumentation::ClassDocumentation
ClassDocumentation(const ClassDocumentation &)
Private and unimplemented copy constructor.
ThePEG::ClassDocumentation::operator=
ClassDocumentation & operator=(const ClassDocumentation &)=delete
Private and unimplemented assignment operator.
ThePEG::ClassDocumentation::ClassDocumentation
ClassDocumentation()
Private and unimplemented default constructor.
ThePEG
This is the main namespace within which all identifiers in ThePEG are declared.
Definition:
FactoryBase.h:28
Generated on Thu Jun 20 2024 14:47:00 for ThePEG by
1.9.6