6 #ifndef KNOWROB_PRINTABLE_H
7 #define KNOWROB_PRINTABLE_H
11 #include <fmt/format.h>
26 virtual void write(std::ostream &os)
const = 0;
45 inline std::ostream &
operator<<(std::ostream &os,
const Printable &printable) {
virtual std::string format() const
virtual ~Printable()=default
virtual void write(std::ostream &os) const =0
std::ostream & operator<<(std::ostream &os, const Printable &printable)