VISH  0.2
Public Member Functions
Wizt::VEnumSelection Class Reference

Container to hold a selection of strings with one of them selected. More...

#include </home/werner/origo/vish/ocean/shrimp/VEnum.hpp>

List of all members.

Public Member Functions


Detailed Description

Container to hold a selection of strings with one of them selected.


Member Function Documentation

bool Wizt::VEnumSelection::fromString ( const string s)

Assign entire enum range and selection from string.

The string is supposed to be of the form

           X{X}{Y}{Z}

Where the first string outside of the {} is the selected value. Verify this function.

string Wizt::VEnumSelection::toString ( ) const

Create an encoding of the entire enum range and selection.

The resulting string will be all possible values of this enum enclosed in {} parenthesis, with the currently selected value leading, such as in:

           X{X}{Y}{Z}

Verify this function.


The documentation for this class was generated from the following files: