Public Member Functions | Private Member Functions | Private Attributes | List of all members
google::protobuf::compiler::csharp::MessageGenerator Class Reference

#include <csharp_message.h>

Inheritance diagram for google::protobuf::compiler::csharp::MessageGenerator:
Inheritance graph
[legend]

Public Member Functions

void Generate (io::Printer *printer)
 
void GenerateCloningCode (io::Printer *printer)
 
void GenerateFrameworkMethods (io::Printer *printer)
 
void GenerateFreezingCode (io::Printer *printer)
 
 MessageGenerator (const Descriptor *descriptor, const Options *options)
 
 MessageGenerator (const MessageGenerator &)=delete
 
MessageGeneratoroperator= (const MessageGenerator &)=delete
 
 ~MessageGenerator ()
 

Private Member Functions

void AddDeprecatedFlag (io::Printer *printer)
 
void AddSerializableAttribute (io::Printer *printer)
 
std::string class_name ()
 
FieldGeneratorBaseCreateFieldGeneratorInternal (const FieldDescriptor *descriptor)
 
const std::vector< const FieldDescriptor * > & fields_by_number ()
 
std::string full_class_name ()
 
void GenerateMergingMethods (io::Printer *printer)
 
void GenerateMessageSerializationMethods (io::Printer *printer)
 
int GetPresenceIndex (const FieldDescriptor *descriptor)
 
bool HasNestedGeneratedTypes ()
 

Private Attributes

const Descriptordescriptor_
 
uint end_tag_
 
std::vector< const FieldDescriptor * > fields_by_number_
 
int has_bit_field_count_
 
bool has_extension_ranges_
 

Additional Inherited Members

- Protected Member Functions inherited from google::protobuf::compiler::csharp::SourceGeneratorBase
std::string class_access_level ()
 
SourceGeneratorBaseoperator= (const SourceGeneratorBase &)=delete
 
const Optionsoptions ()
 
 SourceGeneratorBase (const FileDescriptor *descriptor, const Options *options)
 
 SourceGeneratorBase (const SourceGeneratorBase &)=delete
 
void WriteGeneratedCodeAttributes (io::Printer *printer)
 
virtual ~SourceGeneratorBase ()
 

Detailed Description

Definition at line 48 of file csharp_message.h.

Constructor & Destructor Documentation

◆ MessageGenerator() [1/2]

google::protobuf::compiler::csharp::MessageGenerator::MessageGenerator ( const Descriptor descriptor,
const Options options 
)

Definition at line 61 of file csharp_message.cc.

◆ ~MessageGenerator()

google::protobuf::compiler::csharp::MessageGenerator::~MessageGenerator ( )

Definition at line 89 of file csharp_message.cc.

◆ MessageGenerator() [2/2]

google::protobuf::compiler::csharp::MessageGenerator::MessageGenerator ( const MessageGenerator )
delete

Member Function Documentation

◆ AddDeprecatedFlag()

void google::protobuf::compiler::csharp::MessageGenerator::AddDeprecatedFlag ( io::Printer printer)
private

Definition at line 104 of file csharp_message.cc.

◆ AddSerializableAttribute()

void google::protobuf::compiler::csharp::MessageGenerator::AddSerializableAttribute ( io::Printer printer)
private

Definition at line 110 of file csharp_message.cc.

◆ class_name()

std::string google::protobuf::compiler::csharp::MessageGenerator::class_name ( )
private

Definition at line 92 of file csharp_message.cc.

◆ CreateFieldGeneratorInternal()

FieldGeneratorBase * google::protobuf::compiler::csharp::MessageGenerator::CreateFieldGeneratorInternal ( const FieldDescriptor descriptor)
private

Definition at line 702 of file csharp_message.cc.

◆ fields_by_number()

const std::vector< const FieldDescriptor * > & google::protobuf::compiler::csharp::MessageGenerator::fields_by_number ( )
private

Definition at line 100 of file csharp_message.cc.

◆ full_class_name()

std::string google::protobuf::compiler::csharp::MessageGenerator::full_class_name ( )
private

Definition at line 96 of file csharp_message.cc.

◆ Generate()

void google::protobuf::compiler::csharp::MessageGenerator::Generate ( io::Printer printer)

Definition at line 116 of file csharp_message.cc.

◆ GenerateCloningCode()

void google::protobuf::compiler::csharp::MessageGenerator::GenerateCloningCode ( io::Printer printer)

Definition at line 357 of file csharp_message.cc.

◆ GenerateFrameworkMethods()

void google::protobuf::compiler::csharp::MessageGenerator::GenerateFrameworkMethods ( io::Printer printer)

Definition at line 420 of file csharp_message.cc.

◆ GenerateFreezingCode()

void google::protobuf::compiler::csharp::MessageGenerator::GenerateFreezingCode ( io::Printer printer)

Definition at line 417 of file csharp_message.cc.

◆ GenerateMergingMethods()

void google::protobuf::compiler::csharp::MessageGenerator::GenerateMergingMethods ( io::Printer printer)
private

Definition at line 559 of file csharp_message.cc.

◆ GenerateMessageSerializationMethods()

void google::protobuf::compiler::csharp::MessageGenerator::GenerateMessageSerializationMethods ( io::Printer printer)
private

Definition at line 499 of file csharp_message.cc.

◆ GetPresenceIndex()

int google::protobuf::compiler::csharp::MessageGenerator::GetPresenceIndex ( const FieldDescriptor descriptor)
private

Definition at line 683 of file csharp_message.cc.

◆ HasNestedGeneratedTypes()

bool google::protobuf::compiler::csharp::MessageGenerator::HasNestedGeneratedTypes ( )
private

Definition at line 344 of file csharp_message.cc.

◆ operator=()

MessageGenerator& google::protobuf::compiler::csharp::MessageGenerator::operator= ( const MessageGenerator )
delete

Member Data Documentation

◆ descriptor_

const Descriptor* google::protobuf::compiler::csharp::MessageGenerator::descriptor_
private

Definition at line 62 of file csharp_message.h.

◆ end_tag_

uint google::protobuf::compiler::csharp::MessageGenerator::end_tag_
private

Definition at line 65 of file csharp_message.h.

◆ fields_by_number_

std::vector<const FieldDescriptor*> google::protobuf::compiler::csharp::MessageGenerator::fields_by_number_
private

Definition at line 63 of file csharp_message.h.

◆ has_bit_field_count_

int google::protobuf::compiler::csharp::MessageGenerator::has_bit_field_count_
private

Definition at line 64 of file csharp_message.h.

◆ has_extension_ranges_

bool google::protobuf::compiler::csharp::MessageGenerator::has_extension_ranges_
private

Definition at line 66 of file csharp_message.h.


The documentation for this class was generated from the following files:


libaditof
Author(s):
autogenerated on Wed May 21 2025 02:07:09