Go to the documentation of this file.
31 #ifndef GOOGLE_PROTOBUF_COMPILER_OBJECTIVEC_MESSAGE_H__
32 #define GOOGLE_PROTOBUF_COMPILER_OBJECTIVEC_MESSAGE_H__
37 #include <google/protobuf/compiler/objectivec/objectivec_field.h>
38 #include <google/protobuf/compiler/objectivec/objectivec_helpers.h>
39 #include <google/protobuf/compiler/objectivec/objectivec_oneof.h>
40 #include <google/protobuf/descriptor.h>
41 #include <google/protobuf/io/printer.h>
46 namespace objectivec {
48 class ExtensionGenerator;
51 class MessageGenerator {
99 #endif // GOOGLE_PROTOBUF_COMPILER_OBJECTIVEC_MESSAGE_H__
void GenerateEnumHeader(io::Printer *printer)
const std::string deprecated_attribute_
void GenerateDescriptionOneFieldSource(io::Printer *printer, const FieldDescriptor *field)
const Descriptor * descriptor_
void GenerateSerializeOneFieldSource(io::Printer *printer, const FieldDescriptor *field)
void GenerateSerializeOneExtensionRangeSource(io::Printer *printer, const Descriptor::ExtensionRange *range)
GRPC_CUSTOM_PRINTER Printer
MessageGenerator(const string &root_classname, const Descriptor *descriptor, const Options &options)
void DetermineForwardDeclarations(std::set< string > *fwd_decls)
std::vector< std::unique_ptr< OneofGenerator > > oneof_generators_
void GenerateSource(io::Printer *printer)
void GenerateStaticVariablesInitialization(io::Printer *printer)
void GenerateExtensionRegistrationSource(io::Printer *printer)
bool IncludesOneOfDefinition() const
const FieldDescriptor * field
std::vector< std::unique_ptr< EnumGenerator > > enum_generators_
void GenerateParseFromMethodsHeader(io::Printer *printer)
const std::string root_classname_
std::vector< std::unique_ptr< ExtensionGenerator > > extension_generators_
const std::string class_name_
void DetermineObjectiveCClassDefinitions(std::set< std::string > *fwd_decls)
static const char descriptor[1336]
FieldGeneratorMap field_generators_
std::vector< std::unique_ptr< MessageGenerator > > nested_message_generators_
void GenerateMessageDescriptionSource(io::Printer *printer)
MessageGenerator & operator=(const MessageGenerator &)=delete
void GenerateMessageHeader(io::Printer *printer)
grpc
Author(s):
autogenerated on Fri May 16 2025 02:59:34