sword::SWCom Class Reference

The basis for all commentary modules. More...

#include <swcom.h>

Inheritance diagram for sword::SWCom:

Inheritance graph
[legend]
Collaboration diagram for sword::SWCom:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 SWCom (const char *imodname=0, const char *imoddesc=0, SWDisplay *idisp=0, char enc=ENC_UNKNOWN, char dir=DIRECTION_LTR, char mark=FMT_UNKNOWN, const char *ilang=0)
 Initializes data for instance of SWCom.
virtual SWKeyCreateKey ()
 Allocates a key of specific type for module The different reimplementatiosn of SWModule (e.g.
virtual long Index () const
virtual long Index (long iindex)
 operator const char * ()
 operator SWKey & ()
 operator SWKey * ()
SWModuleoperator<< (const char *inbuf)
SWModuleoperator<< (const SWKey *sourceKey)
SWModuleoperator-= (int steps)
SWModuleoperator+= (int steps)
SWModuleoperator++ (int)
SWModuleoperator-- (int)
SWModuleoperator= (SW_POSITION p)

Protected Member Functions

VerseKeygetVerseKey () const

Private Attributes

VerseKeytmpVK

Detailed Description

The basis for all commentary modules.

Definition at line 37 of file swcom.h.


Member Function Documentation

virtual SWKey* sword::SWCom::CreateKey (  )  [virtual]

Allocates a key of specific type for module The different reimplementatiosn of SWModule (e.g.

SWText) support SWKey implementations, which support special. This functions returns a SWKey object which works with the current implementation of SWModule. For example for the SWText class it returns a VerseKey object.

See also:
VerseKey, ListKey, SWText, SWLD, SWCom
Returns:
pointer to allocated key

Reimplemented from sword::SWModule.


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