Bridge++  Version 1.5.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
forceSmear.cpp
Go to the documentation of this file.
1 
14 #include "forceSmear.h"
15 
16 #ifdef USE_FACTORY
17 
18 #ifdef USE_FACTORY_AUTOREGISTER
19 #else
20 // setup factories for all subclasses
21 
22 #include "forceSmear_APE.h"
23 #include "forceSmear_HYP.h"
24 #include "forceSmear_APE_SF.h"
25 #include "forceSmear_HYP_SF.h"
26 
27 bool ForceSmear::init_factory()
28 {
29  bool result = true;
30 
31  result &= ForceSmear_APE::register_factory();
32  result &= ForceSmear_HYP::register_factory();
33  result &= ForceSmear_APE_SF::register_factory();
34  result &= ForceSmear_HYP_SF::register_factory();
35 
36  return result;
37 }
38 
39 
40 #endif /* USE_FACTORY_AUTOREGISTER */
41 
42 #endif /* USE_FACTORY */