Classes | Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | List of all members
google::protobuf::compiler::objectivec::ImportWriter Class Reference

#include <objectivec_helpers.h>

Classes

class  ProtoFrameworkCollector
 

Public Member Functions

void AddFile (const FileDescriptor *file, const std::string &header_extension)
 
void AddFile (const FileDescriptor *file, const string &header_extension)
 
 ImportWriter (const std::string &generate_for_named_framework, const std::string &named_framework_to_proto_path_mappings_path, const std::string &runtime_import_prefix, bool include_wkt_imports)
 
 ImportWriter (const string &generate_for_named_framework, const string &named_framework_to_proto_path_mappings_path, bool include_wkt_imports)
 
void Print (io::Printer *printer) const
 
void Print (io::Printer *printer) const
 
 ~ImportWriter ()
 
 ~ImportWriter ()
 

Static Public Member Functions

static void PrintRuntimeImports (io::Printer *printer, const std::vector< std::string > &header_to_import, const std::string &runtime_import_prefix, bool default_cpp_symbol=false)
 

Private Member Functions

void ParseFrameworkMappings ()
 
void ParseFrameworkMappings ()
 

Private Attributes

const string generate_for_named_framework_
 
const std::string generate_for_named_framework_
 
const bool include_wkt_imports_
 
const string named_framework_to_proto_path_mappings_path_
 
const std::string named_framework_to_proto_path_mappings_path_
 
bool need_to_parse_mapping_file_
 
std::vector< string > other_framework_imports_
 
std::vector< std::string > other_framework_imports_
 
std::vector< string > other_imports_
 
std::vector< std::string > other_imports_
 
std::map< string, string > proto_file_to_framework_name_
 
std::map< std::string, std::string > proto_file_to_framework_name_
 
std::vector< string > protobuf_framework_imports_
 
std::vector< std::string > protobuf_imports_
 
std::vector< string > protobuf_non_framework_imports_
 
const std::string runtime_import_prefix_
 

Detailed Description

Definition at line 274 of file bloaty/third_party/protobuf/src/google/protobuf/compiler/objectivec/objectivec_helpers.h.

Constructor & Destructor Documentation

◆ ImportWriter() [1/2]

google::protobuf::compiler::objectivec::ImportWriter::ImportWriter ( const string &  generate_for_named_framework,
const string &  named_framework_to_proto_path_mappings_path,
bool  include_wkt_imports 
)

◆ ~ImportWriter() [1/2]

google::protobuf::compiler::objectivec::ImportWriter::~ImportWriter ( )

◆ ImportWriter() [2/2]

google::protobuf::compiler::objectivec::ImportWriter::ImportWriter ( const std::string &  generate_for_named_framework,
const std::string &  named_framework_to_proto_path_mappings_path,
const std::string &  runtime_import_prefix,
bool  include_wkt_imports 
)

◆ ~ImportWriter() [2/2]

google::protobuf::compiler::objectivec::ImportWriter::~ImportWriter ( )

Member Function Documentation

◆ AddFile() [1/2]

void google::protobuf::compiler::objectivec::ImportWriter::AddFile ( const FileDescriptor file,
const std::string &  header_extension 
)

◆ AddFile() [2/2]

void google::protobuf::compiler::objectivec::ImportWriter::AddFile ( const FileDescriptor file,
const string &  header_extension 
)

◆ ParseFrameworkMappings() [1/2]

void google::protobuf::compiler::objectivec::ImportWriter::ParseFrameworkMappings ( )
private

◆ ParseFrameworkMappings() [2/2]

void google::protobuf::compiler::objectivec::ImportWriter::ParseFrameworkMappings ( )
private

◆ Print() [1/2]

void google::protobuf::compiler::objectivec::ImportWriter::Print ( io::Printer printer) const

◆ Print() [2/2]

void google::protobuf::compiler::objectivec::ImportWriter::Print ( io::Printer printer) const

◆ PrintRuntimeImports()

void google::protobuf::compiler::objectivec::ImportWriter::PrintRuntimeImports ( io::Printer printer,
const std::vector< std::string > &  header_to_import,
const std::string &  runtime_import_prefix,
bool  default_cpp_symbol = false 
)
static

Member Data Documentation

◆ generate_for_named_framework_ [1/2]

const string google::protobuf::compiler::objectivec::ImportWriter::generate_for_named_framework_
private

◆ generate_for_named_framework_ [2/2]

const std::string google::protobuf::compiler::objectivec::ImportWriter::generate_for_named_framework_
private

◆ include_wkt_imports_

const bool google::protobuf::compiler::objectivec::ImportWriter::include_wkt_imports_
private

◆ named_framework_to_proto_path_mappings_path_ [1/2]

const string google::protobuf::compiler::objectivec::ImportWriter::named_framework_to_proto_path_mappings_path_
private

◆ named_framework_to_proto_path_mappings_path_ [2/2]

const std::string google::protobuf::compiler::objectivec::ImportWriter::named_framework_to_proto_path_mappings_path_
private

◆ need_to_parse_mapping_file_

bool google::protobuf::compiler::objectivec::ImportWriter::need_to_parse_mapping_file_
private

◆ other_framework_imports_ [1/2]

std::vector<string> google::protobuf::compiler::objectivec::ImportWriter::other_framework_imports_
private

◆ other_framework_imports_ [2/2]

std::vector<std::string> google::protobuf::compiler::objectivec::ImportWriter::other_framework_imports_
private

◆ other_imports_ [1/2]

std::vector<string> google::protobuf::compiler::objectivec::ImportWriter::other_imports_
private

◆ other_imports_ [2/2]

std::vector<std::string> google::protobuf::compiler::objectivec::ImportWriter::other_imports_
private

◆ proto_file_to_framework_name_ [1/2]

std::map<string, string> google::protobuf::compiler::objectivec::ImportWriter::proto_file_to_framework_name_
private

◆ proto_file_to_framework_name_ [2/2]

std::map<std::string, std::string> google::protobuf::compiler::objectivec::ImportWriter::proto_file_to_framework_name_
private

◆ protobuf_framework_imports_

std::vector<string> google::protobuf::compiler::objectivec::ImportWriter::protobuf_framework_imports_
private

◆ protobuf_imports_

std::vector<std::string> google::protobuf::compiler::objectivec::ImportWriter::protobuf_imports_
private

◆ protobuf_non_framework_imports_

std::vector<string> google::protobuf::compiler::objectivec::ImportWriter::protobuf_non_framework_imports_
private

◆ runtime_import_prefix_

const std::string google::protobuf::compiler::objectivec::ImportWriter::runtime_import_prefix_
private

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


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