gambit is hosted by Hepforge, IPPP Durham
GAMBIT  v1.5.0-252-gf9a3f78
a Global And Modular Bsm Inference Tool
container_factory.hpp
Go to the documentation of this file.
1 // GAMBIT: Global and Modular BSM Inference Tool
2 // *********************************************
14 //
25 
26 #ifndef __container_factory_hpp__
27 #define __container_factory_hpp__
28 
29 #include <vector>
30 #include <unordered_map>
31 #include <map>
32 #include <unordered_set>
33 #include <set>
34 #include <string>
35 
40 #include "gambit/ScannerBit/priors_rollcall.hpp"
43 
44 #define LOAD_SCANNER_FUNCTION(tag, ...) REGISTER(__scanner_factories__, tag, __VA_ARGS__)
45 
46 namespace Gambit
47 {
48 
50  {
51  typedef void* factory_type(const std::map<str, primary_model_functor *> &,
54  }
55 
57  {
58  private:
61  std::map<str, primary_model_functor *> functorMap;
63 
64  public:
68  void * operator() (const str &purpose) const;
69  };
70 
71 }
72 
73 #endif
std::map< str, primary_model_functor * > functorMap
reg_elem< factory_type > __scanner_factories__
General small utility classes, typedefs, etc.
Pure Base class of a plugin Factory function.
Printers::BaseBasePrinter & printer
START_MODEL b
Definition: demo.hpp:235
Master driver class for a GAMBIT scan.
Definition: core.hpp:35
Functor class definitions.
Main dependency resolver.
DRes::DependencyResolver & dependencyResolver
Utility Functions for the Gambit Scanner.
Scanner method implementations.
std::string str
Shorthand for a standard string.
Definition: Analysis.hpp:35
Likelihood_Container_Factory(const gambit_core &core, DRes::DependencyResolver &dependencyResolver, IniParser::IniFile &iniFile, Printers::BaseBasePrinter &printer)
Main inifile class.
Definition: yaml_parser.hpp:89
This is a minimal (pure virtual) precursor to the printer base class, for use only in ScannerBit...
Dependency resolution with boost graph library.
void * operator()(const str &purpose) const
TODO: see if we can use this one:
Definition: Analysis.hpp:33