Chapter 26. Configuration Sections

The WvConfigSection class.

const char *WvConfigSection::get(WvStringParm entry, const char *def_val)

gets the value of "entry", return "def_val" if not set.

void WvConfigSection::set(WvStringParm entry, WvStringParm value)

sets the value of "entry". If the entry doesn't exist, add it.

void WvConfigSection::quick_set(WvStringParm entry, WvStringParm value)

add "entry" to the end of the section, assuming no duplicates exist.

void WvConfigSection::dump(WvStream &fp)

prints out all entries available in the section and their corresponding values.