![]() |
|
A helper class for StringMapper. More...
#include <StringMapper.h>


Public Member Functions | |
| Stringlet (const std::string &s="", bool isVariable=false) | |
| Stringlet (const Stringlet &s) | |
| Copy constructor. | |
| bool | isVariable () const |
| void | setVariable (bool isVariable=true) |
| void | setLiteral (const std::string &s) |
Protected Attributes | |
| bool | isVar |
A helper class for StringMapper.
Stringlet is a std::string that is used literally or as a variable, ie. a key pointing to a map. When a StringMapper parses a given std::string, it splits the std::string to segments containing literals and variables, in turn. The result is stored in a list.
1.9.8