|
| StringSwitch (const std::string &s) |
|
| StringSwitch (const char *s) |
|
template<unsigned N> |
StringSwitch & | Case (const char(&s)[N], const T &Value) |
|
StringSwitch & | Case (const std::string &s, const T &Value) |
|
template<unsigned N> |
StringSwitch & | EndsWith (const char(&s)[N], const T &Value) |
|
template<unsigned N> |
StringSwitch & | StartsWith (const char(&s)[N], const T &Value) |
|
template<unsigned N0, unsigned N1> |
StringSwitch & | Cases (const char(&S0)[N0], const char(&S1)[N1], const T &Value) |
|
template<unsigned N0, unsigned N1, unsigned N2> |
StringSwitch & | Cases (const char(&S0)[N0], const char(&S1)[N1], const char(&S2)[N2], const T &Value) |
|
template<unsigned N0, unsigned N1, unsigned N2, unsigned N3> |
StringSwitch & | Cases (const char(&S0)[N0], const char(&S1)[N1], const char(&S2)[N2], const char(&S3)[N3], const T &Value) |
|
template<unsigned N0, unsigned N1, unsigned N2, unsigned N3, unsigned N4> |
StringSwitch & | Cases (const char(&S0)[N0], const char(&S1)[N1], const char(&S2)[N2], const char(&S3)[N3], const char(&S4)[N4], const T &Value) |
|
R | Default (const T &Value) const |
|
template<typename Ex , typename ExP1 > |
R | Throw (const ExP1 &p1) const |
|
template<typename Ex , typename ExP1 , typename ExP2 > |
R | Throw (const ExP1 &p1, const ExP2 &p2) const |
|
template<typename Ex , typename ExP1 , typename ExP2 , typename ExP3 > |
R | Throw (const ExP1 &p1, const ExP2 &p2, const ExP3 &p3) const |
|
| operator R () const |
|
template<typename T, typename R = T>
class ml::StringSwitch< T, R >
Definition at line 51 of file mlStringSwitch.h.
template<typename T , typename R = T>
template<unsigned N0, unsigned N1, unsigned N2, unsigned N3, unsigned N4>
StringSwitch & ml::StringSwitch< T, R >::Cases |
( |
const char(&) | S0[N0], |
|
|
const char(&) | S1[N1], |
|
|
const char(&) | S2[N2], |
|
|
const char(&) | S3[N3], |
|
|
const char(&) | S4[N4], |
|
|
const T & | Value ) |
|
inline |