Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members  

CPrintStyleModule Class Reference

#include <cprint_style.h>

Inheritance diagram for CPrintStyleModule:

Module List of all members.

Public Methods

 CPrintStyleModule (SuifEnv *env, const LString &name = "cprint")
 ~CPrintStyleModule ()
void initialize ()
 initializes the modules. More...

Moduleclone () 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.

String print_to_string (const SuifObject *obj)
void set_print_function (const LString &class_name, string_gen_fn fn)

Static Public Methods

void print_dispatch (Module *module, ostream &str, const ObjectWrapper &obj)
LString get_class_name ()


Detailed Description


Constructor & Destructor Documentation

CPrintStyleModule::CPrintStyleModule ( SuifEnv * s,
const LString & name = "cprint")

CPrintStyleModule::~CPrintStyleModule ()


Member Function Documentation

Module * CPrintStyleModule::clone ( void) const [virtual]

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.

LString CPrintStyleModule::get_class_name () [static]

void CPrintStyleModule::initialize ( void) [virtual]

initializes the modules.

This method must/will be called before a call to parse_command_line or execute

Reimplemented from Module.

void CPrintStyleModule::print_dispatch ( Module * module,
ostream & str,
const ObjectWrapper & obj) [static]

String CPrintStyleModule::print_to_string ( const SuifObject * obj)

void CPrintStyleModule::set_print_function ( const LString & class_name,
string_gen_fn fn)


The documentation for this class was generated from the following files:
Generated at Mon Jul 31 13:43:03 2000 for NCI SUIF by doxygen 1.1.2 written by Dimitri van Heesch, © 1997-2000