Warning, file /include/google/protobuf/compiler/cpp/message_layout_helper.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 #ifndef GOOGLE_PROTOBUF_COMPILER_CPP_MESSAGE_LAYOUT_HELPER_H__
0013 #define GOOGLE_PROTOBUF_COMPILER_CPP_MESSAGE_LAYOUT_HELPER_H__
0014
0015 #include "google/protobuf/compiler/cpp/options.h"
0016 #include "google/protobuf/descriptor.h"
0017
0018 namespace google {
0019 namespace protobuf {
0020 namespace compiler {
0021 namespace cpp {
0022
0023 class MessageSCCAnalyzer;
0024
0025
0026
0027 class MessageLayoutHelper {
0028 public:
0029 virtual ~MessageLayoutHelper() {}
0030
0031 virtual void OptimizeLayout(std::vector<const FieldDescriptor*>* fields,
0032 const Options& options,
0033 MessageSCCAnalyzer* scc_analyzer) = 0;
0034 };
0035
0036 }
0037 }
0038 }
0039 }
0040
0041 #endif