webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Classes | Public Types | Public Member Functions | List of all members
google::protobuf::compiler::DiskSourceTree Class Reference

#include <importer.h>

Inheritance diagram for google::protobuf::compiler::DiskSourceTree:
google::protobuf::compiler::SourceTree

Public Types

enum  DiskFileToVirtualFileResult { SUCCESS, SHADOWED, CANNOT_OPEN, NO_MAPPING }
 

Public Member Functions

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

Member Enumeration Documentation

◆ DiskFileToVirtualFileResult

Enumerator
SUCCESS 
SHADOWED 
CANNOT_OPEN 
NO_MAPPING 

Constructor & Destructor Documentation

◆ DiskSourceTree()

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

◆ ~DiskSourceTree()

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

Member Function Documentation

◆ DiskFileToVirtualFile()

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

◆ GetLastErrorMessage()

string google::protobuf::compiler::DiskSourceTree::GetLastErrorMessage ( )
virtual

◆ MapPath()

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

◆ Open()

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

◆ VirtualFileToDiskFile()

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

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