source: icGREP/icgrep-devel/icgrep/re/symbol_generator.h @ 4197

Last change on this file since 4197 was 4197, checked in by nmedfort, 5 years ago

More refactoring of the RE system; moved the original re/RE_Compiler to compiler.cpp and the PBIX_Compiler to the re/RE_Compiler.

File size: 483 bytes
Line 
1/*
2 *  Copyright (c) 2014 International Characters.
3 *  This software is licensed to the public under the Open Software License 3.0.
4 *  icgrep is a trademark of International Characters.
5 */
6
7#ifndef SYMBOL_GENERATOR_H
8#define SYMBOL_GENERATOR_H
9
10#include <string>
11#include <map>
12
13namespace re {
14
15class SymbolGenerator
16{
17public:
18    SymbolGenerator();
19    std::string get(std::string prefix);
20private:
21    std::map<std::string, unsigned> pfxmap;
22};
23
24}
25
26#endif // SYMBOL_GENERATOR_H
Note: See TracBrowser for help on using the repository browser.