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