The SWORD Project  1.9.0.svnversion
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
SWModule::StdOutDisplay Class Reference
+ Inheritance diagram for SWModule::StdOutDisplay:
+ Collaboration diagram for SWModule::StdOutDisplay:

Public Member Functions

SWDEPRECATED char Display (SWModule &imodule)
 
const SWClassgetClass () const
 

Protected Attributes

const SWClassmyClass
 

Private Member Functions

char display (SWModule &imodule)
 

Detailed Description

Definition at line 104 of file swmodule.h.

Member Function Documentation

SWDEPRECATED char SWDisplay::Display ( SWModule imodule)
inlineinherited
Deprecated:
Use display

Definition at line 54 of file swdisp.h.

54 { return display(imodule); }
virtual char display(SWModule &imodule)=0
char SWModule::StdOutDisplay::display ( SWModule imodule)
inlineprivatevirtual

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

Parameters
imodulemodule to display
Returns
error status

Implements SWDisplay.

Definition at line 105 of file swmodule.h.

105  {
106 #ifndef _WIN32_WCE
107  std::cout << imodule.renderText();
108 #endif
109  return 0;
110  }
SWBuf renderText(const char *buf, int len=-1, bool render=true) const
Definition: swmodule.cpp:1038
const SWClass* SWObject::getClass ( ) const
inlineinherited

Use this to get the class definition and inheritance order.

Returns
The class definition of this object

Definition at line 63 of file swobject.h.

63  {
64  return myClass;
65  }
const SWClass * myClass
Definition: swobject.h:55

Member Data Documentation

const SWClass* SWObject::myClass
protectedinherited

Definition at line 55 of file swobject.h.


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