Bridge++  Version 1.5.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
smear.cpp
Go to the documentation of this file.
1 
14 #include "smear.h"
15 
16 #ifdef USE_FACTORY
17 
18 #ifdef USE_FACTORY_AUTOREGISTER
19 #else
20 // setup factories for all subclasses
21 
22 #include "smear_APE.h"
23 #include "smear_APE_spatial.h"
24 #include "smear_HYP.h"
25 #include "smear_APE_SF.h"
26 #include "smear_HYP_SF.h"
27 
28 bool Smear::init_factory()
29 {
30  bool result = true;
31 
32  result &= Smear_APE::register_factory();
33  result &= Smear_APE_spatial::register_factory();
34  result &= Smear_HYP::register_factory();
35  result &= Smear_APE_SF::register_factory();
36  result &= Smear_HYP_SF::register_factory();
37 
38  return result;
39 }
40 
41 
42 #endif /* USE_FACTORY_AUTOREGISTER */
43 
44 #endif /* USE_FACTORY */