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

#include <file.h>

Public Member Functions

 File (PlatformFile)
 
 File ()
 
 ~File ()
 
 File (File &&other)
 
Fileoperator= (File &&other)
 
size_t Write (const uint8_t *data, size_t length)
 
size_t Read (uint8_t *buffer, size_t length)
 
size_t WriteAt (const uint8_t *data, size_t length, size_t offset)
 
size_t ReadAt (uint8_t *buffer, size_t length, size_t offset)
 
bool Seek (size_t offset)
 
bool Close ()
 
bool IsOpen ()
 
 File (PlatformFile)
 
 File ()
 
 ~File ()
 
 File (File &&other)
 
Fileoperator= (File &&other)
 
size_t Write (const uint8_t *data, size_t length)
 
size_t Read (uint8_t *buffer, size_t length)
 
size_t WriteAt (const uint8_t *data, size_t length, size_t offset)
 
size_t ReadAt (uint8_t *buffer, size_t length, size_t offset)
 
bool Seek (size_t offset)
 
bool Close ()
 
bool IsOpen ()
 

Static Public Member Functions

static File Open (const std::string &path)
 
static File Open (Pathname &&path)
 
static File Open (const Pathname &path)
 
static File Create (const std::string &path)
 
static File Create (Pathname &&path)
 
static File Create (const Pathname &path)
 
static bool Remove (const std::string &path)
 
static bool Remove (Pathname &&path)
 
static bool Remove (const Pathname &path)
 
static File Open (const std::string &path)
 
static File Open (Pathname &&path)
 
static File Open (const Pathname &path)
 
static File Create (const std::string &path)
 
static File Create (Pathname &&path)
 
static File Create (const Pathname &path)
 
static bool Remove (const std::string &path)
 
static bool Remove (Pathname &&path)
 
static bool Remove (const Pathname &path)
 

Constructor & Destructor Documentation

◆ File() [1/6]

File::File ( PlatformFile  file)
explicit

◆ File() [2/6]

File::File ( )

◆ ~File() [1/2]

File::~File ( )

◆ File() [3/6]

File::File ( File &&  other)

◆ File() [4/6]

rtc::File::File ( PlatformFile  )
explicit

◆ File() [5/6]

rtc::File::File ( )

◆ ~File() [2/2]

rtc::File::~File ( )

◆ File() [6/6]

rtc::File::File ( File &&  other)

Member Function Documentation

◆ Close() [1/2]

bool File::Close ( )

◆ Close() [2/2]

bool rtc::File::Close ( )

◆ Create() [1/6]

File File::Create ( const std::string path)
static

◆ Create() [2/6]

static File rtc::File::Create ( const std::string path)
static

◆ Create() [3/6]

static File rtc::File::Create ( Pathname &&  path)
static

◆ Create() [4/6]

File File::Create ( Pathname &&  path)
static

◆ Create() [5/6]

static File rtc::File::Create ( const Pathname path)
static

◆ Create() [6/6]

File File::Create ( const Pathname path)
static

◆ IsOpen() [1/2]

bool File::IsOpen ( )

◆ IsOpen() [2/2]

bool rtc::File::IsOpen ( )

◆ Open() [1/6]

File File::Open ( const std::string path)
static

◆ Open() [2/6]

static File rtc::File::Open ( const std::string path)
static

◆ Open() [3/6]

static File rtc::File::Open ( Pathname &&  path)
static

◆ Open() [4/6]

File File::Open ( Pathname &&  path)
static

◆ Open() [5/6]

File File::Open ( const Pathname path)
static

◆ Open() [6/6]

static File rtc::File::Open ( const Pathname path)
static

◆ operator=() [1/2]

File & File::operator= ( File &&  other)

◆ operator=() [2/2]

File& rtc::File::operator= ( File &&  other)

◆ Read() [1/2]

size_t File::Read ( uint8_t buffer,
size_t  length 
)

◆ Read() [2/2]

size_t rtc::File::Read ( uint8_t buffer,
size_t  length 
)

◆ ReadAt() [1/2]

size_t File::ReadAt ( uint8_t buffer,
size_t  length,
size_t  offset 
)

◆ ReadAt() [2/2]

size_t rtc::File::ReadAt ( uint8_t buffer,
size_t  length,
size_t  offset 
)

◆ Remove() [1/6]

bool File::Remove ( const std::string path)
static

◆ Remove() [2/6]

static bool rtc::File::Remove ( const std::string path)
static

◆ Remove() [3/6]

bool File::Remove ( Pathname &&  path)
static

◆ Remove() [4/6]

static bool rtc::File::Remove ( Pathname &&  path)
static

◆ Remove() [5/6]

static bool rtc::File::Remove ( const Pathname path)
static

◆ Remove() [6/6]

bool File::Remove ( const Pathname path)
static

◆ Seek() [1/2]

bool rtc::File::Seek ( size_t  offset)

◆ Seek() [2/2]

bool File::Seek ( size_t  offset)

◆ Write() [1/2]

size_t rtc::File::Write ( const uint8_t data,
size_t  length 
)

◆ Write() [2/2]

size_t File::Write ( const uint8_t data,
size_t  length 
)

◆ WriteAt() [1/2]

size_t File::WriteAt ( const uint8_t data,
size_t  length,
size_t  offset 
)

◆ WriteAt() [2/2]

size_t rtc::File::WriteAt ( const uint8_t data,
size_t  length,
size_t  offset 
)

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