Blame | Last modification | View Log | RSS feed
#ifdef BOB_STREAM_OPERATORS_INCLUDED
#define BOB_STREAM_OPERATORS_INCLUDED
#include "stream.h"
inline
template <class Ty>
ibinaryfilestream& operator >> (ibinaryfilestream& is, Ty& o)
{
o.load(is);
return is;
}
inline
template <class Ty>
obinaryfilestream& operator << (obinaryfilestream& os, Ty& o)
{
o.toFile(os);
return os;
}
#endif // !defined(BOB_STREAM_OPERATORS_INCLUDED)