Bridge++  Version 1.5.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
fopr.cpp
Go to the documentation of this file.
1 
14 #include "fopr.h"
15 
16 #ifdef USE_FACTORY
17 
18 #ifdef USE_FACTORY_AUTOREGISTER
19 #else
20 // setup factories for all subclasses
21 
22 #include "fopr_Wilson.h"
23 #include "Org/fopr_Wilson_impl.h"
24 #include "Imp/fopr_Wilson_impl.h"
25 #include "fopr_Wilson_eo.h"
28 #include "fopr_Clover.h"
29 #include "fopr_Clover_eo.h"
30 #include "fopr_Rational.h"
31 #include "fopr_Smeared.h"
32 #include "fopr_Smeared_eo.h"
33 #include "fopr_Chebyshev.h"
34 #include "fopr_WilsonGeneral.h"
37 #include "fopr_CloverGeneral.h"
40 #include "fopr_Wilson_SF.h"
41 #include "fopr_Clover_SF.h"
42 #include "fopr_Rational_SF.h"
43 #include "fopr_CRS.h"
44 
45 
46 bool Fopr::init_factory()
47 {
48  bool result = true;
49 
50  result &= Selector_Fopr_Wilson::register_factory();
51  result &= Org::Fopr_Wilson::register_factory();
52  result &= Imp::Fopr_Wilson::register_factory();
53  result &= Selector_Fopr_Wilson_eo::register_factory();
54  result &= Org::Fopr_Wilson_eo::register_factory();
55  result &= Imp::Fopr_Wilson_eo::register_factory();
56  result &= Fopr_Clover::register_factory();
57  result &= Fopr_Clover_eo::register_factory();
58  result &= Fopr_Rational::register_factory();
59  result &= Fopr_Smeared::register_factory();
60  result &= Fopr_Smeared_eo::register_factory();
61  result &= Fopr_Chebyshev::register_factory();
62  result &= Selector_Fopr_WilsonGeneral::register_factory();
63  result &= Org::Fopr_WilsonGeneral::register_factory();
64  result &= Imp::Fopr_WilsonGeneral::register_factory();
65  result &= Fopr_CloverGeneral::register_factory();
66  result &= Fopr_Wilson_Isochemical::register_factory();
67  result &= Fopr_Clover_Isochemical::register_factory();
68  result &= Fopr_Wilson_SF::register_factory();
69  result &= Fopr_Clover_SF::register_factory();
70  result &= Fopr_Rational_SF::register_factory();
71  result &= Fopr_CRS::register_factory();
72 
73  return result;
74 }
75 
76 
77 #endif /* USE_FACTORY_AUTOREGISTER */
78 
79 #endif /* USE_FACTORY */