]> git.tdb.fi Git - libs/datafile.git/blob - tool/builtingenerator.h
Cosmetic changes
[libs/datafile.git] / tool / builtingenerator.h
1 #ifndef TOOL_BUILTINGENERATOR_H_
2 #define TOOL_BUILTINGENERATOR_H_
3
4 #include <string>
5 #include <vector>
6 #include <msp/io/file.h>
7
8 class BuiltinGenerator
9 {
10 private:
11         Msp::IO::Base &out;
12         std::vector<std::string> namespc;
13         std::vector<std::string> filenames;
14
15 public:
16         BuiltinGenerator(Msp::IO::Base &);
17
18         void begin(const std::string &);
19         void add_file(const std::string &);
20         void end(const std::string &);
21
22 private:
23         static std::string mangle_filename(const std::string &);
24 };
25
26 #endif