Bridge++  Version 1.5.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
action.cpp
Go to the documentation of this file.
1 
14 #include "action.h"
15 
16 #ifdef USE_FACTORY
17 
18 #ifdef USE_FACTORY_AUTOREGISTER
19 #else
20 // setup factories for all subclasses
21 
22 #include "Gauge/action_G_Plaq.h"
24 #include "Gauge/action_G_Plaq_SF.h"
26 
27 bool Action::init_factory()
28 {
29  bool result = true;
30 
31  result &= Action_G_Plaq::register_factory();
32  result &= Action_G_Rectangle::register_factory();
33  result &= Action_G_Plaq_SF::register_factory();
34  result &= Action_G_Rectangle_SF::register_factory();
35 
36  return result;
37 }
38 
39 
40 #endif /* USE_FACTORY_AUTOREGISTER */
41 
42 #endif /* USE_FACTORY */