Go to the documentation of this file. 1 #ifndef ERA_TUE_CONFIGURATION_VARIANT_H_
2 #define ERA_TUE_CONFIGURATION_VARIANT_H_
69 case 'i': out << v.
i_;
71 case 'd': out << v.
d_;
73 case 's': out << v.
s_;
Variant(const std::string &s)
bool getValue(int &v) const
bool checkAndGet(const T &v, char type, T &out) const
bool getValue(float &v) const
bool getValue(bool &v) const
bool getValue(double &v) const
bool getValue(std::string &v) const
friend std::ostream & operator<<(std::ostream &out, const Variant &v)