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 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
78 | 78 |
79 private: | 79 private: |
80 struct FileInfo { | 80 struct FileInfo { |
81 string name; | 81 string name; |
82 uint32 offset; | 82 uint32 offset; |
83 uint32 size; | 83 uint32 size; |
84 uint32 crc32; | 84 uint32 crc32; |
85 }; | 85 }; |
86 | 86 |
87 io::ZeroCopyOutputStream* raw_output_; | 87 io::ZeroCopyOutputStream* raw_output_; |
88 std::vector<FileInfo> files_; | 88 vector<FileInfo> files_; |
89 }; | 89 }; |
90 | 90 |
91 } // namespace compiler | 91 } // namespace compiler |
92 } // namespace protobuf | 92 } // namespace protobuf |
93 } // namespace google | 93 } // namespace google |
OLD | NEW |