#include <mock_code_generator.h>
|
virtual bool | Generate (const FileDescriptor *file, const std::string ¶meter, GeneratorContext *context, std::string *error) const |
|
bool | Generate (const FileDescriptor *file, const std::string ¶meter, GeneratorContext *context, std::string *error) const override |
|
uint64_t | GetSupportedFeatures () const override |
|
| MockCodeGenerator (const std::string &name) |
|
| MockCodeGenerator (const std::string &name) |
|
void | SuppressFeatures (uint64_t features) |
|
virtual | ~MockCodeGenerator () |
|
virtual | ~MockCodeGenerator () |
|
| CodeGenerator () |
|
| CodeGenerator () |
|
virtual bool | GenerateAll (const std::vector< const FileDescriptor * > &files, const std::string ¶meter, GeneratorContext *generator_context, std::string *error) const |
|
virtual bool | GenerateAll (const std::vector< const FileDescriptor * > &files, const std::string ¶meter, GeneratorContext *generator_context, std::string *error) const |
|
virtual bool | HasGenerateAll () const |
|
virtual bool | HasGenerateAll () const |
|
virtual | ~CodeGenerator () |
|
virtual | ~CodeGenerator () |
|
|
static void | CheckGeneratedAnnotations (const std::string &name, const std::string &file, const std::string &output_directory) |
|
static void | CheckGeneratedAnnotations (const std::string &name, const std::string &file, const std::string &output_directory) |
|
static void | ExpectGenerated (const std::string &name, const std::string ¶meter, const std::string &insertions, const std::string &file, const std::string &first_message_name, const std::string &parsed_file_list, const std::string &output_directory) |
|
static void | ExpectGenerated (const std::string &name, const std::string ¶meter, const std::string &insertions, const std::string &file, const std::string &first_message_name, const std::string &parsed_file_list, const std::string &output_directory) |
|
static std::string | GetOutputFileName (const std::string &generator_name, const FileDescriptor *file) |
|
static std::string | GetOutputFileName (const std::string &generator_name, const FileDescriptor *file) |
|
static std::string | GetOutputFileName (const std::string &generator_name, const std::string &file) |
|
static std::string | GetOutputFileName (const std::string &generator_name, const std::string &file) |
|
|
static std::string | GetOutputFileContent (const std::string &generator_name, const std::string ¶meter, const FileDescriptor *file, GeneratorContext *context) |
|
static std::string | GetOutputFileContent (const std::string &generator_name, const std::string ¶meter, const FileDescriptor *file, GeneratorContext *context) |
|
static std::string | GetOutputFileContent (const std::string &generator_name, const std::string ¶meter, const std::string &file, const std::string &parsed_file_list, const std::string &first_message_name) |
|
static std::string | GetOutputFileContent (const std::string &generator_name, const std::string ¶meter, const std::string &file, const std::string &parsed_file_list, const std::string &first_message_name) |
|
◆ MockCodeGenerator() [1/2]
google::protobuf::compiler::MockCodeGenerator::MockCodeGenerator |
( |
const std::string & |
name | ) |
|
◆ ~MockCodeGenerator() [1/2]
google::protobuf::compiler::MockCodeGenerator::~MockCodeGenerator |
( |
| ) |
|
|
virtual |
◆ MockCodeGenerator() [2/2]
google::protobuf::compiler::MockCodeGenerator::MockCodeGenerator |
( |
const std::string & |
name | ) |
|
◆ ~MockCodeGenerator() [2/2]
virtual google::protobuf::compiler::MockCodeGenerator::~MockCodeGenerator |
( |
| ) |
|
|
virtual |
◆ CheckGeneratedAnnotations() [1/2]
void google::protobuf::compiler::MockCodeGenerator::CheckGeneratedAnnotations |
( |
const std::string & |
name, |
|
|
const std::string & |
file, |
|
|
const std::string & |
output_directory |
|
) |
| |
|
static |
◆ CheckGeneratedAnnotations() [2/2]
static void google::protobuf::compiler::MockCodeGenerator::CheckGeneratedAnnotations |
( |
const std::string & |
name, |
|
|
const std::string & |
file, |
|
|
const std::string & |
output_directory |
|
) |
| |
|
static |
◆ ExpectGenerated() [1/2]
void google::protobuf::compiler::MockCodeGenerator::ExpectGenerated |
( |
const std::string & |
name, |
|
|
const std::string & |
parameter, |
|
|
const std::string & |
insertions, |
|
|
const std::string & |
file, |
|
|
const std::string & |
first_message_name, |
|
|
const std::string & |
parsed_file_list, |
|
|
const std::string & |
output_directory |
|
) |
| |
|
static |
◆ ExpectGenerated() [2/2]
static void google::protobuf::compiler::MockCodeGenerator::ExpectGenerated |
( |
const std::string & |
name, |
|
|
const std::string & |
parameter, |
|
|
const std::string & |
insertions, |
|
|
const std::string & |
file, |
|
|
const std::string & |
first_message_name, |
|
|
const std::string & |
parsed_file_list, |
|
|
const std::string & |
output_directory |
|
) |
| |
|
static |
◆ Generate() [1/2]
◆ Generate() [2/2]
◆ GetOutputFileContent() [1/4]
◆ GetOutputFileContent() [2/4]
◆ GetOutputFileContent() [3/4]
std::string google::protobuf::compiler::MockCodeGenerator::GetOutputFileContent |
( |
const std::string & |
generator_name, |
|
|
const std::string & |
parameter, |
|
|
const std::string & |
file, |
|
|
const std::string & |
parsed_file_list, |
|
|
const std::string & |
first_message_name |
|
) |
| |
|
staticprivate |
◆ GetOutputFileContent() [4/4]
static std::string google::protobuf::compiler::MockCodeGenerator::GetOutputFileContent |
( |
const std::string & |
generator_name, |
|
|
const std::string & |
parameter, |
|
|
const std::string & |
file, |
|
|
const std::string & |
parsed_file_list, |
|
|
const std::string & |
first_message_name |
|
) |
| |
|
staticprivate |
◆ GetOutputFileName() [1/4]
std::string google::protobuf::compiler::MockCodeGenerator::GetOutputFileName |
( |
const std::string & |
generator_name, |
|
|
const FileDescriptor * |
file |
|
) |
| |
|
static |
◆ GetOutputFileName() [2/4]
static std::string google::protobuf::compiler::MockCodeGenerator::GetOutputFileName |
( |
const std::string & |
generator_name, |
|
|
const FileDescriptor * |
file |
|
) |
| |
|
static |
◆ GetOutputFileName() [3/4]
std::string google::protobuf::compiler::MockCodeGenerator::GetOutputFileName |
( |
const std::string & |
generator_name, |
|
|
const std::string & |
file |
|
) |
| |
|
static |
◆ GetOutputFileName() [4/4]
static std::string google::protobuf::compiler::MockCodeGenerator::GetOutputFileName |
( |
const std::string & |
generator_name, |
|
|
const std::string & |
file |
|
) |
| |
|
static |
◆ GetSupportedFeatures()
uint64_t google::protobuf::compiler::MockCodeGenerator::GetSupportedFeatures |
( |
| ) |
const |
|
overridevirtual |
◆ SuppressFeatures()
void google::protobuf::compiler::MockCodeGenerator::SuppressFeatures |
( |
uint64_t |
features | ) |
|
◆ name_
std::string google::protobuf::compiler::MockCodeGenerator::name_ |
|
private |
◆ suppressed_features_
uint64_t google::protobuf::compiler::MockCodeGenerator::suppressed_features_ = 0 |
|
private |
The documentation for this class was generated from the following files: