The SWORD Project  1.9.0.svnversion
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
SWInputMethod Class Referenceabstract

#include <swinputmeth.h>

+ Inheritance diagram for SWInputMethod:
+ Collaboration diagram for SWInputMethod:

Public Member Functions

virtual void clearState ()
 
virtual int getState ()
 
 SWInputMethod ()
 
virtual int * translate (char in)=0
 
virtual ~SWInputMethod ()
 

Protected Member Functions

virtual void setState (int state)
 

Private Attributes

int state
 

Detailed Description

Definition at line 30 of file swinputmeth.h.

Constructor & Destructor Documentation

SWInputMethod::SWInputMethod ( )

Definition at line 25 of file swinputmeth.cpp.

25  {
26  state = 0;
27 }
virtual SWInputMethod::~SWInputMethod ( )
inlinevirtual

Definition at line 40 of file swinputmeth.h.

40 {}

Member Function Documentation

void SWInputMethod::clearState ( )
virtual

Definition at line 37 of file swinputmeth.cpp.

37  {
38  state = 0;
39 }
int SWInputMethod::getState ( )
virtual

Definition at line 33 of file swinputmeth.cpp.

33  {
34  return state;
35 }
void SWInputMethod::setState ( int  state)
protectedvirtual

Definition at line 29 of file swinputmeth.cpp.

29  {
30  this->state = state;
31 }
virtual int* SWInputMethod::translate ( char  in)
pure virtual

Implemented in HebrewMCIM, and NullIM.

Member Data Documentation

int SWInputMethod::state
private

Definition at line 33 of file swinputmeth.h.


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