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