Loading...
Searching...
No Matches
Public Member Functions | List of all members
StringWrapper< T > Class Template Reference

String-like object easily supporting conversion from other types, like Enum values. More...

#include <StringWrapper.h>

Inheritance diagram for StringWrapper< T >:
Inheritance graph
[legend]
Collaboration diagram for StringWrapper< T >:
Collaboration graph
[legend]

Public Member Functions

 StringWrapper (const T &x)
 All the other constructors, including default constructor.
 
StringWrapper< T > & operator= (const std::string &s)
 
StringWrapper< T > & operator= (const char *s)
 
StringWrapper< T > & operator= (char c)
 
template<typename T2 >
StringWrapper< T > & operator= (const StringWrapper< T2 > &s)
 Copy string of another StringWrapper.
 
template<typename T2 >
StringWrapper< T > & operator= (const T2 &x)
 
void set (const std::string &s="")
 
void set (const StringWrapper &e)
 
void set (const char *s)
 
void set (const T &x)
 Set the value from an other, user-defined dictionary.
 
bool operator== (const T &x)
 

Detailed Description

template<typename T>
class drain::StringWrapper< T >

String-like object easily supporting conversion from other types, like Enum values.

See also
SelectorXML
StringWrapper<PseudoClassCSS>

Member Function Documentation

◆ set()

template<typename T >
void set ( const T &  x)
inline

Set the value from an other, user-defined dictionary.

  • The enum dict must be defined.

Loose template: assumes T2 can be converted to T


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