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

« back to all changes in this revision

Viewing changes to src/google/protobuf/compiler/cpp/cpp_primitive_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(PrimitiveFieldGenerator);
71
72
};
72
73
 
 
74
class PrimitiveOneofFieldGenerator : public PrimitiveFieldGenerator {
 
75
 public:
 
76
  explicit PrimitiveOneofFieldGenerator(const FieldDescriptor* descriptor,
 
77
                                        const Options& options);
 
78
  ~PrimitiveOneofFieldGenerator();
 
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
  void GenerateMergeFromCodedStream(io::Printer* printer) const;
 
86
 
 
87
 private:
 
88
  GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(PrimitiveOneofFieldGenerator);
 
89
};
 
90
 
73
91
class RepeatedPrimitiveFieldGenerator : public FieldGenerator {
74
92
 public:
75
93
  explicit RepeatedPrimitiveFieldGenerator(const FieldDescriptor* descriptor,