2023-12-07 14:56:28 -06:00
|
|
|
#ifndef GENERATOR_HPP
|
|
|
|
#define GENERATOR_HPP
|
|
|
|
|
2023-12-07 21:36:51 -06:00
|
|
|
#include <string>
|
|
|
|
|
|
|
|
void PrintUsage(void);
|
|
|
|
|
|
|
|
struct ArgumentList {
|
|
|
|
std::string filename = "";
|
|
|
|
bool isFileSet = false;
|
|
|
|
int prefixLength = 0;
|
|
|
|
bool isPrefixSet = false;
|
|
|
|
int outputLength = 0;
|
|
|
|
bool isOutputSet = false;
|
|
|
|
};
|
|
|
|
|
2023-12-07 14:56:28 -06:00
|
|
|
struct Generator {
|
|
|
|
public:
|
2023-12-07 21:36:51 -06:00
|
|
|
Generator(void) = default;
|
|
|
|
~Generator(void) = default;
|
2023-12-07 14:56:28 -06:00
|
|
|
void SetArguments(int argc, char* argv[]);
|
|
|
|
private:
|
2023-12-07 21:36:51 -06:00
|
|
|
ArgumentList setup;
|
2023-12-07 14:56:28 -06:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // !GENERATOR_HPP
|