Outsourced debug output into a separate header.

This commit is contained in:
2016-05-22 14:40:52 +02:00
parent 21237ecac7
commit c23ba5312b
4 changed files with 196 additions and 141 deletions

View File

@@ -0,0 +1,26 @@
#ifndef __SAS__DEBUGGING_H
#define __SAS__DEBUGGING_H
#include <iosfwd>
#include <plasp/sas/Description.h>
namespace plasp
{
namespace sas
{
////////////////////////////////////////////////////////////////////////////////////////////////////
//
// Debugging
//
////////////////////////////////////////////////////////////////////////////////////////////////////
std::ostream &operator >>(std::ostream &ostream, const Description &description);
////////////////////////////////////////////////////////////////////////////////////////////////////
}
}
#endif

View File

@@ -40,8 +40,6 @@ class Description
const Operators &operators() const;
const AxiomRules &axiomRules() const;
void print(std::ostream &ostream) const;
private:
Description();