NAME

SystemC::Netlist::Subclass - Common routines for all classes

SYNOPSIS

use SystemC::Netlist::Subclass;
package SystemC::Netlist::Something;
@ISA = qw(SystemC::Netlist::Subclass);

...

$self->warn();

DESCRIPTION

SystemC::Netlist::Subclass is used as a base class for all structures. It is mainly used so that $self->warn() and $self->error() will produce consistent results.

MEMBER FUNCTIONS

$self->warn (Text...)

Print a warning in a standard format.

$self->error (Text...)

Print an error in a standard format.

$self->exit_if_error()

Exits the program if any errors were detected.

Requests the given file be deleted if any errors are detected. Used for temporary files.

SEE ALSO

SystemC::Netlist

AUTHORS

Wilson Snyder <wsnyder@wsnyder.org>