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 20 matching lines...) Expand all Loading... |
31 // Author: kenton@google.com (Kenton Varda) | 31 // Author: kenton@google.com (Kenton Varda) |
32 // Based on original Protocol Buffers design by | 32 // Based on original Protocol Buffers design by |
33 // Sanjay Ghemawat, Jeff Dean, and others. | 33 // Sanjay Ghemawat, Jeff Dean, and others. |
34 | 34 |
35 #include <algorithm> | 35 #include <algorithm> |
36 #include <google/protobuf/stubs/hash.h> | 36 #include <google/protobuf/stubs/hash.h> |
37 #include <limits> | 37 #include <limits> |
38 #include <vector> | 38 #include <vector> |
39 | 39 |
40 #include <google/protobuf/compiler/csharp/csharp_helpers.h> | 40 #include <google/protobuf/compiler/csharp/csharp_helpers.h> |
41 #include <google/protobuf/compiler/csharp/csharp_names.h> | |
42 #include <google/protobuf/descriptor.pb.h> | 41 #include <google/protobuf/descriptor.pb.h> |
43 #include <google/protobuf/io/printer.h> | 42 #include <google/protobuf/io/printer.h> |
44 #include <google/protobuf/wire_format.h> | 43 #include <google/protobuf/wire_format.h> |
45 #include <google/protobuf/stubs/strutil.h> | 44 #include <google/protobuf/stubs/strutil.h> |
46 #include <google/protobuf/stubs/substitute.h> | 45 #include <google/protobuf/stubs/substitute.h> |
47 | 46 |
48 #include <google/protobuf/compiler/csharp/csharp_field_base.h> | 47 #include <google/protobuf/compiler/csharp/csharp_field_base.h> |
49 #include <google/protobuf/compiler/csharp/csharp_enum_field.h> | 48 #include <google/protobuf/compiler/csharp/csharp_enum_field.h> |
50 #include <google/protobuf/compiler/csharp/csharp_map_field.h> | 49 #include <google/protobuf/compiler/csharp/csharp_map_field.h> |
51 #include <google/protobuf/compiler/csharp/csharp_message_field.h> | 50 #include <google/protobuf/compiler/csharp/csharp_message_field.h> |
(...skipping 446 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
498 return new PrimitiveFieldGenerator(descriptor, fieldOrdinal, options); | 497 return new PrimitiveFieldGenerator(descriptor, fieldOrdinal, options); |
499 } | 498 } |
500 } | 499 } |
501 } | 500 } |
502 } | 501 } |
503 | 502 |
504 } // namespace csharp | 503 } // namespace csharp |
505 } // namespace compiler | 504 } // namespace compiler |
506 } // namespace protobuf | 505 } // namespace protobuf |
507 } // namespace google | 506 } // namespace google |
OLD | NEW |