Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions | List of all members
google::protobuf::compiler::csharp::FieldGeneratorBase Class Referenceabstract

#include <csharp_field_base.h>

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

Public Member Functions

 FieldGeneratorBase (const FieldDescriptor *descriptor, int presenceIndex, const Options *options)
 
 FieldGeneratorBase (const FieldDescriptor *descriptor, int presenceIndex, const Options *options)
 
 FieldGeneratorBase (const FieldGeneratorBase &)=delete
 
 FieldGeneratorBase (const FieldGeneratorBase &)=delete
 
virtual void GenerateCloningCode (io::Printer *printer)=0
 
virtual void GenerateCloningCode (io::Printer *printer)=0
 
virtual void GenerateCodecCode (io::Printer *printer)
 
virtual void GenerateCodecCode (io::Printer *printer)
 
virtual void GenerateExtensionCode (io::Printer *printer)
 
virtual void GenerateExtensionCode (io::Printer *printer)
 
virtual void GenerateFreezingCode (io::Printer *printer)
 
virtual void GenerateFreezingCode (io::Printer *printer)
 
virtual void GenerateMembers (io::Printer *printer)=0
 
virtual void GenerateMembers (io::Printer *printer)=0
 
virtual void GenerateMergingCode (io::Printer *printer)=0
 
virtual void GenerateMergingCode (io::Printer *printer)=0
 
virtual void GenerateParsingCode (io::Printer *printer)=0
 
virtual void GenerateParsingCode (io::Printer *printer)=0
 
virtual void GenerateParsingCode (io::Printer *printer, bool use_parse_context)
 
virtual void GenerateSerializationCode (io::Printer *printer)=0
 
virtual void GenerateSerializationCode (io::Printer *printer)=0
 
virtual void GenerateSerializationCode (io::Printer *printer, bool use_write_context)
 
virtual void GenerateSerializedSizeCode (io::Printer *printer)=0
 
virtual void GenerateSerializedSizeCode (io::Printer *printer)=0
 
FieldGeneratorBaseoperator= (const FieldGeneratorBase &)=delete
 
FieldGeneratorBaseoperator= (const FieldGeneratorBase &)=delete
 
virtual void WriteEquals (io::Printer *printer)=0
 
virtual void WriteEquals (io::Printer *printer)=0
 
virtual void WriteHash (io::Printer *printer)=0
 
virtual void WriteHash (io::Printer *printer)=0
 
virtual void WriteToString (io::Printer *printer)=0
 
virtual void WriteToString (io::Printer *printer)=0
 
 ~FieldGeneratorBase ()
 
 ~FieldGeneratorBase ()
 

Protected Member Functions

void AddDeprecatedFlag (io::Printer *printer)
 
void AddDeprecatedFlag (io::Printer *printer)
 
void AddNullCheck (io::Printer *printer)
 
void AddNullCheck (io::Printer *printer)
 
void AddNullCheck (io::Printer *printer, const std::string &name)
 
void AddNullCheck (io::Printer *printer, const std::string &name)
 
void AddPublicMemberAttributes (io::Printer *printer)
 
void AddPublicMemberAttributes (io::Printer *printer)
 
std::string capitalized_type_name ()
 
std::string capitalized_type_name ()
 
std::string default_value ()
 
std::string default_value ()
 
std::string default_value (const FieldDescriptor *descriptor)
 
std::string default_value (const FieldDescriptor *descriptor)
 
bool has_default_value ()
 
bool has_default_value ()
 
std::string name ()
 
std::string name ()
 
std::string number ()
 
std::string number ()
 
std::string oneof_name ()
 
std::string oneof_name ()
 
std::string oneof_property_name ()
 
std::string oneof_property_name ()
 
std::string property_name ()
 
std::string property_name ()
 
void SetCommonOneofFieldVariables (std::map< std::string, std::string > *variables)
 
void SetCommonOneofFieldVariables (std::map< string, string > *variables)
 
std::string type_name ()
 
std::string type_name ()
 
std::string type_name (const FieldDescriptor *descriptor)
 
std::string type_name (const FieldDescriptor *descriptor)
 
- Protected Member Functions inherited from google::protobuf::compiler::csharp::SourceGeneratorBase
std::string class_access_level ()
 
std::string class_access_level ()
 
SourceGeneratorBaseoperator= (const SourceGeneratorBase &)=delete
 
SourceGeneratorBaseoperator= (const SourceGeneratorBase &)=delete
 
const Optionsoptions ()
 
const Optionsoptions ()
 
 SourceGeneratorBase (const FileDescriptor *descriptor, const Options *options)
 
 SourceGeneratorBase (const Options *options)
 
 SourceGeneratorBase (const SourceGeneratorBase &)=delete
 
 SourceGeneratorBase (const SourceGeneratorBase &)=delete
 
void WriteGeneratedCodeAttributes (io::Printer *printer)
 
void WriteGeneratedCodeAttributes (io::Printer *printer)
 
virtual ~SourceGeneratorBase ()
 
virtual ~SourceGeneratorBase ()
 

Protected Attributes

const FieldDescriptordescriptor_
 
const int presenceIndex_
 
std::map< string, string > variables_
 
std::map< std::string, std::string > variables_
 

Private Member Functions

std::string GetBytesDefaultValueInternal (const FieldDescriptor *descriptor)
 
std::string GetBytesDefaultValueInternal (const FieldDescriptor *descriptor)
 
std::string GetStringDefaultValueInternal (const FieldDescriptor *descriptor)
 
std::string GetStringDefaultValueInternal (const FieldDescriptor *descriptor)
 
void SetCommonFieldVariables (std::map< std::string, std::string > *variables)
 
void SetCommonFieldVariables (std::map< string, string > *variables)
 

Detailed Description

Definition at line 47 of file bloaty/third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_field_base.h.

Constructor & Destructor Documentation

◆ FieldGeneratorBase() [1/4]

google::protobuf::compiler::csharp::FieldGeneratorBase::FieldGeneratorBase ( const FieldDescriptor descriptor,
int  presenceIndex,
const Options options 
)

◆ ~FieldGeneratorBase() [1/2]

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

◆ FieldGeneratorBase() [2/4]

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

◆ FieldGeneratorBase() [3/4]

google::protobuf::compiler::csharp::FieldGeneratorBase::FieldGeneratorBase ( const FieldDescriptor descriptor,
int  presenceIndex,
const Options options 
)

◆ ~FieldGeneratorBase() [2/2]

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

◆ FieldGeneratorBase() [4/4]

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

Member Function Documentation

◆ AddDeprecatedFlag() [1/2]

void google::protobuf::compiler::csharp::FieldGeneratorBase::AddDeprecatedFlag ( io::Printer printer)
protected

◆ AddDeprecatedFlag() [2/2]

void google::protobuf::compiler::csharp::FieldGeneratorBase::AddDeprecatedFlag ( io::Printer printer)
protected

◆ AddNullCheck() [1/4]

void google::protobuf::compiler::csharp::FieldGeneratorBase::AddNullCheck ( io::Printer printer)
protected

◆ AddNullCheck() [2/4]

void google::protobuf::compiler::csharp::FieldGeneratorBase::AddNullCheck ( io::Printer printer)
protected

◆ AddNullCheck() [3/4]

void google::protobuf::compiler::csharp::FieldGeneratorBase::AddNullCheck ( io::Printer printer,
const std::string &  name 
)
protected

◆ AddNullCheck() [4/4]

void google::protobuf::compiler::csharp::FieldGeneratorBase::AddNullCheck ( io::Printer printer,
const std::string &  name 
)
protected

◆ AddPublicMemberAttributes() [1/2]

void google::protobuf::compiler::csharp::FieldGeneratorBase::AddPublicMemberAttributes ( io::Printer printer)
protected

◆ AddPublicMemberAttributes() [2/2]

void google::protobuf::compiler::csharp::FieldGeneratorBase::AddPublicMemberAttributes ( io::Printer printer)
protected

◆ capitalized_type_name() [1/2]

std::string google::protobuf::compiler::csharp::FieldGeneratorBase::capitalized_type_name ( )
protected

◆ capitalized_type_name() [2/2]

std::string google::protobuf::compiler::csharp::FieldGeneratorBase::capitalized_type_name ( )
protected

◆ default_value() [1/4]

std::string google::protobuf::compiler::csharp::FieldGeneratorBase::default_value ( )
protected

◆ default_value() [2/4]

std::string google::protobuf::compiler::csharp::FieldGeneratorBase::default_value ( )
protected

◆ default_value() [3/4]

std::string google::protobuf::compiler::csharp::FieldGeneratorBase::default_value ( const FieldDescriptor descriptor)
protected

◆ default_value() [4/4]

std::string google::protobuf::compiler::csharp::FieldGeneratorBase::default_value ( const FieldDescriptor descriptor)
protected

◆ GenerateCloningCode() [1/2]

virtual void google::protobuf::compiler::csharp::FieldGeneratorBase::GenerateCloningCode ( io::Printer printer)
pure virtual

◆ GenerateCloningCode() [2/2]

virtual void google::protobuf::compiler::csharp::FieldGeneratorBase::GenerateCloningCode ( io::Printer printer)
pure virtual

◆ GenerateCodecCode() [1/2]

void google::protobuf::compiler::csharp::FieldGeneratorBase::GenerateCodecCode ( io::Printer printer)
virtual

◆ GenerateCodecCode() [2/2]

virtual void google::protobuf::compiler::csharp::FieldGeneratorBase::GenerateCodecCode ( io::Printer printer)
virtual

◆ GenerateExtensionCode() [1/2]

virtual void google::protobuf::compiler::csharp::FieldGeneratorBase::GenerateExtensionCode ( io::Printer printer)
virtual

◆ GenerateExtensionCode() [2/2]

void google::protobuf::compiler::csharp::FieldGeneratorBase::GenerateExtensionCode ( io::Printer printer)
virtual

◆ GenerateFreezingCode() [1/2]

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

◆ GenerateFreezingCode() [2/2]

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

◆ GenerateMembers() [1/2]

virtual void google::protobuf::compiler::csharp::FieldGeneratorBase::GenerateMembers ( io::Printer printer)
pure virtual

◆ GenerateMembers() [2/2]

virtual void google::protobuf::compiler::csharp::FieldGeneratorBase::GenerateMembers ( io::Printer printer)
pure virtual

◆ GenerateMergingCode() [1/2]

virtual void google::protobuf::compiler::csharp::FieldGeneratorBase::GenerateMergingCode ( io::Printer printer)
pure virtual

◆ GenerateMergingCode() [2/2]

virtual void google::protobuf::compiler::csharp::FieldGeneratorBase::GenerateMergingCode ( io::Printer printer)
pure virtual

◆ GenerateParsingCode() [1/3]

virtual void google::protobuf::compiler::csharp::FieldGeneratorBase::GenerateParsingCode ( io::Printer printer)
pure virtual

Implemented in google::protobuf::compiler::csharp::PrimitiveOneofFieldGenerator, google::protobuf::compiler::csharp::WrapperOneofFieldGenerator, google::protobuf::compiler::csharp::MessageOneofFieldGenerator, google::protobuf::compiler::csharp::EnumOneofFieldGenerator, google::protobuf::compiler::csharp::RepeatedEnumFieldGenerator, google::protobuf::compiler::csharp::RepeatedMessageFieldGenerator, google::protobuf::compiler::csharp::PrimitiveFieldGenerator, google::protobuf::compiler::csharp::WrapperFieldGenerator, google::protobuf::compiler::csharp::MessageFieldGenerator, google::protobuf::compiler::csharp::MapFieldGenerator, google::protobuf::compiler::csharp::RepeatedPrimitiveFieldGenerator, google::protobuf::compiler::csharp::EnumFieldGenerator, google::protobuf::compiler::csharp::PrimitiveOneofFieldGenerator, google::protobuf::compiler::csharp::WrapperOneofFieldGenerator, google::protobuf::compiler::csharp::MessageOneofFieldGenerator, google::protobuf::compiler::csharp::EnumOneofFieldGenerator, google::protobuf::compiler::csharp::RepeatedEnumFieldGenerator, google::protobuf::compiler::csharp::RepeatedMessageFieldGenerator, google::protobuf::compiler::csharp::PrimitiveFieldGenerator, google::protobuf::compiler::csharp::WrapperFieldGenerator, google::protobuf::compiler::csharp::MessageFieldGenerator, google::protobuf::compiler::csharp::MapFieldGenerator, google::protobuf::compiler::csharp::RepeatedPrimitiveFieldGenerator, and google::protobuf::compiler::csharp::EnumFieldGenerator.

◆ GenerateParsingCode() [2/3]

virtual void google::protobuf::compiler::csharp::FieldGeneratorBase::GenerateParsingCode ( io::Printer printer)
pure virtual

Implemented in google::protobuf::compiler::csharp::PrimitiveOneofFieldGenerator, google::protobuf::compiler::csharp::WrapperOneofFieldGenerator, google::protobuf::compiler::csharp::MessageOneofFieldGenerator, google::protobuf::compiler::csharp::EnumOneofFieldGenerator, google::protobuf::compiler::csharp::RepeatedEnumFieldGenerator, google::protobuf::compiler::csharp::RepeatedMessageFieldGenerator, google::protobuf::compiler::csharp::PrimitiveFieldGenerator, google::protobuf::compiler::csharp::WrapperFieldGenerator, google::protobuf::compiler::csharp::MessageFieldGenerator, google::protobuf::compiler::csharp::MapFieldGenerator, google::protobuf::compiler::csharp::RepeatedPrimitiveFieldGenerator, google::protobuf::compiler::csharp::EnumFieldGenerator, google::protobuf::compiler::csharp::PrimitiveOneofFieldGenerator, google::protobuf::compiler::csharp::WrapperOneofFieldGenerator, google::protobuf::compiler::csharp::MessageOneofFieldGenerator, google::protobuf::compiler::csharp::EnumOneofFieldGenerator, google::protobuf::compiler::csharp::RepeatedEnumFieldGenerator, google::protobuf::compiler::csharp::RepeatedMessageFieldGenerator, google::protobuf::compiler::csharp::PrimitiveFieldGenerator, google::protobuf::compiler::csharp::WrapperFieldGenerator, google::protobuf::compiler::csharp::MessageFieldGenerator, google::protobuf::compiler::csharp::MapFieldGenerator, google::protobuf::compiler::csharp::RepeatedPrimitiveFieldGenerator, and google::protobuf::compiler::csharp::EnumFieldGenerator.

◆ GenerateParsingCode() [3/3]

void google::protobuf::compiler::csharp::FieldGeneratorBase::GenerateParsingCode ( io::Printer printer,
bool  use_parse_context 
)
virtual

◆ GenerateSerializationCode() [1/3]

virtual void google::protobuf::compiler::csharp::FieldGeneratorBase::GenerateSerializationCode ( io::Printer printer)
pure virtual

◆ GenerateSerializationCode() [2/3]

virtual void google::protobuf::compiler::csharp::FieldGeneratorBase::GenerateSerializationCode ( io::Printer printer)
pure virtual

◆ GenerateSerializationCode() [3/3]

void google::protobuf::compiler::csharp::FieldGeneratorBase::GenerateSerializationCode ( io::Printer printer,
bool  use_write_context 
)
virtual

◆ GenerateSerializedSizeCode() [1/2]

virtual void google::protobuf::compiler::csharp::FieldGeneratorBase::GenerateSerializedSizeCode ( io::Printer printer)
pure virtual

◆ GenerateSerializedSizeCode() [2/2]

virtual void google::protobuf::compiler::csharp::FieldGeneratorBase::GenerateSerializedSizeCode ( io::Printer printer)
pure virtual

◆ GetBytesDefaultValueInternal() [1/2]

std::string google::protobuf::compiler::csharp::FieldGeneratorBase::GetBytesDefaultValueInternal ( const FieldDescriptor descriptor)
private

◆ GetBytesDefaultValueInternal() [2/2]

std::string google::protobuf::compiler::csharp::FieldGeneratorBase::GetBytesDefaultValueInternal ( const FieldDescriptor descriptor)
private

◆ GetStringDefaultValueInternal() [1/2]

std::string google::protobuf::compiler::csharp::FieldGeneratorBase::GetStringDefaultValueInternal ( const FieldDescriptor descriptor)
private

◆ GetStringDefaultValueInternal() [2/2]

std::string google::protobuf::compiler::csharp::FieldGeneratorBase::GetStringDefaultValueInternal ( const FieldDescriptor descriptor)
private

◆ has_default_value() [1/2]

bool google::protobuf::compiler::csharp::FieldGeneratorBase::has_default_value ( )
protected

◆ has_default_value() [2/2]

bool google::protobuf::compiler::csharp::FieldGeneratorBase::has_default_value ( )
protected

◆ name() [1/2]

std::string google::protobuf::compiler::csharp::FieldGeneratorBase::name ( )
protected

◆ name() [2/2]

std::string google::protobuf::compiler::csharp::FieldGeneratorBase::name ( )
protected

◆ number() [1/2]

std::string google::protobuf::compiler::csharp::FieldGeneratorBase::number ( )
protected

◆ number() [2/2]

std::string google::protobuf::compiler::csharp::FieldGeneratorBase::number ( )
protected

◆ oneof_name() [1/2]

std::string google::protobuf::compiler::csharp::FieldGeneratorBase::oneof_name ( )
protected

◆ oneof_name() [2/2]

std::string google::protobuf::compiler::csharp::FieldGeneratorBase::oneof_name ( )
protected

◆ oneof_property_name() [1/2]

std::string google::protobuf::compiler::csharp::FieldGeneratorBase::oneof_property_name ( )
protected

◆ oneof_property_name() [2/2]

std::string google::protobuf::compiler::csharp::FieldGeneratorBase::oneof_property_name ( )
protected

◆ operator=() [1/2]

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

◆ operator=() [2/2]

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

◆ property_name() [1/2]

std::string google::protobuf::compiler::csharp::FieldGeneratorBase::property_name ( )
protected

◆ property_name() [2/2]

std::string google::protobuf::compiler::csharp::FieldGeneratorBase::property_name ( )
protected

◆ SetCommonFieldVariables() [1/2]

void google::protobuf::compiler::csharp::FieldGeneratorBase::SetCommonFieldVariables ( std::map< std::string, std::string > *  variables)
private

◆ SetCommonFieldVariables() [2/2]

void google::protobuf::compiler::csharp::FieldGeneratorBase::SetCommonFieldVariables ( std::map< string, string > *  variables)
private

◆ SetCommonOneofFieldVariables() [1/2]

void google::protobuf::compiler::csharp::FieldGeneratorBase::SetCommonOneofFieldVariables ( std::map< std::string, std::string > *  variables)
protected

◆ SetCommonOneofFieldVariables() [2/2]

void google::protobuf::compiler::csharp::FieldGeneratorBase::SetCommonOneofFieldVariables ( std::map< string, string > *  variables)
protected

◆ type_name() [1/4]

std::string google::protobuf::compiler::csharp::FieldGeneratorBase::type_name ( )
protected

◆ type_name() [2/4]

std::string google::protobuf::compiler::csharp::FieldGeneratorBase::type_name ( )
protected

◆ type_name() [3/4]

std::string google::protobuf::compiler::csharp::FieldGeneratorBase::type_name ( const FieldDescriptor descriptor)
protected

◆ type_name() [4/4]

std::string google::protobuf::compiler::csharp::FieldGeneratorBase::type_name ( const FieldDescriptor descriptor)
protected

◆ WriteEquals() [1/2]

virtual void google::protobuf::compiler::csharp::FieldGeneratorBase::WriteEquals ( io::Printer printer)
pure virtual

◆ WriteEquals() [2/2]

virtual void google::protobuf::compiler::csharp::FieldGeneratorBase::WriteEquals ( io::Printer printer)
pure virtual

◆ WriteHash() [1/2]

virtual void google::protobuf::compiler::csharp::FieldGeneratorBase::WriteHash ( io::Printer printer)
pure virtual

◆ WriteHash() [2/2]

virtual void google::protobuf::compiler::csharp::FieldGeneratorBase::WriteHash ( io::Printer printer)
pure virtual

◆ WriteToString() [1/2]

virtual void google::protobuf::compiler::csharp::FieldGeneratorBase::WriteToString ( io::Printer printer)
pure virtual

◆ WriteToString() [2/2]

virtual void google::protobuf::compiler::csharp::FieldGeneratorBase::WriteToString ( io::Printer printer)
pure virtual

Member Data Documentation

◆ descriptor_

const FieldDescriptor * google::protobuf::compiler::csharp::FieldGeneratorBase::descriptor_
protected

◆ presenceIndex_

const int google::protobuf::compiler::csharp::FieldGeneratorBase::presenceIndex_
protected

◆ variables_ [1/2]

std::map<string, string> google::protobuf::compiler::csharp::FieldGeneratorBase::variables_
protected

◆ variables_ [2/2]

std::map<std::string, std::string> google::protobuf::compiler::csharp::FieldGeneratorBase::variables_
protected

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


grpc
Author(s):
autogenerated on Fri May 16 2025 03:03:23