Lines Matching refs:Metadata
27 std::optional<Metadata::Error> Metadata::ValidateSize(const std::string_view &value) const
112 static Expected<T, Metadata::Error> ConvertFromString(const std::string_view &value)
120 return Unexpected(Metadata::Error("Excepted integer literal", Metadata::Error::Type::INVALID_VALUE));
125 return Unexpected(Metadata::Error("Value is out of range", Metadata::Error::Type::INVALID_VALUE));
132 static Expected<ScalarValue, Metadata::Error> CreatePrimitiveValue(const std::string_view &value,
142 return Unexpected(Metadata::Error("Value is out of range", Metadata::Error::Type::INVALID_VALUE));
148 static Expected<ScalarValue, Metadata::Error> CreateValue(
201 return Unexpected(Metadata::Error("Unknown annotation id", Metadata::Error::Type::INVALID_VALUE));
215 std::optional<Metadata::Error> AnnotationMetadata::AnnotationElementBuilder::AddValue(
237 std::optional<Metadata::Error> AnnotationMetadata::Store(const std::string_view &attribute)
249 return Metadata::Store(attribute);
252 std::optional<Metadata::Error> AnnotationMetadata::MeetExpRecordAttribute(const std::string_view &attribute,
266 std::optional<Metadata::Error> AnnotationMetadata::MeetExpIdAttribute(const std::string_view &attribute,
286 std::optional<Metadata::Error> AnnotationMetadata::MeetExpElementNameAttribute(const std::string_view &attribute,
306 std::optional<Metadata::Error> AnnotationMetadata::MeetExpElementTypeAttribute(
326 std::optional<Metadata::Error> AnnotationMetadata::MeetExpElementArrayComponentTypeAttribute(
351 std::optional<Metadata::Error> AnnotationMetadata::MeetExpElementValueAttribute(const std::string_view &attribute,
381 std::optional<Metadata::Error> AnnotationMetadata::StoreValue(const std::string_view &attribute,
384 auto err = Metadata::StoreValue(attribute, value);
426 std::optional<Metadata::Error> AnnotationMetadata::ValidateData()
436 return Metadata::ValidateData();
479 std::optional<Metadata::Error> FieldMetadata::StoreValue(const std::string_view &attribute,