LAMA
|
00001 00033 #ifndef LAMA_PRINTABLE_HPP_ 00034 #define LAMA_PRINTABLE_HPP_ 00035 00036 // for dll_import 00037 #include <lama/config.hpp> 00038 00039 #include <ostream> 00040 00050 class LAMA_DLL_IMPORTEXPORT Printable 00051 { 00052 public: 00056 Printable(); 00057 00061 virtual ~Printable(); 00062 00071 virtual void writeAt(std::ostream& stream) const; 00072 }; 00073 00082 LAMA_DLL_IMPORTEXPORT std::ostream& operator<<( std::ostream& stream, const Printable& object ); 00083 00084 #endif // LAMA_PRINTABLE_HPP_