1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
#include "bar.hh" #include "string.hh" #include "molecule.hh" #include "paper.hh" #include "lookup.hh" Bar::Bar( String t) { type = t; } void Bar::preprocess() { Symbol s = paper()->lookup_->bar(type); output = new Molecule(Atom(s)); }