Public Member Functions | Private Member Functions | List of all members
google::protobuf::compiler::CodeGenerator Class Referenceabstract

#include <code_generator.h>

Inheritance diagram for google::protobuf::compiler::CodeGenerator:
Inheritance graph
[legend]

Public Member Functions

 CodeGenerator ()
 
virtual bool Generate (const FileDescriptor *file, const std::string &parameter, GeneratorContext *generator_context, std::string *error) const =0
 
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 ~CodeGenerator ()
 

Private Member Functions

 GOOGLE_DISALLOW_EVIL_CONSTRUCTORS (CodeGenerator)
 

Detailed Description

Definition at line 68 of file code_generator.h.

Constructor & Destructor Documentation

◆ CodeGenerator()

google::protobuf::compiler::CodeGenerator::CodeGenerator ( )
inline

Definition at line 70 of file code_generator.h.

◆ ~CodeGenerator()

google::protobuf::compiler::CodeGenerator::~CodeGenerator ( )
virtual

Definition at line 47 of file code_generator.cc.

Member Function Documentation

◆ Generate()

virtual bool google::protobuf::compiler::CodeGenerator::Generate ( const FileDescriptor file,
const std::string parameter,
GeneratorContext generator_context,
std::string error 
) const
pure virtual

◆ GenerateAll()

bool google::protobuf::compiler::CodeGenerator::GenerateAll ( const std::vector< const FileDescriptor * > &  files,
const std::string parameter,
GeneratorContext generator_context,
std::string error 
) const
virtual

Reimplemented in google::protobuf::compiler::js::Generator.

Definition at line 49 of file code_generator.cc.

◆ GOOGLE_DISALLOW_EVIL_CONSTRUCTORS()

google::protobuf::compiler::CodeGenerator::GOOGLE_DISALLOW_EVIL_CONSTRUCTORS ( CodeGenerator  )
private

◆ HasGenerateAll()

virtual bool google::protobuf::compiler::CodeGenerator::HasGenerateAll ( ) const
inlinevirtual

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


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