OLD | NEW |
1 // Protocol Buffers - Google's data interchange format | 1 // Protocol Buffers - Google's data interchange format |
2 // Copyright 2008 Google Inc. All rights reserved. | 2 // Copyright 2008 Google Inc. All rights reserved. |
3 // https://developers.google.com/protocol-buffers/ | 3 // https://developers.google.com/protocol-buffers/ |
4 // | 4 // |
5 // Redistribution and use in source and binary forms, with or without | 5 // Redistribution and use in source and binary forms, with or without |
6 // modification, are permitted provided that the following conditions are | 6 // modification, are permitted provided that the following conditions are |
7 // met: | 7 // met: |
8 // | 8 // |
9 // * Redistributions of source code must retain the above copyright | 9 // * Redistributions of source code must retain the above copyright |
10 // notice, this list of conditions and the following disclaimer. | 10 // notice, this list of conditions and the following disclaimer. |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
59 void GenerateSerializationCode(io::Printer* printer) const; | 59 void GenerateSerializationCode(io::Printer* printer) const; |
60 void GenerateSerializedSizeCode(io::Printer* printer) const; | 60 void GenerateSerializedSizeCode(io::Printer* printer) const; |
61 void GenerateFieldBuilderInitializationCode(io::Printer* printer) const; | 61 void GenerateFieldBuilderInitializationCode(io::Printer* printer) const; |
62 void GenerateEqualsCode(io::Printer* printer) const; | 62 void GenerateEqualsCode(io::Printer* printer) const; |
63 void GenerateHashCode(io::Printer* printer) const; | 63 void GenerateHashCode(io::Printer* printer) const; |
64 | 64 |
65 string GetBoxedType() const; | 65 string GetBoxedType() const; |
66 | 66 |
67 private: | 67 private: |
68 const FieldDescriptor* descriptor_; | 68 const FieldDescriptor* descriptor_; |
69 map<string, string> variables_; | 69 std::map<string, string> variables_; |
70 ClassNameResolver* name_resolver_; | 70 ClassNameResolver* name_resolver_; |
71 }; | 71 }; |
72 | 72 |
73 } // namespace java | 73 } // namespace java |
74 } // namespace compiler | 74 } // namespace compiler |
75 } // namespace protobuf | 75 } // namespace protobuf |
76 | 76 |
77 } // namespace google | 77 } // namespace google |
78 #endif // GOOGLE_PROTOBUF_COMPILER_JAVA_MAP_FIELD_LITE_H__ | 78 #endif // GOOGLE_PROTOBUF_COMPILER_JAVA_MAP_FIELD_LITE_H__ |
OLD | NEW |