72 StringWrapper<T> & operator=(
const char *s){
77 StringWrapper<T> & operator=(
char c){
78 std::string::operator=(c);
83 template <
typename T2>
89 template <
typename T2>
97 void set(
const std::string & s=
""){
98 std::string::assign(s);
102 void set(
const StringWrapper & e){
103 std::string::assign(e);
107 void set(
const char *s){
108 std::string::assign(s);
127 bool operator==(
const T & x){
static void convert(const T1 &src, T2 &dst)
General case: dispatch to Converter<T1> traits.
Definition Convert.h:130
String-like object easily supporting conversion from other types, like Enum values.
Definition StringWrapper.h:51
StringWrapper(const T &x)
All the other constructors, including default constructor.
Definition StringWrapper.h:62
StringWrapper< T > & operator=(const StringWrapper< T2 > &s)
Copy string of another StringWrapper.
Definition StringWrapper.h:84
void set(const T &x)
Set the value from an other, user-defined dictionary.
Definition StringWrapper.h:121
Definition DataSelector.cpp:1277