PrintObjectClosure Class Reference

#include <printlayout.hpp>

Inheritance diagram for PrintObjectClosure:

Inheritance graph
[legend]
Collaboration diagram for PrintObjectClosure:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 PrintObjectClosure (outputStream *st)
void do_object (memOop obj)
void do_mark (markOop *m)
void do_oop (char *title, oop *o)
void do_byte (char *title, u_char *b)
void do_long (char *title, void **p)
void do_double (char *title, double *d)
void begin_indexables ()
void end_indexables ()
void do_indexable_oop (int index, oop *o)
void do_indexable_byte (int index, u_char *b)
void do_indexable_doubleByte (int index, doubleByte *b)
void do_indexable_long (int index, long *l)

Private Attributes

memOop obj
outputStreamst

Detailed Description

Definition at line 24 of file printlayout.hpp.


Constructor & Destructor Documentation

PrintObjectClosure::PrintObjectClosure ( outputStream st  ) 

Definition at line 31 of file printlayout.cpp.

References st, and std.


Member Function Documentation

void PrintObjectClosure::begin_indexables (  )  [virtual]

Reimplemented from ObjectLayoutClosure.

Definition at line 93 of file printlayout.cpp.

void PrintObjectClosure::do_byte ( char *  title,
u_char b 
) [virtual]

Reimplemented from ObjectLayoutClosure.

Definition at line 67 of file printlayout.cpp.

References outputStream::fill_to(), indent_col, outputStream::print(), outputStream::print_cr(), outputStream::sp(), st, and value_col.

Here is the call graph for this function:

void PrintObjectClosure::do_double ( char *  title,
double *  d 
) [virtual]

Reimplemented from ObjectLayoutClosure.

Definition at line 85 of file printlayout.cpp.

References outputStream::fill_to(), indent_col, outputStream::print(), outputStream::print_cr(), outputStream::sp(), st, and value_col.

Here is the call graph for this function:

void PrintObjectClosure::do_indexable_byte ( int  index,
u_char b 
) [virtual]

Reimplemented from ObjectLayoutClosure.

Definition at line 109 of file printlayout.cpp.

References outputStream::fill_to(), indent_col, outputStream::print(), outputStream::print_cr(), outputStream::sp(), st, and value_col.

Here is the call graph for this function:

void PrintObjectClosure::do_indexable_doubleByte ( int  index,
doubleByte b 
) [virtual]

Reimplemented from ObjectLayoutClosure.

Definition at line 120 of file printlayout.cpp.

References outputStream::fill_to(), indent_col, outputStream::print(), outputStream::print_cr(), outputStream::sp(), st, and value_col.

Here is the call graph for this function:

void PrintObjectClosure::do_indexable_long ( int  index,
long *  l 
) [virtual]

Reimplemented from ObjectLayoutClosure.

Definition at line 131 of file printlayout.cpp.

References outputStream::fill_to(), indent_col, outputStream::print(), outputStream::print_cr(), outputStream::sp(), st, and value_col.

Here is the call graph for this function:

void PrintObjectClosure::do_indexable_oop ( int  index,
oop o 
) [virtual]

Reimplemented from ObjectLayoutClosure.

Definition at line 99 of file printlayout.cpp.

References outputStream::cr(), outputStream::fill_to(), indent_col, outputStream::print(), outputStream::sp(), st, and value_col.

Here is the call graph for this function:

void PrintObjectClosure::do_long ( char *  title,
void **  p 
) [virtual]

Reimplemented from ObjectLayoutClosure.

Definition at line 77 of file printlayout.cpp.

References outputStream::fill_to(), indent_col, outputStream::print(), outputStream::print_cr(), outputStream::sp(), st, and value_col.

Here is the call graph for this function:

void PrintObjectClosure::do_mark ( markOop m  )  [virtual]

Reimplemented from ObjectLayoutClosure.

Definition at line 44 of file printlayout.cpp.

References outputStream::cr(), outputStream::fill_to(), indent_col, outputStream::print(), outputStream::sp(), st, and value_col.

Here is the call graph for this function:

void PrintObjectClosure::do_object ( memOop  obj  ) 

Definition at line 35 of file printlayout.cpp.

References outputStream::cr(), obj, outputStream::print(), oopDesc::print_value(), memOopDesc::size(), st, and WizardMode.

Referenced by memOopKlass::oop_print_on().

Here is the call graph for this function:

void PrintObjectClosure::do_oop ( char *  title,
oop o 
) [virtual]

Reimplemented from ObjectLayoutClosure.

Definition at line 53 of file printlayout.cpp.

References memOopDesc::addr(), memOopDesc::blueprint(), outputStream::cr(), outputStream::fill_to(), indent_col, Klass::inst_var_name_at(), obj, outputStream::print(), symbolOopDesc::print_symbol_on(), outputStream::sp(), st, and value_col.

Here is the call graph for this function:

void PrintObjectClosure::end_indexables (  )  [virtual]

Reimplemented from ObjectLayoutClosure.

Definition at line 96 of file printlayout.cpp.


Member Data Documentation

memOop PrintObjectClosure::obj [private]

Definition at line 26 of file printlayout.hpp.

Referenced by do_object(), and do_oop().

outputStream* PrintObjectClosure::st [private]

Definition at line 27 of file printlayout.hpp.

Referenced by do_byte(), do_double(), do_indexable_byte(), do_indexable_doubleByte(), do_indexable_long(), do_indexable_oop(), do_long(), do_mark(), do_object(), do_oop(), and PrintObjectClosure().


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