gambit is hosted by Hepforge, IPPP Durham
GAMBIT  v1.5.0-252-gf9a3f78
a Global And Modular Bsm Inference Tool
type_equivalency.hpp
Go to the documentation of this file.
1 // GAMBIT: Global and Modular BSM Inference Tool
2 // *********************************************
18 
19 #ifndef __type_equivalency_hpp__
20 #define __type_equivalency_hpp__
21 
22 #include <set>
23 #include <vector>
25 
26 namespace Gambit
27 {
28 
29  namespace Utils
30  {
31 
33  str fix_type(str);
34 
37  {
38  public:
41  void add(str,str);
42  void add(str,str,str);
43  void add(str,str,str,str);
44  void add(str,str,str,str,str);
45  void add(str,str,str,str,str,str);
46  void add(std::vector<str>);
49  std::set< std::set<str> > equivalency_classes;
52  private:
54  };
55 
56  }
57 
58 }
59 
60 
61 #endif // defined __type_equivalency_hpp__
Structure providing type equivalency classes to the dep resolver.
General small utility classes, typedefs, etc.
std::set< std::set< str > > equivalency_classes
}@ The total set of equivalency classes
std::string str
Shorthand for a standard string.
Definition: Analysis.hpp:35
void add(str, str)
Define a new equivalency relation {.
str fix_type(str)
Clean out whitespace and strip Gambit and default BOSSed class namespaces.
TODO: see if we can use this one:
Definition: Analysis.hpp:33