Lines Matching defs:value
96 std::optional<Error> SetAttributeValue(const std::string_view &attribute, const std::string_view &value)
98 auto err = Validate(attribute, value);
103 SetFlags(attribute, value);
105 return StoreValue(attribute, value);
151 const std::string_view &value) const = 0;
153 virtual std::optional<Error> StoreValue(const std::string_view &attribute, const std::string_view &value)
161 it->second.emplace_back(value);
175 virtual void SetFlags(const std::string_view &attribute, const std::string_view &value) = 0;
179 virtual void RemoveFlags(const std::string_view &attribute, const std::string_view &value) = 0;
187 std::optional<Error> ValidateSize(const std::string_view &value) const;
255 std::optional<Error> StoreValue(const std::string_view &attribute, const std::string_view &value) override;
318 const std::string_view &value,
325 std::make_unique<ArrayValue>(component_type_.value(), std::move(values_)));
333 return type_.value() == Value::Type::ARRAY;
400 return id_.value();
436 const std::string_view &value);
437 std::optional<Metadata::Error> MeetExpIdAttribute(const std::string_view &attribute, const std::string_view &value);
439 const std::string_view &value);
441 const std::string_view &value);
443 const std::string_view &value);
445 const std::string_view &value);
548 std::optional<Error> Validate(const std::string_view &attribute, const std::string_view &value) const override;
552 void SetFlags(const std::string_view &attribute, const std::string_view &value) override;
556 void RemoveFlags(const std::string_view &attribute, const std::string_view &value) override;
571 void SetValue(const ScalarValue &value)
573 value_ = value;
582 std::optional<Error> StoreValue(const std::string_view &attribute, const std::string_view &value) override;
586 std::optional<Error> Validate(const std::string_view &attribute, const std::string_view &value) const override;
590 void SetFlags(const std::string_view &attribute, const std::string_view &value) override;
594 void RemoveFlags(const std::string_view &attribute, const std::string_view &value) override;
598 return attribute == "value";
615 std::optional<Error> Validate(const std::string_view &attribute, const std::string_view &value) const override;
619 void SetFlags(const std::string_view &attribute, const std::string_view &value) override;
623 void RemoveFlags(const std::string_view &attribute, const std::string_view &value) override;
630 std::optional<Error> Validate(const std::string_view &attribute, const std::string_view &value) const override;
634 void SetFlags(const std::string_view &attribute, const std::string_view &value) override;
638 void RemoveFlags(const std::string_view &attribute, const std::string_view &value) override;