Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

IWriter Struct Reference

Inheritance diagram for IWriter:

AbstractWriter Writer DisplayWriter EndianWriter ColumnWriter HttpWriter TextWriter List of all members.

Public Member Functions

IWriter put (bool x)
IWriter put (ubyte x)
IWriter put (byte x)
IWriter put (ushort x)
IWriter put (short x)
IWriter put (uint x)
IWriter put (int x)
IWriter put (ulong x)
IWriter put (long x)
IWriter put (float x)
IWriter put (double x)
IWriter put (real x)
IWriter put (char x)
IWriter put (wchar x)
IWriter put (dchar x)
IWriter put (char[] x)
IWriter putw (wchar[] x)
IWriter putd (dchar[] x)
IWriter put (IWritable x)
void setStringEncoder (IStringEncoder s)
IWriter cr ()
IWriter flush ()
IBuffer getBuffer ()

Detailed Description

IWriter interface. IWriter provides the means to append formatted data to an IBuffer, and exposes a convenient method of handling a variety of data types. In addition to writing native types such as integer and char[], writers also process any class which has implemented the IWritable interface (one method).

Definition at line 107 of file IWriter.d.


Member Function Documentation

IWriter put bool  x  ) 
 

These are the basic writer methods

Reimplemented in AbstractWriter.

Referenced by HttpResponse::commit(), HttpClient::open(), AdminServlet::service(), testBuffer(), testClassSerialization(), testCompositeIO(), testDisplay(), testHttpClient(), testHttpClient2(), testProtocol(), testRandomAccess(), testServletEngine(), testTextWriter(), testToken1(), Token::write(), RollCall::write(), Payload::write(), Message::write(), HttpTokens::write(), StartLine::VersionUseTokenizer::write(), HttpCookies::write(), Cookie::write(), ResponseLine::write(), FilePath::write(), and NewlineWriter::write().

IWriter put ubyte  x  ) 
 

Reimplemented in AbstractWriter.

IWriter put byte  x  ) 
 

Reimplemented in AbstractWriter.

IWriter put ushort  x  ) 
 

Reimplemented in AbstractWriter.

IWriter put short  x  ) 
 

Reimplemented in AbstractWriter.

IWriter put uint  x  ) 
 

Reimplemented in AbstractWriter.

IWriter put int  x  ) 
 

Reimplemented in AbstractWriter.

IWriter put ulong  x  ) 
 

Reimplemented in AbstractWriter.

IWriter put long  x  ) 
 

Reimplemented in AbstractWriter.

IWriter put float  x  ) 
 

Reimplemented in AbstractWriter.

IWriter put double  x  ) 
 

Reimplemented in AbstractWriter.

IWriter put real  x  ) 
 

Reimplemented in AbstractWriter.

IWriter put char  x  ) 
 

Reimplemented in AbstractWriter.

IWriter put wchar  x  ) 
 

Reimplemented in AbstractWriter.

IWriter put dchar  x  ) 
 

Reimplemented in AbstractWriter.

IWriter put char[]  x  ) 
 

Reimplemented in AbstractWriter, ColumnWriter, and TextWriter.

IWriter putw wchar[]  x  ) 
 

Reimplemented in AbstractWriter.

Referenced by UText::VersionMango::write().

IWriter putd dchar[]  x  ) 
 

Reimplemented in AbstractWriter.

IWriter put IWritable  x  ) 
 

Reimplemented in AbstractWriter, ColumnWriter, and TextWriter.

void setStringEncoder IStringEncoder  s  ) 
 

Set the configured IStringEncoder. These are intended to be used as a conversion mechanism between various character representations. They are also expected to be used for the process of applying character encodings.

Reimplemented in AbstractWriter.

Referenced by testDisplay(), and testTextWriter().

IWriter cr  ) 
 

Output a newline. Do this indirectly so that it can be intercepted by subclasses.

Reimplemented in AbstractWriter.

Referenced by HttpResponse::commit(), HttpClient::open(), AdminServlet::service(), testDisplay(), testHttpClient(), testHttpClient2(), testServletEngine(), testTextWriter(), HttpTokens::write(), StartLine::VersionUseTokenizer::write(), HttpCookies::write(), and ResponseLine::write().

IWriter flush  ) 
 

Flush the output of this writer. Throws an IOException if the operation fails.

Reimplemented in AbstractWriter.

Referenced by HttpResponse::commit(), HttpResponse::flush(), HttpClient::open(), testCompositeIO(), testConduitFilters(), testDisplay(), and testTextWriter().

IBuffer getBuffer  ) 
 

Return the associated buffer

Reimplemented in AbstractWriter.


The documentation for this struct was generated from the following file:
Generated on Sun Nov 7 19:07:07 2004 for Mango by doxygen 1.3.6