Simulant  21.12-194
A portable game engine for Windows, OSX, Linux, Dreamcast, and PSP
printable.h
1 #pragma once
2 
3 #include <string>
4 
5 namespace smlt {
6 
7 class Printable {
8 public:
9  virtual ~Printable() {}
10 
11  virtual std::string repr() const = 0;
12 
13  friend std::ostream& operator<< (std::ostream& o, Printable const& instance);
14 };
15 
16 std::ostream& operator<< (std::ostream& o, Printable const& instance);
17 
18 
19 }
smlt::Printable
Definition: printable.h:7
smlt
Definition: animation.cpp:25