Lines Matching refs:value_
23 String(const std::string& str) : value_(str), is_null_(false) {}
26 value_ = chars;
29 : value_(chars, num_chars),
33 String(const char chars[N]) : value_(chars, N-1), is_null_(false) {}
46 value_ = str;
53 value_ = chars;
55 value_.clear();
61 value_.clear();
67 size_t size() const { return value_.size(); }
69 const char* data() const { return value_.data(); }
71 const char& at(size_t offset) const { return value_.at(offset); }
72 const char& operator[](size_t offset) const { return value_[offset]; }
74 const std::string& get() const { return value_; }
75 operator const std::string&() const { return value_; }
79 value_.swap(other->value_);
84 value_.swap(*other);
91 operator Testable() const { return is_null_ ? 0 : &String::value_; }
94 std::string value_;