1#ifndef GENERATORFUNCTION_H
2#define GENERATORFUNCTION_H
16 std::vector<std::string> lines;
71 void addLine(std::vector<std::string>);
The GeneratorFunction class represents a function in the generated code.
Definition generatorFunction.h:13
GeneratorFunction()
Default constructor for GeneratorFunction.
Definition generatorFunction.h:26
bool insertBack
Definition generatorFunction.h:19
~GeneratorFunction()=default
Destructor for the GeneratorFunction class.
int getId()
Gets the ID of the generator function.
Definition generatorFunction.cpp:3
void addLine(std::string)
Adds a single line of code to the generator function.
Definition generatorFunction.cpp:11
std::vector< std::string > getLines()
Retrieves the lines of code in the generator function.
Definition generatorFunction.cpp:7
GeneratorFunction(int id)
Constructs a GeneratorFunction with a specific ID.
Definition generatorFunction.h:33