35 #ifndef GOOGLE_PROTOBUF_COMPILER_CPP_FIELD_H__
36 #define GOOGLE_PROTOBUF_COMPILER_CPP_FIELD_H__
61 map<string, string>* variables,
62 const Options& options);
65 map<string, string>* variables);
185 #endif // GOOGLE_PROTOBUF_COMPILER_CPP_FIELD_H__
virtual void GenerateDestructorCode(io::Printer *printer) const
Definition: cpp_field.h:125
virtual void GenerateSerializeWithCachedSizes(io::Printer *printer) const =0
virtual void GenerateInlineAccessorDefinitions(io::Printer *printer) const =0
GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(FieldGeneratorMap)
scoped_array< scoped_ptr< FieldGenerator > > field_generators_
Definition: cpp_field.h:171
virtual void GenerateMergingCode(io::Printer *printer) const =0
static FieldGenerator * MakeGenerator(const FieldDescriptor *field, const Options &options)
virtual void GeneratePrivateMembers(io::Printer *printer) const =0
Definition: descriptor.h:126
virtual void GenerateStaticMembers(io::Printer *printer) const
Definition: cpp_field.h:80
Definition: cpp_options.h:45
virtual void GenerateSerializeWithCachedSizesToArray(io::Printer *printer) const =0
virtual void GenerateConstructorCode(io::Printer *printer) const =0
virtual void GenerateNonInlineAccessorDefinitions(io::Printer *printer) const
Definition: cpp_field.h:94
virtual void GenerateAccessorDeclarations(io::Printer *printer) const =0
virtual ~FieldGenerator()
FieldGeneratorMap(const Descriptor *descriptor, const Options &options)
Definition: cpp_field.h:162
const Descriptor * descriptor_
Definition: cpp_field.h:170
void SetCommonOneofFieldVariables(const FieldDescriptor *descriptor, map< string, string > *variables)
void SetCommonFieldVariables(const FieldDescriptor *descriptor, map< string, string > *variables, const Options &options)
virtual void GenerateClearingCode(io::Printer *printer) const =0
virtual void GenerateMergeFromCodedStream(io::Printer *printer) const =0
virtual void GenerateMergeFromCodedStreamWithPacking(io::Printer *printer) const
Definition: descriptor.h:342
virtual void GenerateShutdownCode(io::Printer *printer) const
Definition: cpp_field.h:132
Definition: BnetFileGenerator.h:47
virtual void GenerateDefaultInstanceAllocator(io::Printer *printer) const
Definition: cpp_field.h:128
virtual void GenerateByteSize(io::Printer *printer) const =0
FieldGenerator()
Definition: cpp_field.h:69
GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(FieldGenerator)
Definition: cpp_field.h:67
virtual void GenerateSwappingCode(io::Printer *printer) const =0