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

#include <cpp_generator.h>

Inheritance diagram for google::protobuf::compiler::cpp::CppGenerator:
Inheritance graph
[legend]

Public Types

enum  Runtime {
  Runtime::kGoogle3, Runtime::kOpensource, Runtime::kOpensourceGoogle3, Runtime::kGoogle3,
  Runtime::kOpensource, Runtime::kOpensourceGoogle3
}
 
enum  Runtime {
  Runtime::kGoogle3, Runtime::kOpensource, Runtime::kOpensourceGoogle3, Runtime::kGoogle3,
  Runtime::kOpensource, Runtime::kOpensourceGoogle3
}
 
- Public Types inherited from google::protobuf::compiler::CodeGenerator
enum  Feature { FEATURE_PROTO3_OPTIONAL = 1 }
 

Public Member Functions

 CppGenerator ()
 
 CppGenerator ()
 
bool Generate (const FileDescriptor *file, const std::string &parameter, GeneratorContext *generator_context, std::string *error) const
 
bool Generate (const FileDescriptor *file, const std::string &parameter, GeneratorContext *generator_context, std::string *error) const override
 
uint64_t GetSupportedFeatures () const override
 
void set_opensource_runtime (bool opensource)
 
void set_opensource_runtime (bool opensource)
 
void set_runtime_include_base (const std::string &base)
 
void set_runtime_include_base (const std::string &base)
 
 ~CppGenerator ()
 
 ~CppGenerator ()
 
- Public Member Functions inherited from google::protobuf::compiler::CodeGenerator
 CodeGenerator ()
 
 CodeGenerator ()
 
virtual bool GenerateAll (const std::vector< const FileDescriptor * > &files, const std::string &parameter, GeneratorContext *generator_context, std::string *error) const
 
virtual bool GenerateAll (const std::vector< const FileDescriptor * > &files, const std::string &parameter, GeneratorContext *generator_context, std::string *error) const
 
virtual bool HasGenerateAll () const
 
virtual bool HasGenerateAll () const
 
virtual ~CodeGenerator ()
 
virtual ~CodeGenerator ()
 

Private Member Functions

 GOOGLE_DISALLOW_EVIL_CONSTRUCTORS (CppGenerator)
 
 GOOGLE_DISALLOW_EVIL_CONSTRUCTORS (CppGenerator)
 

Private Attributes

bool opensource_runtime_ = true
 
std::string runtime_include_base_
 

Detailed Description

Definition at line 54 of file third_party/bloaty/third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_generator.h.

Member Enumeration Documentation

◆ Runtime [1/2]

Enumerator
kGoogle3 
kOpensource 
kOpensourceGoogle3 
kGoogle3 
kOpensource 
kOpensourceGoogle3 

Definition at line 59 of file third_party/bloaty/third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_generator.h.

◆ Runtime [2/2]

Enumerator
kGoogle3 
kOpensource 
kOpensourceGoogle3 
kGoogle3 
kOpensource 
kOpensourceGoogle3 

Definition at line 59 of file third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_generator.h.

Constructor & Destructor Documentation

◆ CppGenerator() [1/2]

google::protobuf::compiler::cpp::CppGenerator::CppGenerator ( )

◆ ~CppGenerator() [1/2]

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

◆ CppGenerator() [2/2]

google::protobuf::compiler::cpp::CppGenerator::CppGenerator ( )

◆ ~CppGenerator() [2/2]

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

Member Function Documentation

◆ Generate() [1/2]

bool google::protobuf::compiler::cpp::CppGenerator::Generate ( const FileDescriptor file,
const std::string &  parameter,
GeneratorContext generator_context,
std::string *  error 
) const
virtual

◆ Generate() [2/2]

bool google::protobuf::compiler::cpp::CppGenerator::Generate ( const FileDescriptor file,
const std::string &  parameter,
GeneratorContext generator_context,
std::string *  error 
) const
overridevirtual

◆ GetSupportedFeatures()

uint64_t google::protobuf::compiler::cpp::CppGenerator::GetSupportedFeatures ( ) const
inlineoverridevirtual

◆ GOOGLE_DISALLOW_EVIL_CONSTRUCTORS() [1/2]

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

◆ GOOGLE_DISALLOW_EVIL_CONSTRUCTORS() [2/2]

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

◆ set_opensource_runtime() [1/2]

void google::protobuf::compiler::cpp::CppGenerator::set_opensource_runtime ( bool  opensource)
inline

◆ set_opensource_runtime() [2/2]

void google::protobuf::compiler::cpp::CppGenerator::set_opensource_runtime ( bool  opensource)
inline

◆ set_runtime_include_base() [1/2]

void google::protobuf::compiler::cpp::CppGenerator::set_runtime_include_base ( const std::string &  base)
inline

◆ set_runtime_include_base() [2/2]

void google::protobuf::compiler::cpp::CppGenerator::set_runtime_include_base ( const std::string &  base)
inline

Member Data Documentation

◆ opensource_runtime_

bool google::protobuf::compiler::cpp::CppGenerator::opensource_runtime_ = true
private

◆ runtime_include_base_

std::string google::protobuf::compiler::cpp::CppGenerator::runtime_include_base_
private

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


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