sword::SWGenBook Class Reference

The basis for all Book modules. More...

#include <swgenbook.h>

Inheritance diagram for sword::SWGenBook:

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

Collaboration graph
[legend]
List of all members.

Public Member Functions

 SWGenBook (const char *imodname=0, const char *imoddesc=0, SWDisplay *idisp=0, char encoding=ENC_UNKNOWN, char dir=DIRECTION_LTR, char markup=FMT_UNKNOWN, const char *ilang=0)
 Initializes data for instance of SWGenBook.
virtual SWKeyCreateKey ()=0
 Allocates a key of specific type for module The different reimplementatiosn of SWModule (e.g.
 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 Attributes

char * entkeytxt

Detailed Description

The basis for all Book modules.

Definition at line 33 of file swgenbook.h.


Member Function Documentation

virtual SWKey* sword::SWGenBook::CreateKey (  )  [pure 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.

Implemented in sword::RawGenBook.


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