Cerata
A library to generate structural hardware designs
|
Abstract class to generate language specific output from Graphs. More...
#include <output.h>
Public Member Functions | |
OutputGenerator (std::string root_dir, std::vector< OutputSpec > outputs={}) | |
Construct an OutputGenerator. | |
OutputGenerator & | AddOutput (const OutputSpec &output) |
Add a graph to the list of graphs to generate output for. | |
virtual void | Generate ()=0 |
Start the output generation. | |
virtual std::string | subdir ()=0 |
Return the subdirectory this OutputGenerator will generate into. | |
Protected Attributes | |
std::string | root_dir_ |
The root directory to generate the output in. | |
std::vector< OutputSpec > | outputs_ |
A list of things to put out. | |
Abstract class to generate language specific output from Graphs.