#include <wvstringmask.h>
Definition at line 18 of file wvstringmask.h.
Public Member Functions | |
WvStringMask (WvStringParm s=WvString::null) | |
Create a WvStringMask out of a WvString. | |
WvStringMask (char c) | |
bool | operator[] (const char c) const |
Look up a character. | |
bool | operator[] (const int i) const |
const char | first () const |
Get the first character set into the mask. | |
void | zap () |
Clear the WvStringMask, so that all lookups return false. | |
void | set (const char c, bool value) |
Set a character 'c' to a particular truth value. | |
void | set (WvStringParm s, bool value) |
Set all characters in string 's' to a particular truth value. |
|
Create a WvStringMask out of a WvString. When looked up, characters in 's' will return true. Definition at line 12 of file wvstringmask.cc. |
|
Look up a character. This will return true if 'c' is in 'set'. Definition at line 24 of file wvstringmask.cc. |