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

Method GetFieldByName

common/value.h:2733–2747  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2731
2732template <typename Base>
2733absl::StatusOr<Value> StructValueMixin<Base>::GetFieldByName(
2734 absl::string_view name,
2735 const google::protobuf::DescriptorPool* absl_nonnull descriptor_pool,
2736 google::protobuf::MessageFactory* absl_nonnull message_factory,
2737 google::protobuf::Arena* absl_nonnull arena) const {
2738 ABSL_DCHECK(descriptor_pool != nullptr);
2739 ABSL_DCHECK(message_factory != nullptr);
2740 ABSL_DCHECK(arena != nullptr);
2741
2742 Value result;
2743 CEL_RETURN_IF_ERROR(static_cast<const Base*>(this)->GetFieldByName(
2744 name, ProtoWrapperTypeOptions::kUnsetNull, descriptor_pool,
2745 message_factory, arena, &result));
2746 return result;
2747}
2748
2749template <typename Base>
2750absl::StatusOr<Value> StructValueMixin<Base>::GetFieldByName(

Callers 6

EvaluateMethod · 0.45
PerformSelectMethod · 0.45
PerformOptionalSelectMethod · 0.45
value_testing.hFile · 0.45
ApplyQualifierFunction · 0.45
TEST_FFunction · 0.45

Calls

no outgoing calls

Tested by 1

TEST_FFunction · 0.36