byteArrayPrettyPrintStream Class Reference

#include <prettyPrinter.hpp>

Inheritance diagram for byteArrayPrettyPrintStream:

Inheritance graph
[legend]
Collaboration diagram for byteArrayPrettyPrintStream:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 byteArrayPrettyPrintStream ()
void newline ()
void print_char (char c)
byteArrayOop asByteArray ()

Private Attributes

GrowableArray< int > * _buffer

Detailed Description

Definition at line 97 of file prettyPrinter.hpp.


Constructor & Destructor Documentation

byteArrayPrettyPrintStream::byteArrayPrettyPrintStream (  ) 

Definition at line 1650 of file prettyPrinter.cpp.

References _buffer.


Member Function Documentation

byteArrayOop byteArrayPrettyPrintStream::asByteArray (  ) 

Definition at line 1659 of file prettyPrinter.cpp.

References _buffer, GrowableArray< E >::at(), byteArrayOopDesc::byte_at_put(), GenericGrowableArray::length(), and oopFactory::new_byteArray().

Referenced by PRIM_DECL_1(), and prettyPrinter::print_in_byteArray().

Here is the call graph for this function:

void byteArrayPrettyPrintStream::newline (  )  [virtual]

Reimplemented from defaultPrettyPrintStream.

Definition at line 1285 of file prettyPrinter.cpp.

References defaultPrettyPrintStream::indent(), prettyPrintStream::pos, and print_char().

Here is the call graph for this function:

void byteArrayPrettyPrintStream::print_char ( char  c  )  [virtual]

Reimplemented from defaultPrettyPrintStream.

Definition at line 1654 of file prettyPrinter.cpp.

References _buffer, GrowableArray< E >::append(), prettyPrintStream::pos, and defaultPrettyPrintStream::width_of_char().

Referenced by vframeStream::begin_highlight(), vframeStream::end_highlight(), and newline().

Here is the call graph for this function:


Member Data Documentation

GrowableArray<int>* byteArrayPrettyPrintStream::_buffer [private]

Definition at line 99 of file prettyPrinter.hpp.

Referenced by asByteArray(), byteArrayPrettyPrintStream(), and print_char().


The documentation for this class was generated from the following files:
Generated on Mon Oct 9 13:50:20 2006 for Strongtalk VM by  doxygen 1.4.7