CppPbUtils.h 488 B

12345678910111213141516171819
  1. // Generates C++ tars service interface out of Protobuf IDL.
  2. //
  3. // This is a Proto2 compiler plugin. See net/proto2/compiler/proto/plugin.proto
  4. // and net/proto2/compiler/public/plugin.h for more information on plugins.
  5. #pragma once
  6. #include <string>
  7. std::string ProtoFileBaseName(const std::string& fullName);
  8. extern const std::string kDeclaration;
  9. extern const std::string kIndent;
  10. std::string LineFeed(int indent = 0) ;
  11. std::string ToCppNamespace(const std::string& name);