1
2
3
4
5
6 #ifndef CMAJOR_BINDER_CONSTANT_STRUCTURE_REPOSITORY_INCLUDED
7 #define CMAJOR_BINDER_CONSTANT_STRUCTURE_REPOSITORY_INCLUDED
8 #include <cmajor/symbols/ConstantSymbol.hpp>
9
10 namespace cmajor { namespace binder {
11
12 using namespace cmajor::symbols;
13
14 class ConstantStructureRepository
15 {
16 public:
17 ConstantStructureRepository();
18 void AddConstantStructure(ConstantSymbol* constantStructureSymbol);
19 const std::std::vector<ConstantSymbol*>&ConstantStructures() const{returnconstantStructures;}
20 private:
21 std::vector<ConstantSymbol*> constantStructures;
22 };
23
24 } }
25
26 #endif // CMAJOR_BINDER_CONSTANT_STRUCTURE_REPOSITORY_INCLUDED