Warning, file /include/google/protobuf/compiler/cpp/namespace_printer.h was not indexed
or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019
0020
0021
0022
0023 #ifndef GOOGLE_PROTOBUF_COMPILER_CPP_NAMESPACE_PRINTER_H__
0024 #define GOOGLE_PROTOBUF_COMPILER_CPP_NAMESPACE_PRINTER_H__
0025
0026 #include <string>
0027 #include <vector>
0028
0029 #include "google/protobuf/io/printer.h"
0030
0031
0032 #include "google/protobuf/port_def.inc"
0033
0034 namespace google {
0035 namespace protobuf {
0036 namespace compiler {
0037 namespace cpp {
0038
0039
0040 class PROTOC_EXPORT NamespacePrinter final {
0041 public:
0042 explicit NamespacePrinter(google::protobuf::io::Printer* p,
0043 std::vector<std::string> namespace_components);
0044 ~NamespacePrinter();
0045
0046 private:
0047 google::protobuf::io::Printer* const p_;
0048 const std::vector<std::string> namespace_components_;
0049 };
0050
0051 #include "google/protobuf/port_undef.inc"
0052
0053 }
0054 }
0055 }
0056 }
0057
0058 #endif