Public Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
google::protobuf::compiler::cpp::EnumGenerator Class Reference

#include <cpp_enum.h>

Public Member Functions

 EnumGenerator (const EnumDescriptor *descriptor, const std::map< std::string, std::string > &vars, const Options &options)
 
 EnumGenerator (const EnumDescriptor *descriptor, const std::map< std::string, std::string > &vars, const Options &options)
 
void GenerateDefinition (io::Printer *printer)
 
void GenerateDefinition (io::Printer *printer)
 
void GenerateGetEnumDescriptorSpecializations (io::Printer *printer)
 
void GenerateGetEnumDescriptorSpecializations (io::Printer *printer)
 
void GenerateMethods (int idx, io::Printer *printer)
 
void GenerateMethods (int idx, io::Printer *printer)
 
void GenerateSymbolImports (io::Printer *printer) const
 
void GenerateSymbolImports (io::Printer *printer) const
 
 ~EnumGenerator ()
 
 ~EnumGenerator ()
 

Private Member Functions

 GOOGLE_DISALLOW_EVIL_CONSTRUCTORS (EnumGenerator)
 
 GOOGLE_DISALLOW_EVIL_CONSTRUCTORS (EnumGenerator)
 

Private Attributes

const std::string classname_
 
const EnumDescriptordescriptor_
 
const bool generate_array_size_
 
const Optionsoptions_
 
std::map< std::string, std::string > variables_
 

Friends

class FileGenerator
 

Detailed Description

Definition at line 57 of file bloaty/third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_enum.h.

Constructor & Destructor Documentation

◆ EnumGenerator() [1/2]

google::protobuf::compiler::cpp::EnumGenerator::EnumGenerator ( const EnumDescriptor descriptor,
const std::map< std::string, std::string > &  vars,
const Options options 
)

◆ ~EnumGenerator() [1/2]

google::protobuf::compiler::cpp::EnumGenerator::~EnumGenerator ( )

◆ EnumGenerator() [2/2]

google::protobuf::compiler::cpp::EnumGenerator::EnumGenerator ( const EnumDescriptor descriptor,
const std::map< std::string, std::string > &  vars,
const Options options 
)

◆ ~EnumGenerator() [2/2]

google::protobuf::compiler::cpp::EnumGenerator::~EnumGenerator ( )

Member Function Documentation

◆ GenerateDefinition() [1/2]

void google::protobuf::compiler::cpp::EnumGenerator::GenerateDefinition ( io::Printer printer)

◆ GenerateDefinition() [2/2]

void google::protobuf::compiler::cpp::EnumGenerator::GenerateDefinition ( io::Printer printer)

◆ GenerateGetEnumDescriptorSpecializations() [1/2]

void google::protobuf::compiler::cpp::EnumGenerator::GenerateGetEnumDescriptorSpecializations ( io::Printer printer)

◆ GenerateGetEnumDescriptorSpecializations() [2/2]

void google::protobuf::compiler::cpp::EnumGenerator::GenerateGetEnumDescriptorSpecializations ( io::Printer printer)

◆ GenerateMethods() [1/2]

void google::protobuf::compiler::cpp::EnumGenerator::GenerateMethods ( int  idx,
io::Printer printer 
)

◆ GenerateMethods() [2/2]

void google::protobuf::compiler::cpp::EnumGenerator::GenerateMethods ( int  idx,
io::Printer printer 
)

◆ GenerateSymbolImports() [1/2]

void google::protobuf::compiler::cpp::EnumGenerator::GenerateSymbolImports ( io::Printer printer) const

◆ GenerateSymbolImports() [2/2]

void google::protobuf::compiler::cpp::EnumGenerator::GenerateSymbolImports ( io::Printer printer) const

◆ GOOGLE_DISALLOW_EVIL_CONSTRUCTORS() [1/2]

google::protobuf::compiler::cpp::EnumGenerator::GOOGLE_DISALLOW_EVIL_CONSTRUCTORS ( EnumGenerator  )
private

◆ GOOGLE_DISALLOW_EVIL_CONSTRUCTORS() [2/2]

google::protobuf::compiler::cpp::EnumGenerator::GOOGLE_DISALLOW_EVIL_CONSTRUCTORS ( EnumGenerator  )
private

Friends And Related Function Documentation

◆ FileGenerator

FileGenerator
friend

Member Data Documentation

◆ classname_

const std::string google::protobuf::compiler::cpp::EnumGenerator::classname_
private

◆ descriptor_

const EnumDescriptor * google::protobuf::compiler::cpp::EnumGenerator::descriptor_
private

◆ generate_array_size_

const bool google::protobuf::compiler::cpp::EnumGenerator::generate_array_size_
private

◆ options_

const Options & google::protobuf::compiler::cpp::EnumGenerator::options_
private

◆ variables_

std::map< std::string, std::string > google::protobuf::compiler::cpp::EnumGenerator::variables_
private

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


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