1
/******************************************************************************
2
* swdisp.cpp - code for base class 'swdisp'. swdisp is the basis for all
3
* types of displays (e.g. raw textout, curses, xwindow, etc.)
12
static const char *classes[] = {"SWDisplay", "SWObject", 0};
13
SWClass SWDisplay::classdef(classes);
15
/******************************************************************************
16
* SWDisplay::Display - casts a module to a character pointer and displays it to
17
* raw output (overriden for different display types and
18
* module types if necessary)
20
* ENT: imodule - module to display
25
char SWDisplay::Display(SWModule &imodule)
27
std::cout << (const char *)imodule;