SWDisplay Class Reference

#include <swdisp.h>

Inheritance diagram for SWDisplay:
Inheritance graph
Collaboration diagram for SWDisplay:
Collaboration graph

List of all members.

Public Member Functions

SWDEPRECATED char Display (SWModule &imodule)
virtual char display (SWModule &imodule)=0
const SWClassgetClass () const
 SWDisplay ()
virtual ~SWDisplay ()

Protected Attributes


Static Private Attributes

static SWClass classdef

Detailed Description

swdisp is the basis for all types of displays (e.g. raw textout, curses, xwindow, etc.)

Definition at line 36 of file swdisp.h.

Constructor & Destructor Documentation

SWDisplay::SWDisplay (  )  [inline]

Definition at line 39 of file swdisp.h.

00039 { myclass = &classdef; };

virtual SWDisplay::~SWDisplay (  )  [inline, virtual]

Definition at line 40 of file swdisp.h.

00040 {};

Member Function Documentation

SWDEPRECATED char SWDisplay::Display ( SWModule imodule  )  [inline]

Definition at line 50 of file swdisp.h.

00050 { return display(imodule); }

virtual char SWDisplay::display ( SWModule imodule  )  [pure virtual]

casts a module to a character pointer and displays it to raw output (overriden for different display types and module types if necessary)

imodule module to display
error status

Implemented in SWModule::StdOutDisplay.

const SWClass* SWObject::getClass (  )  const [inline, inherited]

Use this to get the class definition and inheritance order.

The class definition of this object

Definition at line 59 of file swobject.h.

00059                                      {
00060         return myclass;
00061     }

Member Data Documentation

SWClass SWDisplay::classdef [static, private]

Definition at line 37 of file swdisp.h.

SWClass* SWObject::myclass [protected, inherited]

Definition at line 53 of file swobject.h.

The documentation for this class was generated from the following files:

Generated on 18 Mar 2013 for The SWORD Project by  doxygen 1.6.1