~ubuntu-branches/debian/stretch/protobuf/stretch

« back to all changes in this revision

Viewing changes to src/google/protobuf/compiler/cpp/cpp_message_field.h

  • Committer: Package Import Robot
  • Author(s): Robert S. Edmonds
  • Date: 2014-09-11 22:50:10 UTC
  • mfrom: (10.1.9 experimental)
  • Revision ID: package-import@ubuntu.com-20140911225010-wt4yo9dpc1fzuq5g
Tags: 2.6.0-3
Upload to unstable.

Show diffs side-by-side

added added

removed removed

Lines of Context:
63
63
  void GenerateSerializeWithCachedSizesToArray(io::Printer* printer) const;
64
64
  void GenerateByteSize(io::Printer* printer) const;
65
65
 
66
 
 private:
 
66
 protected:
67
67
  const FieldDescriptor* descriptor_;
68
68
  map<string, string> variables_;
69
69
 
 
70
 private:
70
71
  GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(MessageFieldGenerator);
71
72
};
72
73
 
 
74
class MessageOneofFieldGenerator : public MessageFieldGenerator {
 
75
 public:
 
76
  explicit MessageOneofFieldGenerator(const FieldDescriptor* descriptor,
 
77
                                      const Options& options);
 
78
  ~MessageOneofFieldGenerator();
 
79
 
 
80
  // implements FieldGenerator ---------------------------------------
 
81
  void GenerateInlineAccessorDefinitions(io::Printer* printer) const;
 
82
  void GenerateClearingCode(io::Printer* printer) const;
 
83
  void GenerateSwappingCode(io::Printer* printer) const;
 
84
  void GenerateConstructorCode(io::Printer* printer) const;
 
85
 
 
86
 private:
 
87
  GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(MessageOneofFieldGenerator);
 
88
};
 
89
 
73
90
class RepeatedMessageFieldGenerator : public FieldGenerator {
74
91
 public:
75
92
  explicit RepeatedMessageFieldGenerator(const FieldDescriptor* descriptor,