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

Function UInt64MapFieldValueAccessor

common/value.cc:512–529  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

510}
511
512void UInt64MapFieldValueAccessor(
513 const google::protobuf::MapValueConstRef& value,
514 const google::protobuf::Message* absl_nonnull message,
515 const google::protobuf::FieldDescriptor* absl_nonnull field,
516 const google::protobuf::DescriptorPool* absl_nonnull descriptor_pool,
517 google::protobuf::MessageFactory* absl_nonnull message_factory,
518 google::protobuf::Arena* absl_nonnull arena, Value* absl_nonnull result) {
519 ABSL_DCHECK(message != nullptr);
520 ABSL_DCHECK(field != nullptr);
521 ABSL_DCHECK(descriptor_pool != nullptr);
522 ABSL_DCHECK(message_factory != nullptr);
523 ABSL_DCHECK(arena != nullptr);
524 ABSL_DCHECK(result != nullptr);
525 ABSL_DCHECK(!field->is_repeated());
526 ABSL_DCHECK_EQ(field->cpp_type(), google::protobuf::FieldDescriptor::CPPTYPE_UINT64);
527
528 *result = UintValue(value.GetUInt64Value());
529}
530
531void Int32MapFieldValueAccessor(
532 const google::protobuf::MapValueConstRef& value,

Callers

nothing calls this directly

Calls 1

UintValueClass · 0.50

Tested by

no test coverage detected