webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Member Functions | List of all members
rtc::Win32Filesystem Class Reference

#include <win32filesystem.h>

Inheritance diagram for rtc::Win32Filesystem:
rtc::FilesystemInterface rtc::FilesystemInterface

Public Member Functions

virtual FileStreamOpenFile (const Pathname &filename, const std::string &mode)
 
virtual bool DeleteFile (const Pathname &filename)
 
virtual bool DeleteEmptyFolder (const Pathname &folder)
 
virtual bool CreateFolder (const Pathname &pathname)
 
virtual bool MoveFile (const Pathname &old_path, const Pathname &new_path)
 
virtual bool CopyFile (const Pathname &old_path, const Pathname &new_path)
 
virtual bool IsFolder (const Pathname &pathname)
 
virtual bool IsFile (const Pathname &path)
 
virtual bool IsAbsent (const Pathname &pathname)
 
virtual bool IsTemporaryPath (const Pathname &pathname)
 
virtual std::string TempFilename (const Pathname &dir, const std::string &prefix)
 
virtual bool GetFileSize (const Pathname &path, size_t *size)
 
virtual bool GetFileTime (const Pathname &path, FileTimeType which, time_t *time)
 
virtual bool GetTemporaryFolder (Pathname &path, bool create, const std::string *append)
 
virtual bool GetAppTempFolder (Pathname *path)
 
virtual FileStreamOpenFile (const Pathname &filename, const std::string &mode)
 
virtual bool DeleteFile (const Pathname &filename)
 
virtual bool DeleteEmptyFolder (const Pathname &folder)
 
virtual bool CreateFolder (const Pathname &pathname)
 
virtual bool MoveFile (const Pathname &old_path, const Pathname &new_path)
 
virtual bool CopyFile (const Pathname &old_path, const Pathname &new_path)
 
virtual bool IsFolder (const Pathname &pathname)
 
virtual bool IsFile (const Pathname &path)
 
virtual bool IsAbsent (const Pathname &pathname)
 
virtual bool IsTemporaryPath (const Pathname &pathname)
 
virtual std::string TempFilename (const Pathname &dir, const std::string &prefix)
 
virtual bool GetFileSize (const Pathname &path, size_t *size)
 
virtual bool GetFileTime (const Pathname &path, FileTimeType which, time_t *time)
 
virtual bool GetTemporaryFolder (Pathname &path, bool create, const std::string *append)
 
virtual bool GetAppTempFolder (Pathname *path)
 
- Public Member Functions inherited from rtc::FilesystemInterface
virtual ~FilesystemInterface ()
 
virtual DirectoryIteratorIterateDirectory ()
 
virtual bool DeleteFolderContents (const Pathname &folder)
 
virtual bool DeleteFolderAndContents (const Pathname &folder)
 
void SetOrganizationName (const std::string &organization)
 
void GetOrganizationName (std::string *organization)
 
void SetApplicationName (const std::string &application)
 
void GetApplicationName (std::string *application)
 
virtual ~FilesystemInterface ()
 
virtual DirectoryIteratorIterateDirectory ()
 
virtual bool DeleteFolderContents (const Pathname &folder)
 
virtual bool DeleteFolderAndContents (const Pathname &folder)
 
void SetOrganizationName (const std::string &organization)
 
void GetOrganizationName (std::string *organization)
 
void SetApplicationName (const std::string &application)
 
void GetApplicationName (std::string *application)
 

Additional Inherited Members

- Protected Attributes inherited from rtc::FilesystemInterface
std::string organization_name_
 
std::string application_name_
 

Member Function Documentation

◆ CopyFile() [1/2]

bool rtc::Win32Filesystem::CopyFile ( const Pathname old_path,
const Pathname new_path 
)
virtual

◆ CopyFile() [2/2]

virtual bool rtc::Win32Filesystem::CopyFile ( const Pathname old_path,
const Pathname new_path 
)
virtual

◆ CreateFolder() [1/2]

virtual bool rtc::Win32Filesystem::CreateFolder ( const Pathname pathname)
virtual

◆ CreateFolder() [2/2]

bool rtc::Win32Filesystem::CreateFolder ( const Pathname pathname)
virtual

◆ DeleteEmptyFolder() [1/2]

bool rtc::Win32Filesystem::DeleteEmptyFolder ( const Pathname folder)
virtual

◆ DeleteEmptyFolder() [2/2]

virtual bool rtc::Win32Filesystem::DeleteEmptyFolder ( const Pathname folder)
virtual

◆ DeleteFile() [1/2]

virtual bool rtc::Win32Filesystem::DeleteFile ( const Pathname filename)
virtual

◆ DeleteFile() [2/2]

bool rtc::Win32Filesystem::DeleteFile ( const Pathname filename)
virtual

◆ GetAppTempFolder() [1/2]

bool rtc::Win32Filesystem::GetAppTempFolder ( Pathname path)
virtual

◆ GetAppTempFolder() [2/2]

virtual bool rtc::Win32Filesystem::GetAppTempFolder ( Pathname path)
virtual

◆ GetFileSize() [1/2]

bool rtc::Win32Filesystem::GetFileSize ( const Pathname path,
size_t size 
)
virtual

◆ GetFileSize() [2/2]

virtual bool rtc::Win32Filesystem::GetFileSize ( const Pathname path,
size_t size 
)
virtual

◆ GetFileTime() [1/2]

bool rtc::Win32Filesystem::GetFileTime ( const Pathname path,
FileTimeType  which,
time_t *  time 
)
virtual

◆ GetFileTime() [2/2]

virtual bool rtc::Win32Filesystem::GetFileTime ( const Pathname path,
FileTimeType  which,
time_t *  time 
)
virtual

◆ GetTemporaryFolder() [1/2]

virtual bool rtc::Win32Filesystem::GetTemporaryFolder ( Pathname path,
bool  create,
const std::string append 
)
virtual

◆ GetTemporaryFolder() [2/2]

bool rtc::Win32Filesystem::GetTemporaryFolder ( Pathname path,
bool  create,
const std::string append 
)
virtual

◆ IsAbsent() [1/2]

bool rtc::Win32Filesystem::IsAbsent ( const Pathname pathname)
virtual

◆ IsAbsent() [2/2]

virtual bool rtc::Win32Filesystem::IsAbsent ( const Pathname pathname)
virtual

◆ IsFile() [1/2]

bool rtc::Win32Filesystem::IsFile ( const Pathname path)
virtual

◆ IsFile() [2/2]

virtual bool rtc::Win32Filesystem::IsFile ( const Pathname path)
virtual

◆ IsFolder() [1/2]

bool rtc::Win32Filesystem::IsFolder ( const Pathname pathname)
virtual

◆ IsFolder() [2/2]

virtual bool rtc::Win32Filesystem::IsFolder ( const Pathname pathname)
virtual

◆ IsTemporaryPath() [1/2]

bool rtc::Win32Filesystem::IsTemporaryPath ( const Pathname pathname)
virtual

◆ IsTemporaryPath() [2/2]

virtual bool rtc::Win32Filesystem::IsTemporaryPath ( const Pathname pathname)
virtual

◆ MoveFile() [1/2]

bool rtc::Win32Filesystem::MoveFile ( const Pathname old_path,
const Pathname new_path 
)
virtual

◆ MoveFile() [2/2]

virtual bool rtc::Win32Filesystem::MoveFile ( const Pathname old_path,
const Pathname new_path 
)
virtual

◆ OpenFile() [1/2]

FileStream * rtc::Win32Filesystem::OpenFile ( const Pathname filename,
const std::string mode 
)
virtual

◆ OpenFile() [2/2]

virtual FileStream* rtc::Win32Filesystem::OpenFile ( const Pathname filename,
const std::string mode 
)
virtual

◆ TempFilename() [1/2]

std::string rtc::Win32Filesystem::TempFilename ( const Pathname dir,
const std::string prefix 
)
virtual

◆ TempFilename() [2/2]

virtual std::string rtc::Win32Filesystem::TempFilename ( const Pathname dir,
const std::string prefix 
)
virtual

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