#include <ostream.hpp>
Inheritance diagram for stringStream:
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 |
Definition at line 74 of file ostream.hpp.
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.
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.
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] |
int stringStream::buffer_pos [protected] |
Definition at line 77 of file ostream.hpp.
Referenced by as_byteArray(), as_string(), put(), and stringStream().