20 #ifndef GTXLTOLATEXCONVERTER_H_
21 #define GTXLTOLATEXCONVERTER_H_
23 #include "../basic_types/Scenario.h"
24 #include "../io/LatexExporter.h"
53 virtual void run()
override;
57 virtual void initialize(unordered_map<string,string>& parameters)
override;
string targetName
Stores the filename of the Latex file used as target of the conversion.
Definition: GTXLtoLatexConverter.h:69
unordered_map< IDType, IDType > * graphIDSubs
Stores any ID substitutions for graphs, if specified in the GTS file.
Definition: GTXLtoLatexConverter.h:89
bool compile
Stores whether the Latex file should be compiled or not.
Definition: GTXLtoLatexConverter.h:79
virtual void initialize(unordered_map< string, string > ¶meters) override
Initializes the scenario with the given mapping, where the keys are parameter names.
Definition: GTXLtoLatexConverter.cpp:69
TargetType
This Enumeration Type specifies for which resulting file formats the Latex file will be generated and...
Definition: LatexExporter.h:43
unordered_map< IDType, IDType > * ruleIDSubs
Stores any ID substitutions for rules, if specified in the GTS file.
Definition: GTXLtoLatexConverter.h:84
graphs::GTS_sp gts
Stores the GTS read from the given source file.
Definition: GTXLtoLatexConverter.h:64
virtual ~GTXLtoLatexConverter()
Destroys the this instance of this Scenario.
Definition: GTXLtoLatexConverter.cpp:58
io::LatexExporter::TargetType type
Stores in which type the target Latex file will be compiled.
Definition: GTXLtoLatexConverter.h:74
Use this Scenario to create a graphical representation of the given GTXL file.
Definition: GTXLtoLatexConverter.h:35
A scenario is a subprogram using a set of input parameters to execute some algorithms, producing desired output.
Definition: Scenario.h:36
virtual void run() override
Executes the scenario and converts the given GTXL file into a pdf, drawing all rules and initial grap...
Definition: GTXLtoLatexConverter.cpp:63
GTXLtoLatexConverter()
Creates a new instance of this Scenario.
Definition: GTXLtoLatexConverter.cpp:39
shared_ptr< GTS > GTS_sp
Alias for a shared pointer to a GTS object.
Definition: GTS.h:164