EasyLocalpp  3.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
printable.hh
Go to the documentation of this file.
1 #if !defined(_PRINTABLE_HH_)
2 #define _PRINTABLE_HH_
3 
4 #include <iostream>
5 
6 namespace EasyLocal {
7 
8  namespace Core {
9 
11  class Printable
12  {
13  public:
14 
18  virtual void Print(std::ostream& os = std::cout) const = 0;
19  };
20 
25  std::ostream& operator<<(std::ostream& os, const Printable& p);
26 
27  }
28 }
29 
30 #endif
std::ostream & operator<<(std::ostream &os, const EvaluatedMove< Move, CFtype > &em)
virtual void Print(std::ostream &os=std::cout) const =0