| The Sword Project: sword::OSISVariants Class Reference | 
#include <osisvariants.h>
Inheritance diagram for sword::OSISVariants:


| Public Member Functions | |
| virtual char | processText (SWBuf &text, const SWKey *key=0, const SWModule *module=0) | 
| This is the main filter function. | |
| virtual const char * | getOptionName () | 
| gets the name of the option of this filter | |
| virtual const char * | getOptionTip () | 
| gets a short explanation of the option of this filter; it could be presented to the user in frontend programs | |
| virtual void | setOptionValue (const char *ival) | 
| sets the value of the option of this filter, e.g maybe a strong's filter mioght be set to "on" / "off" - that would mean to show or not to show the strongs in the text, see also getOptionValues() | |
| virtual const char * | getOptionValue () | 
| 
 | |
| virtual StringList | getOptionValues () | 
| returns a list of the possible option values | |
| Private Attributes | |
| char | option | 
| StringList | options | 
| Static Private Attributes | |
| static const char | primary [] | 
| static const char | secondary [] | 
| static const char | all [] | 
| static const char | optName [] | 
| static const char | optTip [] | 
Definition at line 31 of file osisvariants.h.
| virtual char sword::OSISVariants::processText | ( | SWBuf & | text, | |
| const SWKey * | key = 0, | |||
| const SWModule * | module = 0 | |||
| ) |  [virtual] | 
This is the main filter function.
| text | The text to be filtered/converted | |
| key | Current key That was used. | |
| module | Current module. | 
Implements sword::SWFilter.
| virtual const char* sword::OSISVariants::getOptionName | ( | ) |  [inline, virtual] | 
gets the name of the option of this filter
Reimplemented from sword::SWOptionFilter.
Definition at line 46 of file osisvariants.h.
| virtual const char* sword::OSISVariants::getOptionTip | ( | ) |  [inline, virtual] | 
gets a short explanation of the option of this filter; it could be presented to the user in frontend programs
Reimplemented from sword::SWOptionFilter.
Definition at line 47 of file osisvariants.h.
| virtual void sword::OSISVariants::setOptionValue | ( | const char * | ival | ) |  [virtual] | 
sets the value of the option of this filter, e.g maybe a strong's filter mioght be set to "on" / "off" - that would mean to show or not to show the strongs in the text, see also getOptionValues()
| ival | the new option value | 
Reimplemented from sword::SWOptionFilter.
| virtual StringList sword::OSISVariants::getOptionValues | ( | ) |  [inline, virtual] | 
returns a list of the possible option values
Reimplemented from sword::SWOptionFilter.
Definition at line 50 of file osisvariants.h.
| The SWORD Project; P. O. Box 2528; Tempe, AZ 85280-2528 USA |