version 1.9, 2006/01/30 16:16:46
|
version 1.10, 2006/11/10 18:14:57
|
|
|
// | // |
//============================================================================== | //============================================================================== |
// | // |
// Author: Adrian Schuur (schuur@de.ibm.com) - PEP 164 |
|
// |
|
// Modified By: David Dillard, VERITAS Software Corp. |
|
// (david.dillard@veritas.com) |
|
// Aruran, IBM (ashanmug@in.ibm.com) for BUG#3348 |
|
// |
|
//%///////////////////////////////////////////////////////////////////////////// | //%///////////////////////////////////////////////////////////////////////////// |
| |
#ifndef AutoStreamer_h | #ifndef AutoStreamer_h |
|
|
| |
PEGASUS_NAMESPACE_BEGIN | PEGASUS_NAMESPACE_BEGIN |
| |
class PEGASUS_COMMON_LINKAGE AutoStreamer : public ObjectStreamer { |
class PEGASUS_COMMON_LINKAGE AutoStreamer : public ObjectStreamer |
|
{ |
ObjectStreamer *_primary,*_defaultReader; | ObjectStreamer *_primary,*_defaultReader; |
Uint16 _readerCount; | Uint16 _readerCount; |
struct _reader { |
struct _reader |
|
{ |
_reader() { reader=NULL, marker=0; } | _reader() { reader=NULL, marker=0; } |
ObjectStreamer *reader; | ObjectStreamer *reader; |
Uint8 marker; | Uint8 marker; |
|
|
void write(PEGASUS_STD(ostream)& os, Buffer& in); | void write(PEGASUS_STD(ostream)& os, Buffer& in); |
}; | }; |
| |
|
|
PEGASUS_NAMESPACE_END | PEGASUS_NAMESPACE_END |
| |
#endif | #endif |