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

#include <jem/mp/GatherPrinter.h>

Inheritance diagram for jem::mp::GatherPrinter:
Inheritance graph

Classes

class  Session
 

Public Member Functions

 GatherPrinter (Ref< OutputStream > out, idx_t bufsize=-1)
 
void beginSession ()
 
void endSession ()
 
- Public Member Functions inherited from jem::io::PrintWriter
 PrintWriter (const Ref< Writer > &out, idx_t bufsize=-1)
 
 PrintWriter (const Self &rhs)
 
virtual Ref< Writerdup ()
 
virtual void close ()
 Closes this output stream. More...
 
virtual void flush ()
 Writes any buffered data to this output stream. More...
 
virtual void write (int c)
 Writes a single character to this output stream. More...
 
virtual void write (int c, idx_t n)
 
virtual void write (const char *buf, idx_t n)
 
virtual void writeNoThrow (const char *buf, idx_t n)
 
void flushBuffer ()
 
virtual void printBool (bool b)
 Prints a formatted bool to this output stream. More...
 
virtual void printInt (lint i)
 
virtual void printFloat (double d)
 Prints a formatted double to this output stream. More...
 
void printLine ()
 
void printSpace ()
 
void printSpaces (idx_t count)
 
void printBlankLine ()
 
void printBlankLines (idx_t count)
 
void pushSettings ()
 
void popSettings ()
 
int incrIndentLevel ()
 
int decrIndentLevel ()
 
void setOptions (int options)
 
void setPageWidth (int width)
 
void setIndentWidth (int width)
 
int getOptions () const
 
int getPageWidth () const
 
int getIndentWidth () const
 
int getIndentLevel () const
 
int getMarginWidth () const
 
lint getLineNumber () const
 
lint getColumnNumber () const
 
bool atStartOfLine () const
 
template<class T >
Self & operator<< (const T &obj)
 
template<class T >
PrintWriteroperator<< (const T &obj)
 
- Public Member Functions inherited from jem::io::Writer
virtual void lock ()
 Locks this output stream. More...
 
virtual void unlock ()
 Unlocks this output stream. More...
 
virtual int poll ()
 Returns the number of characters that can be written without blocking. More...
 
virtual void write (int c, int n)
 Writes multiple copies of a character to this output stream. More...
 
virtual void write (const char *buf, int n)
 Writes an array of characters to this output stream. More...
 
virtual void writeNoThrow (const char *buf, int n)
 Writes a character array without throwing an exception. More...
 
virtual void printByte (byte b)
 Prints a formatted byte to this output stream. More...
 
virtual void printInt (long i)
 Prints a formatted integer to this output stream. More...
 
- 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 Ref< Self > open (int root, const Ref< Context > &ctx, Ref< OutputStream > out, 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 ~GatherPrinter ()
 
- Protected Member Functions inherited from jem::io::PrintWriter
virtual ~PrintWriter ()
 
- Protected Member Functions inherited from jem::Collectable
 Collectable ()
 Creates an empty Collectable. More...
 
 ~Collectable ()
 Frees resources. More...
 
- Protected Member Functions inherited from jem::Interface
virtual ~Interface ()
 Empty destructor. More...
 

Additional Inherited Members

- Public Attributes inherited from jem::io::PrintWriter
NumberFormat nformat
 
- Static Public Attributes inherited from jem::io::PrintWriter
static const int PAGE_WIDTH
 
static const int INDENT_WIDTH
 
static const int FLUSH_LINES
 
static const int NO_WORD_WRAP
 
static const int NUMERIC_BOOLS
 

Constructor & Destructor Documentation

jem::mp::GatherPrinter::GatherPrinter ( Ref< OutputStream out,
idx_t  bufsize = -1 
)
explicit
virtual jem::mp::GatherPrinter::~GatherPrinter ( )
protectedvirtual

Member Function Documentation

static Ref<Self> jem::mp::GatherPrinter::open ( int  root,
const Ref< Context > &  ctx,
const String fname,
int  flags = 0,
idx_t  bufsize = -1 
)
static
static Ref<Self> jem::mp::GatherPrinter::open ( int  root,
const Ref< Context > &  ctx,
Ref< OutputStream out,
idx_t  bufsize = -1 
)
static
void jem::mp::GatherPrinter::beginSession ( )
void jem::mp::GatherPrinter::endSession ( )