stringStream Class Reference

#include <ostream.hpp>

Inheritance diagram for stringStream:

Inheritance graph
[legend]
Collaboration diagram for stringStream:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 stringStream (int initial_size=1 *K)
void put (char c)
char * as_string ()
byteArrayOop as_byteArray ()

Protected Attributes

char * buffer
int buffer_pos
int buffer_length

Detailed Description

Definition at line 74 of file ostream.hpp.


Constructor & Destructor Documentation

stringStream::stringStream ( int  initial_size = 1 *K  ) 

Definition at line 105 of file ostream.cpp.

References buffer, buffer_length, buffer_pos, and NEW_RESOURCE_ARRAY.


Member Function Documentation

byteArrayOop stringStream::as_byteArray (  ) 

Definition at line 130 of file ostream.cpp.

References buffer, buffer_pos, byteArrayOopDesc::byte_at_put(), and oopFactory::new_byteArray().

Here is the call graph for this function:

char * stringStream::as_string (  ) 

Definition at line 123 of file ostream.cpp.

References buffer, buffer_pos, and NEW_RESOURCE_ARRAY.

Referenced by InliningDatabase::klass_string(), memOopDesc::layout_iterate_body(), main(), InliningDatabase::method_string(), oopDesc::print_string(), LookupKey::print_string(), oopDesc::print_value_string(), and InliningDatabase::selector_string().

void stringStream::put ( char  c  )  [virtual]

Reimplemented from outputStream.

Definition at line 111 of file ostream.cpp.

References outputStream::_position, buffer, buffer_length, buffer_pos, and NEW_RESOURCE_ARRAY.


Member Data Documentation

char* stringStream::buffer [protected]

Definition at line 76 of file ostream.hpp.

Referenced by as_byteArray(), as_string(), put(), and stringStream().

int stringStream::buffer_length [protected]

Definition at line 78 of file ostream.hpp.

Referenced by put(), and stringStream().

int stringStream::buffer_pos [protected]

Definition at line 77 of file ostream.hpp.

Referenced by as_byteArray(), as_string(), put(), and stringStream().


The documentation for this class was generated from the following files:
Generated on Mon Oct 9 14:17:09 2006 for Strongtalk VM by  doxygen 1.4.7