25#ifndef PROOFPRINTER_HPP
26#define PROOFPRINTER_HPP
32#include "StackItem.hpp"
34using std::filesystem::path;
64 string make_LaTeX_state(
StackItem*)
const;
76 string make_LaTeX_subtree(
StackItem*)
const;
93 inline void set_proof(vector<StackItem>* _p) { p = _p; }
97 inline void clear() { p =
nullptr; }
105 void make_LaTeX(
const path&,
const path&,
const string&);
Class for rendering a proof in various formats.
Definition ProofPrinter.hpp:50
void make_Prolog(const path &)
Convert to a form suitable for use by the Prolog proof checker and write to a file.
Definition ProofPrinter.cpp:165
ProofPrinter(vector< StackItem > *_p)
The constructor yuo want.
Definition ProofPrinter.hpp:87
void set_proof(vector< StackItem > *_p)
Basic set method.
Definition ProofPrinter.hpp:93
void make_LaTeX(const path &, const path &, const string &)
Convert to LaTeX and store in the specified file.
Definition ProofPrinter.cpp:104
ProofPrinter()
Basic constructor.
Definition ProofPrinter.hpp:81
void clear()
Basic set method.
Definition ProofPrinter.hpp:97
Stack items: each contains its own stack of possible next inferences.
Definition StackItem.hpp:51