58 virtual void beginDocument(
const std::vector<std::string> & bib_files) = 0;
106 virtual void addNotes(
const std::vector<std::string> & notes) = 0;
120 std::map<unsigned int, std::string> _inverse_note_numbers;
Stores all of the data needed to perform calculations with a specific reaction.
Definition Reaction.h:73
const unsigned int _max_rows_per_table
the maximum number of reactions allowed per table
Definition TableWriterBase.h:110
unsigned int _note_count
a counter for all of the notes that have been added to the table
Definition TableWriterBase.h:114
virtual void endTabulatedTable()=0
Adds the end of the table for reactions which have data that is collected from a file.
void clear()
clears the state of the writer before a new writing
Definition TableWriterBase.h:38
std::map< std::string, unsigned int > _note_numbers
helper mappings between notes and their corrisponding numbering
Definition TableWriterBase.h:119
TableWriterBase(unsigned int max_rows=32)
Helper for generating a latex table based on the reaction mechanism.
Definition TableWriterBase.h:30
virtual void beginTabulatedTable()=0
Adds the beginning of the table for reactions which have data that is collected from a file.
virtual void beginFunctionalTable()=0
Adds the beginning of the table for reactions which have functional data.
std::ostringstream & tableString()
Getter method for the stream to actually write the summary to file.
Definition TableWriterBase.h:54
std::ostringstream _table_str
the string stream that is used to created the summary
Definition TableWriterBase.h:116
virtual void endDocument()=0
Adds the end of the document.
virtual void addFunctionalReaction(const std::shared_ptr< const Reaction > &r)=0
Specification for how to format a row for a single reaction which has data that can be sampled via a ...
unsigned int maxRows()
Getter method for the maximum number of reactions allowed in a single table.
Definition TableWriterBase.h:50
virtual void beginDocument(const std::vector< std::string > &bib_files)=0
Adds the document preamble to start of the latex doc.
unsigned int _rxn_count
a counter for reactions in the network
Definition TableWriterBase.h:112
virtual void beginRateBasedSection()=0
Adds a section header before the rate based reactions are put in the table.
virtual void addNotes(const std::vector< std::string > ¬es)=0
Method for adding notes to the end of a single reaction additionally this method should be used to he...
virtual void endFunctionalTable()=0
Adds the end of the table for reactions which have functional data.
virtual void addTabulatedReaction(const std::shared_ptr< const Reaction > &r)=0
Specification for how to format a row for a single reaction which has data that is collected from a f...
virtual void beginXSecBasedSection()=0
Adds a section header before the cross section based reactions are put in the table.