version 1.13, 2005/05/16 16:01:40
|
version 1.14, 2005/05/25 20:08:57
|
|
|
// | // |
//%///////////////////////////////////////////////////////////////////////////// | //%///////////////////////////////////////////////////////////////////////////// |
| |
#ifdef DEBUG |
|
#include <stdio.h> |
|
#include <iostream> |
|
#endif |
|
| |
#include "ObjectStreamer.h" | #include "ObjectStreamer.h" |
| |
|
|
{ | { |
for (Uint16 i=0,m=_readerCount; i<m; i++) { | for (Uint16 i=0,m=_readerCount; i<m; i++) { |
if (_readers[i].marker==in[pos]) { | if (_readers[i].marker==in[pos]) { |
#ifdef DEBUG |
|
PEGASUS_STD(cout) << "AutoStreamer:decode instance: pos = " << pos << "in[pos] = " ; |
|
printf("0x'%02x%02x%02x%02x 0x'%02x%02x%02x%02x\n", |
|
in[pos], in[pos+1], in[pos+2], in[pos+3], |
|
in[pos+4], in[pos+5], in[pos+6], in[pos+7]); |
|
#endif |
|
_readers[i].reader->decode(in,pos,inst); | _readers[i].reader->decode(in,pos,inst); |
return; | return; |
} | } |