#include <command_line_interface.h>
|
void | Clear () |
|
bool | EncodeOrDecode (const DescriptorPool *pool) |
|
bool | ExpandArgumentFile (const std::string &file, std::vector< std::string > *arguments) |
|
bool | GenerateDependencyManifestFile (const std::vector< const FileDescriptor * > &parsed_files, const GeneratorContextMap &output_directories, DiskSourceTree *source_tree) |
|
bool | GenerateOutput (const std::vector< const FileDescriptor * > &parsed_files, const OutputDirective &output_directive, GeneratorContext *generator_context) |
|
bool | GeneratePluginOutput (const std::vector< const FileDescriptor * > &parsed_files, const std::string &plugin_name, const std::string ¶meter, GeneratorContext *generator_context, std::string *error) |
|
| GOOGLE_DISALLOW_EVIL_CONSTRUCTORS (CommandLineInterface) |
|
bool | InitializeDiskSourceTree (DiskSourceTree *source_tree, DescriptorDatabase *fallback_database) |
|
ParseArgumentStatus | InterpretArgument (const std::string &name, const std::string &value) |
|
bool | MakeInputsBeProtoPathRelative (DiskSourceTree *source_tree, DescriptorDatabase *fallback_database) |
|
bool | MakeProtoProtoPathRelative (DiskSourceTree *source_tree, std::string *proto, DescriptorDatabase *fallback_database) |
|
bool | ParseArgument (const char *arg, std::string *name, std::string *value) |
|
ParseArgumentStatus | ParseArguments (int argc, const char *const argv[]) |
|
bool | ParseInputFiles (DescriptorPool *descriptor_pool, std::vector< const FileDescriptor * > *parsed_files) |
|
bool | PopulateSimpleDescriptorDatabase (SimpleDescriptorDatabase *database) |
|
void | PrintFreeFieldNumbers (const Descriptor *descriptor) |
|
void | PrintHelpText () |
|
bool | VerifyInputFilesInDescriptors (DescriptorDatabase *fallback_database) |
|
bool | WriteDescriptorSet (const std::vector< const FileDescriptor * > &parsed_files) |
|
Definition at line 109 of file command_line_interface.h.
◆ GeneratorContextMap
◆ GeneratorMap
◆ ErrorFormat
◆ Mode
◆ ParseArgumentStatus
Enumerator |
---|
PARSE_ARGUMENT_DONE_AND_CONTINUE | |
PARSE_ARGUMENT_DONE_AND_EXIT | |
PARSE_ARGUMENT_FAIL | |
Definition at line 230 of file command_line_interface.h.
◆ PrintMode
◆ CommandLineInterface()
google::protobuf::compiler::CommandLineInterface::CommandLineInterface |
( |
| ) |
|
◆ ~CommandLineInterface()
google::protobuf::compiler::CommandLineInterface::~CommandLineInterface |
( |
| ) |
|
◆ AllowPlugins()
void google::protobuf::compiler::CommandLineInterface::AllowPlugins |
( |
const std::string & |
exe_name_prefix | ) |
|
◆ Clear()
void google::protobuf::compiler::CommandLineInterface::Clear |
( |
| ) |
|
|
private |
◆ EncodeOrDecode()
bool google::protobuf::compiler::CommandLineInterface::EncodeOrDecode |
( |
const DescriptorPool * |
pool | ) |
|
|
private |
◆ ExpandArgumentFile()
bool google::protobuf::compiler::CommandLineInterface::ExpandArgumentFile |
( |
const std::string & |
file, |
|
|
std::vector< std::string > * |
arguments |
|
) |
| |
|
private |
◆ GenerateDependencyManifestFile()
◆ GenerateOutput()
◆ GeneratePluginOutput()
◆ GetTransitiveDependencies()
◆ GOOGLE_DISALLOW_EVIL_CONSTRUCTORS()
google::protobuf::compiler::CommandLineInterface::GOOGLE_DISALLOW_EVIL_CONSTRUCTORS |
( |
CommandLineInterface |
| ) |
|
|
private |
◆ InitializeDiskSourceTree()
◆ InterpretArgument()
◆ MakeInputsBeProtoPathRelative()
◆ MakeProtoProtoPathRelative()
◆ ParseArgument()
bool google::protobuf::compiler::CommandLineInterface::ParseArgument |
( |
const char * |
arg, |
|
|
std::string * |
name, |
|
|
std::string * |
value |
|
) |
| |
|
private |
◆ ParseArguments()
◆ ParseInputFiles()
bool google::protobuf::compiler::CommandLineInterface::ParseInputFiles |
( |
DescriptorPool * |
descriptor_pool, |
|
|
std::vector< const FileDescriptor * > * |
parsed_files |
|
) |
| |
|
private |
◆ PopulateSimpleDescriptorDatabase()
bool google::protobuf::compiler::CommandLineInterface::PopulateSimpleDescriptorDatabase |
( |
SimpleDescriptorDatabase * |
database | ) |
|
|
private |
◆ PrintFreeFieldNumbers()
void google::protobuf::compiler::CommandLineInterface::PrintFreeFieldNumbers |
( |
const Descriptor * |
descriptor | ) |
|
|
private |
◆ PrintHelpText()
void google::protobuf::compiler::CommandLineInterface::PrintHelpText |
( |
| ) |
|
|
private |
◆ RegisterGenerator() [1/2]
◆ RegisterGenerator() [2/2]
◆ Run()
int google::protobuf::compiler::CommandLineInterface::Run |
( |
int |
argc, |
|
|
const char *const |
argv[] |
|
) |
| |
◆ SetInputsAreProtoPathRelative()
void google::protobuf::compiler::CommandLineInterface::SetInputsAreProtoPathRelative |
( |
bool |
| ) |
|
|
inline |
◆ SetVersionInfo()
void google::protobuf::compiler::CommandLineInterface::SetVersionInfo |
( |
const std::string & |
text | ) |
|
|
inline |
◆ VerifyInputFilesInDescriptors()
bool google::protobuf::compiler::CommandLineInterface::VerifyInputFilesInDescriptors |
( |
DescriptorDatabase * |
fallback_database | ) |
|
|
private |
◆ WriteDescriptorSet()
bool google::protobuf::compiler::CommandLineInterface::WriteDescriptorSet |
( |
const std::vector< const FileDescriptor * > & |
parsed_files | ) |
|
|
private |
◆ codec_type_
std::string google::protobuf::compiler::CommandLineInterface::codec_type_ |
|
private |
◆ dependency_out_name_
std::string google::protobuf::compiler::CommandLineInterface::dependency_out_name_ |
|
private |
◆ descriptor_set_in_names_
std::vector<std::string> google::protobuf::compiler::CommandLineInterface::descriptor_set_in_names_ |
|
private |
◆ descriptor_set_out_name_
std::string google::protobuf::compiler::CommandLineInterface::descriptor_set_out_name_ |
|
private |
◆ direct_dependencies_
◆ direct_dependencies_explicitly_set_
bool google::protobuf::compiler::CommandLineInterface::direct_dependencies_explicitly_set_ |
|
private |
◆ direct_dependencies_violation_msg_
std::string google::protobuf::compiler::CommandLineInterface::direct_dependencies_violation_msg_ |
|
private |
◆ disallow_services_
bool google::protobuf::compiler::CommandLineInterface::disallow_services_ |
|
private |
◆ error_format_
ErrorFormat google::protobuf::compiler::CommandLineInterface::error_format_ |
|
private |
◆ executable_name_
std::string google::protobuf::compiler::CommandLineInterface::executable_name_ |
|
private |
◆ generator_parameters_
◆ generators_by_flag_name_
GeneratorMap google::protobuf::compiler::CommandLineInterface::generators_by_flag_name_ |
|
private |
◆ generators_by_option_name_
GeneratorMap google::protobuf::compiler::CommandLineInterface::generators_by_option_name_ |
|
private |
◆ imports_in_descriptor_set_
bool google::protobuf::compiler::CommandLineInterface::imports_in_descriptor_set_ |
|
private |
◆ input_files_
std::vector<std::string> google::protobuf::compiler::CommandLineInterface::input_files_ |
|
private |
◆ kPathSeparator
const char *const google::protobuf::compiler::CommandLineInterface::kPathSeparator = ":" |
|
static |
◆ mode_
Mode google::protobuf::compiler::CommandLineInterface::mode_ |
|
private |
◆ output_directives_
std::vector<OutputDirective> google::protobuf::compiler::CommandLineInterface::output_directives_ |
|
private |
◆ plugin_parameters_
◆ plugin_prefix_
std::string google::protobuf::compiler::CommandLineInterface::plugin_prefix_ |
|
private |
◆ plugins_
◆ print_mode_
PrintMode google::protobuf::compiler::CommandLineInterface::print_mode_ |
|
private |
◆ proto_path_
std::vector<std::pair<std::string, std::string> > google::protobuf::compiler::CommandLineInterface::proto_path_ |
|
private |
◆ source_info_in_descriptor_set_
bool google::protobuf::compiler::CommandLineInterface::source_info_in_descriptor_set_ |
|
private |
◆ version_info_
std::string google::protobuf::compiler::CommandLineInterface::version_info_ |
|
private |
The documentation for this class was generated from the following files: