Cerata
A library to generate structural hardware designs
cerata::OutputGenerator Class Referenceabstract

Abstract class to generate language specific output from Graphs. More...

#include <output.h>

+ Inheritance diagram for cerata::OutputGenerator:

Public Member Functions

 OutputGenerator (std::string root_dir, std::vector< OutputSpec > outputs={})
 Construct an OutputGenerator.
 
OutputGeneratorAddOutput (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< OutputSpecoutputs_
 A list of things to put out.
 

Detailed Description

Abstract class to generate language specific output from Graphs.

Definition at line 38 of file output.h.


The documentation for this class was generated from the following files: