fpmas 1.6
breakpoint.h
Go to the documentation of this file.
1#ifndef FPMAS_BREAKPOINT_API_H
2#define FPMAS_BREAKPOINT_API_H
3
4#include <istream>
5#include <ostream>
6
13namespace fpmas { namespace api { namespace io {
25 template<typename T>
26 class Breakpoint {
27 public:
34 virtual void dump(std::ostream& stream, const T& object) = 0;
35
49 virtual void load(std::istream& stream, T& object) = 0;
50
51 virtual ~Breakpoint() {}
52 };
53}}}
54#endif
Definition: breakpoint.h:26
virtual void load(std::istream &stream, T &object)=0
virtual void dump(std::ostream &stream, const T &object)=0
Definition: fpmas.cpp:3