Jive reference manual
List of all members | Public Member Functions | Protected Member Functions
jem::io::ObjectInputStream Class Reference

#include <jem/io/ObjectInputStream.h>

Inheritance diagram for jem::io::ObjectInputStream:
Inheritance graph

Public Member Functions

 ObjectInputStream (Ref< InputStream > in)
 
virtual void close ()
 
virtual idx_t poll (const Time &timeout)
 
virtual idx_t read (void *buf, idx_t n)
 
virtual bool decodeBool ()
 
virtual byte decodeByte ()
 
virtual char decodeChar ()
 
virtual short decodeShort ()
 
virtual int decodeInt ()
 
virtual lint decodeLong ()
 
virtual float decodeFloat ()
 
virtual double decodeDouble ()
 
virtual void decode (bool *buf, idx_t len)
 
virtual void decode (byte *buf, idx_t len)
 
virtual void decode (char *buf, idx_t len)
 
virtual void decode (short *buf, idx_t len)
 
virtual void decode (int *buf, idx_t len)
 
virtual void decode (lint *buf, idx_t len)
 
virtual void decode (float *buf, idx_t len)
 
virtual void decode (double *buf, idx_t len)
 
virtual Ref< ObjectdecodeObject ()
 
virtual void decodeReference (const Ref< Object > &obj)
 
void printTrace (TextOutput &out) const
 
- Public Member Functions inherited from jem::io::InputStream
virtual Ref< InputStreamdup ()
 
virtual idx_t skip (idx_t n)
 
- Public Member Functions inherited from jem::Object
virtual ClassgetClass () const
 Returns the Class instance representing the runtime class of this object. More...
 
virtual String toString () const
 Returns a short textual description of this object. More...
 
virtual long hashValue () const
 Returns a hash value for this object. More...
 
virtual bool equals (const Ref< Object > &obj) const
 Tests whether two objects are equal. More...
 
Ref< Objectclone () const
 Returns a copy of this object. More...
 

Protected Member Functions

virtual ~ObjectInputStream ()
 
- Protected Member Functions inherited from jem::io::InputStream
virtual ~InputStream ()
 
- Protected Member Functions inherited from jem::Collectable
 Collectable ()
 Creates an empty Collectable. More...
 
 ~Collectable ()
 Frees resources. More...
 
- Protected Member Functions inherited from jem::io::ObjectInput
virtual ~ObjectInput ()
 
- Protected Member Functions inherited from jem::io::DataInput
virtual ~DataInput ()
 
- Protected Member Functions inherited from jem::Interface
virtual ~Interface ()
 Empty destructor. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from jem::Object
static ClassgetType ()
 Returns the Class instance representing the Object class. More...
 

Constructor & Destructor Documentation

jem::io::ObjectInputStream::ObjectInputStream ( Ref< InputStream in)
explicit
virtual jem::io::ObjectInputStream::~ObjectInputStream ( )
protectedvirtual

Member Function Documentation

virtual void jem::io::ObjectInputStream::close ( )
virtual

Reimplemented from jem::io::InputStream.

virtual idx_t jem::io::ObjectInputStream::poll ( const Time timeout)
virtual

Reimplemented from jem::io::InputStream.

virtual idx_t jem::io::ObjectInputStream::read ( void *  buf,
idx_t  n 
)
virtual

Implements jem::io::InputStream.

virtual bool jem::io::ObjectInputStream::decodeBool ( )
virtual

Implements jem::io::DataInput.

virtual byte jem::io::ObjectInputStream::decodeByte ( )
virtual

Implements jem::io::DataInput.

virtual char jem::io::ObjectInputStream::decodeChar ( )
virtual

Implements jem::io::DataInput.

virtual short jem::io::ObjectInputStream::decodeShort ( )
virtual

Implements jem::io::DataInput.

virtual int jem::io::ObjectInputStream::decodeInt ( )
virtual

Implements jem::io::DataInput.

virtual lint jem::io::ObjectInputStream::decodeLong ( )
virtual

Implements jem::io::DataInput.

virtual float jem::io::ObjectInputStream::decodeFloat ( )
virtual

Implements jem::io::DataInput.

virtual double jem::io::ObjectInputStream::decodeDouble ( )
virtual

Implements jem::io::DataInput.

virtual void jem::io::ObjectInputStream::decode ( bool *  buf,
idx_t  len 
)
virtual

Implements jem::io::DataInput.

virtual void jem::io::ObjectInputStream::decode ( byte *  buf,
idx_t  len 
)
virtual

Implements jem::io::DataInput.

virtual void jem::io::ObjectInputStream::decode ( char *  buf,
idx_t  len 
)
virtual

Implements jem::io::DataInput.

virtual void jem::io::ObjectInputStream::decode ( short *  buf,
idx_t  len 
)
virtual

Implements jem::io::DataInput.

virtual void jem::io::ObjectInputStream::decode ( int *  buf,
idx_t  len 
)
virtual

Implements jem::io::DataInput.

virtual void jem::io::ObjectInputStream::decode ( lint *  buf,
idx_t  len 
)
virtual

Implements jem::io::DataInput.

virtual void jem::io::ObjectInputStream::decode ( float *  buf,
idx_t  len 
)
virtual

Implements jem::io::DataInput.

virtual void jem::io::ObjectInputStream::decode ( double *  buf,
idx_t  len 
)
virtual

Implements jem::io::DataInput.

virtual Ref<Object> jem::io::ObjectInputStream::decodeObject ( )
virtual

Implements jem::io::ObjectInput.

virtual void jem::io::ObjectInputStream::decodeReference ( const Ref< Object > &  obj)
virtual
void jem::io::ObjectInputStream::printTrace ( TextOutput out) const