Classes | Public Types | Public Member Functions | Private Member Functions | Private Attributes | List of all members
google::protobuf::compiler::DiskSourceTree Class Reference

#include <importer.h>

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

Classes

struct  Mapping
 

Public Types

enum  DiskFileToVirtualFileResult {
  SUCCESS, SHADOWED, CANNOT_OPEN, NO_MAPPING,
  SUCCESS, SHADOWED, CANNOT_OPEN, NO_MAPPING
}
 
enum  DiskFileToVirtualFileResult {
  SUCCESS, SHADOWED, CANNOT_OPEN, NO_MAPPING,
  SUCCESS, SHADOWED, CANNOT_OPEN, NO_MAPPING
}
 

Public Member Functions

DiskFileToVirtualFileResult DiskFileToVirtualFile (const std::string &disk_file, std::string *virtual_file, std::string *shadowing_disk_file)
 
DiskFileToVirtualFileResult DiskFileToVirtualFile (const std::string &disk_file, std::string *virtual_file, std::string *shadowing_disk_file)
 
 DiskSourceTree ()
 
 DiskSourceTree ()
 
std::string GetLastErrorMessage () override
 
std::string GetLastErrorMessage () override
 
void MapPath (const std::string &virtual_path, const std::string &disk_path)
 
void MapPath (const std::string &virtual_path, const std::string &disk_path)
 
io::ZeroCopyInputStreamOpen (const std::string &filename) override
 
io::ZeroCopyInputStreamOpen (const std::string &filename) override
 
bool VirtualFileToDiskFile (const std::string &virtual_file, std::string *disk_file)
 
bool VirtualFileToDiskFile (const std::string &virtual_file, std::string *disk_file)
 
 ~DiskSourceTree ()
 
 ~DiskSourceTree ()
 
- Public Member Functions inherited from google::protobuf::compiler::SourceTree
 SourceTree ()
 
 SourceTree ()
 
virtual ~SourceTree ()
 
virtual ~SourceTree ()
 

Private Member Functions

 GOOGLE_DISALLOW_EVIL_CONSTRUCTORS (DiskSourceTree)
 
 GOOGLE_DISALLOW_EVIL_CONSTRUCTORS (DiskSourceTree)
 
io::ZeroCopyInputStreamOpenDiskFile (const std::string &filename)
 
io::ZeroCopyInputStreamOpenDiskFile (const std::string &filename)
 
io::ZeroCopyInputStreamOpenVirtualFile (const std::string &virtual_file, std::string *disk_file)
 
io::ZeroCopyInputStreamOpenVirtualFile (const std::string &virtual_file, std::string *disk_file)
 

Private Attributes

std::string last_error_message_
 
std::vector< Mappingmappings_
 

Detailed Description

Definition at line 240 of file bloaty/third_party/protobuf/src/google/protobuf/compiler/importer.h.

Member Enumeration Documentation

◆ DiskFileToVirtualFileResult [1/2]

Enumerator
SUCCESS 
SHADOWED 
CANNOT_OPEN 
NO_MAPPING 
SUCCESS 
SHADOWED 
CANNOT_OPEN 
NO_MAPPING 

Definition at line 264 of file bloaty/third_party/protobuf/src/google/protobuf/compiler/importer.h.

◆ DiskFileToVirtualFileResult [2/2]

Enumerator
SUCCESS 
SHADOWED 
CANNOT_OPEN 
NO_MAPPING 
SUCCESS 
SHADOWED 
CANNOT_OPEN 
NO_MAPPING 

Definition at line 265 of file protobuf/src/google/protobuf/compiler/importer.h.

Constructor & Destructor Documentation

◆ DiskSourceTree() [1/2]

google::protobuf::compiler::DiskSourceTree::DiskSourceTree ( )

◆ ~DiskSourceTree() [1/2]

google::protobuf::compiler::DiskSourceTree::~DiskSourceTree ( )

◆ DiskSourceTree() [2/2]

google::protobuf::compiler::DiskSourceTree::DiskSourceTree ( )

◆ ~DiskSourceTree() [2/2]

google::protobuf::compiler::DiskSourceTree::~DiskSourceTree ( )

Member Function Documentation

◆ DiskFileToVirtualFile() [1/2]

DiskSourceTree::DiskFileToVirtualFileResult google::protobuf::compiler::DiskSourceTree::DiskFileToVirtualFile ( const std::string &  disk_file,
std::string *  virtual_file,
std::string *  shadowing_disk_file 
)

◆ DiskFileToVirtualFile() [2/2]

DiskFileToVirtualFileResult google::protobuf::compiler::DiskSourceTree::DiskFileToVirtualFile ( const std::string &  disk_file,
std::string *  virtual_file,
std::string *  shadowing_disk_file 
)

◆ GetLastErrorMessage() [1/2]

std::string google::protobuf::compiler::DiskSourceTree::GetLastErrorMessage ( )
overridevirtual

◆ GetLastErrorMessage() [2/2]

std::string google::protobuf::compiler::DiskSourceTree::GetLastErrorMessage ( )
overridevirtual

◆ GOOGLE_DISALLOW_EVIL_CONSTRUCTORS() [1/2]

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

◆ GOOGLE_DISALLOW_EVIL_CONSTRUCTORS() [2/2]

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

◆ MapPath() [1/2]

void google::protobuf::compiler::DiskSourceTree::MapPath ( const std::string &  virtual_path,
const std::string &  disk_path 
)

◆ MapPath() [2/2]

void google::protobuf::compiler::DiskSourceTree::MapPath ( const std::string &  virtual_path,
const std::string &  disk_path 
)

◆ Open() [1/2]

io::ZeroCopyInputStream * google::protobuf::compiler::DiskSourceTree::Open ( const std::string &  filename)
overridevirtual

◆ Open() [2/2]

io::ZeroCopyInputStream* google::protobuf::compiler::DiskSourceTree::Open ( const std::string &  filename)
overridevirtual

◆ OpenDiskFile() [1/2]

io::ZeroCopyInputStream * google::protobuf::compiler::DiskSourceTree::OpenDiskFile ( const std::string &  filename)
private

◆ OpenDiskFile() [2/2]

io::ZeroCopyInputStream* google::protobuf::compiler::DiskSourceTree::OpenDiskFile ( const std::string &  filename)
private

◆ OpenVirtualFile() [1/2]

io::ZeroCopyInputStream * google::protobuf::compiler::DiskSourceTree::OpenVirtualFile ( const std::string &  virtual_file,
std::string *  disk_file 
)
private

◆ OpenVirtualFile() [2/2]

io::ZeroCopyInputStream* google::protobuf::compiler::DiskSourceTree::OpenVirtualFile ( const std::string &  virtual_file,
std::string *  disk_file 
)
private

◆ VirtualFileToDiskFile() [1/2]

bool google::protobuf::compiler::DiskSourceTree::VirtualFileToDiskFile ( const std::string &  virtual_file,
std::string *  disk_file 
)

◆ VirtualFileToDiskFile() [2/2]

bool google::protobuf::compiler::DiskSourceTree::VirtualFileToDiskFile ( const std::string &  virtual_file,
std::string *  disk_file 
)

Member Data Documentation

◆ last_error_message_

std::string google::protobuf::compiler::DiskSourceTree::last_error_message_
private

◆ mappings_

std::vector< Mapping > google::protobuf::compiler::DiskSourceTree::mappings_
private

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


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