#include "gats/gatsstream.h" #include "gats/object.h" #include #include using namespace Bu; Gats::GatsStream::GatsStream( Bu::Stream &rStream ) : rStream( rStream ) { } Gats::GatsStream::~GatsStream() { } Gats::Object *Gats::GatsStream::readObject() { } void Gats::GatsStream::writeObject( Gats::Object *pObject ) { Bu::NullStream ns; pObject->write( ns ); sio << "Object consumed " << ns.tell() << "b." << sio.nl; }