10 #include "wvstringmask.h" 37 memset(_set, 0,
sizeof(
bool) *
sizeof(_set));
46 _set[unsigned(c)] = value;
53 const char *c = s.
cstr();
60 _set[unsigned(*c)] = value;
A WvFastString acts exactly like a WvString, but can take (const char *) strings without needing to a...
void set(const char c, bool value)
Set a character 'c' to a particular truth value.
const char first() const
Get the first character set into the mask.
bool isnull() const
returns true if this string is null
const char * cstr() const
return a (const char *) for this string.
bool operator[](const char c) const
Look up a character.
WvStringMask(WvStringParm s=WvString::null)
Create a WvStringMask out of a WvString.
void zap()
Clear the WvStringMask, so that all lookups return false.