#include <suifprinter.h>
Inheritance diagram for SuifPrinterModule:
Public Types | |
typedef void (* | print_init_fn )(SuifEnv *) |
Public Methods | |
SuifPrinterModule (SuifEnv* suif) | |
void | initialize () |
initializes the modules. More... | |
void | execute () |
executes the Module parse_command_line should be called before this method is invoked. | |
virtual Module* | clone () const |
generates a new copy of the current instance if necessary The implementor of a subclass is responsible for overriding this method if the implementation has a unique state the default implementation returns the current instance. | |
ostream& | get_default_stream () |
void | print (ostream& output, const ObjectWrapper &obj) |
void | print (const Address what, const MetaClass* type) |
void | print (ostream& output) |
void | print (const SuifObject *root) |
void | print (ostream& output, const SuifObject *root) |
void | print (ostream& output, const SuifObject* s, const MetaClass* type) |
void | print () |
void | print (ostream& output, const Address what, const MetaClass* type, int indent = 2) |
bool | print2 (ostream& output, const ObjectWrapper &obj, const LString &name = emptyLString, int _indent = 2, int deref = 0) |
void | init () |
void | set_print_all () |
void | unset_print_all () |
bool | print_all () const |
void | set_use_print_string () |
void | set_use_print_ref_string () |
void | unset_use_print_string () |
void | unset_use_print_ref_string () |
bool | use_print_string () const |
bool | use_print_ref_string () const |
String | get_print_string (const LString &meta_class_name) |
String | get_print_ref_string (const LString &meta_class_name) |
void | indent (ostream& o, int _indent) |
size_t | retrieve_tag (const ObjectWrapper &obj) |
size_t | get_tag (const ObjectWrapper &obj) |
bool | has_tag (const ObjectWrapper &obj) |
virtual void | interface_object_created (Module *producer, const LString &interface_name) |
virtual bool | start_of_object (ostream& output, const ObjectWrapper &obj,int derefs) |
You can override this function to control actions at the start of the printing of an object. More... | |
virtual void | end_of_object (ostream& output, const ObjectWrapper &obj) |
You can override this function to gain control at the end of printing an object. More... | |
Static Public Methods | |
void | print_dispatch (Module *, ostream &, const ObjectWrapper &) |
Static Public Attributes | |
LString | ClassName |
|
|
|
generates a new copy of the current instance if necessary The implementor of a subclass is responsible for overriding this method if the implementation has a unique state the default implementation returns the current instance.
Reimplemented from Module.
|
You can override this function to gain control at the end of printing an object.
Note - not called if start_of_object returned false
Reimplemented in formater.
|
executes the Module parse_command_line should be called before this method is invoked.
Reimplemented from Module.
|
|
|
|
|
|
|
|
initializes the modules.
This method must/will be called before a call to parse_command_line or execute
Reimplemented from Module.
|
Reimplemented from Module.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
You can override this function to control actions at the start of the printing of an object.
If the function returns false, no printing is performed
Reimplemented in formater.
|
|
|
|
|
|