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

Function UnsafeParsedMapFieldValue

common/values/parsed_map_field_value.h:229–233  ·  view source on GitHub ↗

Creates a `ParsedMapFieldValue` without specifying a managing arena. The message must outlive the `ParsedMapFieldValue` or any value that might be derived from it. Prefer to use `cel::Value::WrapMapFieldValueUnsafe()`.

Source from the content-addressed store, hash-verified

227// might be derived from it. Prefer to use
228// `cel::Value::WrapMapFieldValueUnsafe()`.
229inline ParsedMapFieldValue UnsafeParsedMapFieldValue(
230 const google::protobuf::Message* absl_nonnull message,
231 const google::protobuf::FieldDescriptor* absl_nonnull field) {
232 return ParsedMapFieldValue(message, field);
233}
234
235inline std::ostream& operator<<(std::ostream& out,
236 const ParsedMapFieldValue& value) {

Callers 1

WrapFieldImplFunction · 0.85

Calls 1

ParsedMapFieldValueClass · 0.70

Tested by

no test coverage detected