Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-31 10:11:56

0001 // Protocol Buffers - Google's data interchange format
0002 // Copyright 2022 Google Inc.  All rights reserved.
0003 //
0004 // Use of this source code is governed by a BSD-style
0005 // license that can be found in the LICENSE file or at
0006 // https://developers.google.com/open-source/licenses/bsd
0007 
0008 #ifndef GOOGLE_PROTOBUF_COMPILER_CPP_TRACKER_H__
0009 #define GOOGLE_PROTOBUF_COMPILER_CPP_TRACKER_H__
0010 
0011 #include <vector>
0012 
0013 #include "google/protobuf/compiler/cpp/options.h"
0014 #include "google/protobuf/descriptor.h"
0015 #include "google/protobuf/io/printer.h"
0016 
0017 namespace google {
0018 namespace protobuf {
0019 namespace compiler {
0020 namespace cpp {
0021 
0022 // Generates printer substitutions for message-level tracker callbacks.
0023 std::vector<google::protobuf::io::Printer::Sub> MakeTrackerCalls(
0024     const google::protobuf::Descriptor* message, const Options& opts);
0025 
0026 // Generates printer substitutions for field-specific tracker callbacks.
0027 std::vector<google::protobuf::io::Printer::Sub> MakeTrackerCalls(
0028     const google::protobuf::FieldDescriptor* field, const Options& opts);
0029 
0030 }  // namespace cpp
0031 }  // namespace compiler
0032 }  // namespace protobuf
0033 }  // namespace google
0034 
0035 #endif  // GOOGLE_PROTOBUF_COMPILER_CPP_TRACKER_H__