MCPcopy Create free account
hub / github.com/cel-expr/cel-cpp / UInt32MapFieldValueAccessor

Function UInt32MapFieldValueAccessor

common/value.cc:550–567  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

548}
549
550void UInt32MapFieldValueAccessor(
551 const google::protobuf::MapValueConstRef& value,
552 const google::protobuf::Message* absl_nonnull message,
553 const google::protobuf::FieldDescriptor* absl_nonnull field,
554 const google::protobuf::DescriptorPool* absl_nonnull descriptor_pool,
555 google::protobuf::MessageFactory* absl_nonnull message_factory,
556 google::protobuf::Arena* absl_nonnull arena, Value* absl_nonnull result) {
557 ABSL_DCHECK(message != nullptr);
558 ABSL_DCHECK(field != nullptr);
559 ABSL_DCHECK(descriptor_pool != nullptr);
560 ABSL_DCHECK(message_factory != nullptr);
561 ABSL_DCHECK(arena != nullptr);
562 ABSL_DCHECK(result != nullptr);
563 ABSL_DCHECK(!field->is_repeated());
564 ABSL_DCHECK_EQ(field->cpp_type(), google::protobuf::FieldDescriptor::CPPTYPE_UINT32);
565
566 *result = UintValue(value.GetUInt32Value());
567}
568
569void BoolMapFieldValueAccessor(
570 const google::protobuf::MapValueConstRef& value,

Callers

nothing calls this directly

Calls 1

UintValueClass · 0.50

Tested by

no test coverage detected