FunctionFactory.cxx
Go to the documentation of this file.
1 
12 // for truncation warning in debug mode
13 #ifdef _MSC_VER
14 #include "msdevstudio/MSconfig.h"
15 #endif
16 
18 
19 // List of default functions
21 #include "functions/ConstantF.h"
22 #include "functions/Erfc.h"
23 #include "functions/Exponential.h"
24 #include "functions/Gaussian.h"
25 #include "functions/Landau.h"
26 #include "functions/Linear.h"
28 #include "functions/LogNormal.h"
29 #include "functions/LogParabola.h"
30 #include "functions/Novosibirsk.h"
31 #include "functions/PowerLaw.h"
32 #include "functions/Quadratic.h"
33 #include "functions/Quadratic2.h"
34 #include "functions/Chi2Dist.h"
35 
36 using namespace hippodraw;
37 
39 
41 {
42 }
43 
45 {
46  if ( s_instance == 0 ) {
47  s_instance = new FunctionFactory ();
49  }
50  return s_instance;
51 }
52 
54 {
55  add ( new Gaussian () );
56  add ( new Erfc () );
57  add ( new Exponential () );
58  add ( new Landau () );
59  add ( new Linear () );
60  add ( new LinearSumFunction () );
61  add ( new LogNormal () );
62  add ( new LogParabola () );
63  add ( new Novosibirsk () );
64  add ( new PowerLaw () );
65  add ( new BrokenPowerLaw () );
66  add ( new Quadratic () );
67  add ( new Quadratic2 () );
68  add ( new ConstantF () );
69  add ( new Chi2Dist () );
70 }

Generated for HippoDraw Class Library by doxygen