Public Member Functions | Private Attributes | Friends | List of all members
google::protobuf::compiler::CommandLineInterface::GeneratorContextImpl Class Reference
Inheritance diagram for google::protobuf::compiler::CommandLineInterface::GeneratorContextImpl:
Inheritance graph
[legend]

Public Member Functions

void AddJarManifest ()
 
 GeneratorContextImpl (const std::vector< const FileDescriptor * > &parsed_files)
 
void GetOutputFilenames (std::vector< std::string > *output_filenames)
 
void ListParsedFiles (std::vector< const FileDescriptor * > *output)
 
io::ZeroCopyOutputStreamOpen (const std::string &filename)
 
io::ZeroCopyOutputStreamOpenForAppend (const std::string &filename)
 
io::ZeroCopyOutputStreamOpenForInsert (const std::string &filename, const std::string &insertion_point)
 
bool WriteAllToDisk (const std::string &prefix)
 
bool WriteAllToZip (const std::string &filename)
 
 ~GeneratorContextImpl ()
 
- Public Member Functions inherited from google::protobuf::compiler::GeneratorContext
 GeneratorContext ()
 
virtual void GetCompilerVersion (Version *version) const
 
virtual ~GeneratorContext ()
 

Private Attributes

std::map< std::string, std::string * > files_
 
bool had_error_
 
const std::vector< const FileDescriptor * > & parsed_files_
 

Friends

class MemoryOutputStream
 

Detailed Description

Definition at line 366 of file command_line_interface.cc.

Constructor & Destructor Documentation

◆ GeneratorContextImpl()

google::protobuf::compiler::CommandLineInterface::GeneratorContextImpl::GeneratorContextImpl ( const std::vector< const FileDescriptor * > &  parsed_files)

Definition at line 445 of file command_line_interface.cc.

◆ ~GeneratorContextImpl()

google::protobuf::compiler::CommandLineInterface::GeneratorContextImpl::~GeneratorContextImpl ( )

Definition at line 449 of file command_line_interface.cc.

Member Function Documentation

◆ AddJarManifest()

void google::protobuf::compiler::CommandLineInterface::GeneratorContextImpl::AddJarManifest ( )

Definition at line 571 of file command_line_interface.cc.

◆ GetOutputFilenames()

void google::protobuf::compiler::CommandLineInterface::GeneratorContextImpl::GetOutputFilenames ( std::vector< std::string > *  output_filenames)

Definition at line 581 of file command_line_interface.cc.

◆ ListParsedFiles()

void google::protobuf::compiler::CommandLineInterface::GeneratorContextImpl::ListParsedFiles ( std::vector< const FileDescriptor * > *  output)
inlinevirtual

Reimplemented from google::protobuf::compiler::GeneratorContext.

Definition at line 391 of file command_line_interface.cc.

◆ Open()

io::ZeroCopyOutputStream * google::protobuf::compiler::CommandLineInterface::GeneratorContextImpl::Open ( const std::string filename)
virtual

◆ OpenForAppend()

io::ZeroCopyOutputStream * google::protobuf::compiler::CommandLineInterface::GeneratorContextImpl::OpenForAppend ( const std::string filename)
virtual

Reimplemented from google::protobuf::compiler::GeneratorContext.

Definition at line 595 of file command_line_interface.cc.

◆ OpenForInsert()

io::ZeroCopyOutputStream * google::protobuf::compiler::CommandLineInterface::GeneratorContextImpl::OpenForInsert ( const std::string filename,
const std::string insertion_point 
)
virtual

Reimplemented from google::protobuf::compiler::GeneratorContext.

Definition at line 601 of file command_line_interface.cc.

◆ WriteAllToDisk()

bool google::protobuf::compiler::CommandLineInterface::GeneratorContextImpl::WriteAllToDisk ( const std::string prefix)

Definition at line 453 of file command_line_interface.cc.

◆ WriteAllToZip()

bool google::protobuf::compiler::CommandLineInterface::GeneratorContextImpl::WriteAllToZip ( const std::string filename)

Definition at line 529 of file command_line_interface.cc.

Friends And Related Function Documentation

◆ MemoryOutputStream

friend class MemoryOutputStream
friend

Definition at line 396 of file command_line_interface.cc.

Member Data Documentation

◆ files_

std::map<std::string, std::string*> google::protobuf::compiler::CommandLineInterface::GeneratorContextImpl::files_
private

Definition at line 400 of file command_line_interface.cc.

◆ had_error_

bool google::protobuf::compiler::CommandLineInterface::GeneratorContextImpl::had_error_
private

Definition at line 402 of file command_line_interface.cc.

◆ parsed_files_

const std::vector<const FileDescriptor*>& google::protobuf::compiler::CommandLineInterface::GeneratorContextImpl::parsed_files_
private

Definition at line 401 of file command_line_interface.cc.


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


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