Lines Matching defs:string
11 #include <string>
27 virtual std::string getTypeName() const = 0;
41 virtual std::string getTypeName() const { return "integer"; }
73 virtual std::string getTypeName() const { return "sized integer"; }
95 * \brief String value.
97 * Simply wraps the STL std::string class.
103 StringValue(const std::string & value) : m_value(value) {}
104 StringValue(const std::string * value) : m_value(*value) {}
107 virtual std::string getTypeName() const { return "string"; }
111 operator const std::string & () const { return m_value; }
112 operator std::string & () { return m_value; }
113 operator const std::string * () { return &m_value; }
114 operator std::string * () { return &m_value; }
117 StringValue & operator = (const std::string & value) { m_value = value; return *this; }
121 std::string m_value;
132 virtual std::string getTypeName() const { return "binary"; }