VISH
0.2
|
A list of strings with one of them selected. More...
#include </home/werner/origo/vish/ocean/shrimp/VStringList.hpp>
A list of strings with one of them selected.
Note that the selected string persists even when the respective entry in the list has been removed. This behavior might be changed in the future.
ComputeGridStreamLines.cpp, and ComputeMultiStreamLines.cpp.
bool Wizt::StringSelection::select | ( | const string & | what | ) |
Select a specific entry of the string list.
The selection is only accepted if found in the string list, otherwise false is returned.
bool Wizt::StringSelection::tryselect | ( | const string & | what | ) |
A variation of the select() function, which selects the first entry of the string list if the specified string is not part of the list.