Jive reference manual
List of all members | Classes | Public Member Functions | Static Public Member Functions | Protected Member Functions
jem::mp::GatherStream Class Reference

#include <jem/mp/GatherStream.h>

Inheritance diagram for jem::mp::GatherStream:
Inheritance graph

Classes

class  Session
 

Public Member Functions

 GatherStream (int root, const Ref< Context > &ctx, Ref< OutputStream > out, idx_t bufsize=-1)
 
virtual void close ()
 
virtual void flush ()
 
virtual void write (const void *buf, idx_t n)
 
virtual void writeNoThrow (const void *buf, idx_t n)
 
void beginSession ()
 
void endSession ()
 
- Public Member Functions inherited from jem::io::OutputStream
virtual Ref< OutputStreamdup ()
 
- 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...
 

Static Public Member Functions

static Ref< Self > open (int root, const Ref< Context > &ctx, const String &fname, int flags=0, idx_t bufsize=-1)
 
- Static Public Member Functions inherited from jem::Object
static ClassgetType ()
 Returns the Class instance representing the Object class. More...
 

Protected Member Functions

virtual ~GatherStream ()
 
- Protected Member Functions inherited from jem::io::OutputStream
virtual ~OutputStream ()
 
- Protected Member Functions inherited from jem::Collectable
 Collectable ()
 Creates an empty Collectable. More...
 
 ~Collectable ()
 Frees resources. More...
 

Constructor & Destructor Documentation

jem::mp::GatherStream::GatherStream ( int  root,
const Ref< Context > &  ctx,
Ref< OutputStream out,
idx_t  bufsize = -1 
)
virtual jem::mp::GatherStream::~GatherStream ( )
protectedvirtual

Member Function Documentation

static Ref<Self> jem::mp::GatherStream::open ( int  root,
const Ref< Context > &  ctx,
const String fname,
int  flags = 0,
idx_t  bufsize = -1 
)
static
virtual void jem::mp::GatherStream::close ( )
virtual

Reimplemented from jem::io::OutputStream.

virtual void jem::mp::GatherStream::flush ( )
virtual

Reimplemented from jem::io::OutputStream.

virtual void jem::mp::GatherStream::write ( const void *  buf,
idx_t  n 
)
virtual

Implements jem::io::OutputStream.

virtual void jem::mp::GatherStream::writeNoThrow ( const void *  buf,
idx_t  n 
)
virtual

Reimplemented from jem::io::OutputStream.

void jem::mp::GatherStream::beginSession ( )
void jem::mp::GatherStream::endSession ( )