blob: 4b9cadfcd97f0bb7739e19eb87ead72911f33506 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
#include "gats/gatsstream.h"
#include "gats/object.h"
#include <bu/sio.h>
#include <bu/nullstream.h>
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;
}
|