Home | History | Annotate | Download | only in common

Lines Matching defs:const

27 	virtual std::string getTypeName() const = 0;
28 virtual size_t getSize() const = 0;
39 IntegerValue(const IntegerValue & other) : m_value(other.m_value) {}
41 virtual std::string getTypeName() const { return "integer"; }
42 virtual size_t getSize() const { return sizeof(m_value); }
44 inline uint32_t getValue() const { return m_value; }
46 inline operator uint32_t () const { return m_value; }
71 SizedIntegerValue(const SizedIntegerValue & other) : IntegerValue(other), m_size(other.m_size) {}
73 virtual std::string getTypeName() const { return "sized integer"; }
74 virtual size_t getSize() const;
76 inline int_size_t getWordSize() const { return m_size; }
80 uint32_t getWordSizeMask() const;
103 StringValue(const std::string & value) : m_value(value) {}
104 StringValue(const std::string * value) : m_value(*value) {}
105 StringValue(const StringValue & other) : m_value(other.m_value) {}
107 virtual std::string getTypeName() const { return "string"; }
108 virtual size_t getSize() const { return m_value.size(); }
110 operator const char * () const { return m_value.c_str(); }
111 operator const std::string & () const { return m_value; }
113 operator const std::string * () { return &m_value; }
116 StringValue & operator = (const StringValue & other) { m_value = other.m_value; return *this; }
117 StringValue & operator = (const std::string & value) { m_value = value; return *this; }
118 StringValue & operator = (const char * value) { m_value = value; return *this; }
132 virtual std::string getTypeName() const { return "binary"; }
133 virtual size_t getSize() const { return getLength(); }