Pepper_47_C++_interfaces
|
#include <file_io_private.h>
Public Member Functions | |
FileIO_Private () | |
FileIO_Private (const InstanceHandle &instance) | |
int32_t | RequestOSFileHandle (const CompletionCallbackWithOutput< PassFileHandle > &cc) |
![]() | |
FileIO () | |
FileIO (const InstanceHandle &instance) | |
FileIO (const FileIO &other) | |
int32_t | Open (const FileRef &file_ref, int32_t open_flags, const CompletionCallback &cc) |
int32_t | Query (PP_FileInfo *result_buf, const CompletionCallback &cc) |
int32_t | Touch (PP_Time last_access_time, PP_Time last_modified_time, const CompletionCallback &cc) |
int32_t | Read (int64_t offset, char *buffer, int32_t bytes_to_read, const CompletionCallback &cc) |
int32_t | Read (int32_t offset, int32_t max_read_length, const CompletionCallbackWithOutput< std::vector< char > > &cc) |
int32_t | Write (int64_t offset, const char *buffer, int32_t bytes_to_write, const CompletionCallback &cc) |
int32_t | SetLength (int64_t length, const CompletionCallback &cc) |
int32_t | Flush (const CompletionCallback &cc) |
void | Close () |
![]() | |
Resource () | |
The default constructor. More... | |
Resource (const Resource &other) | |
virtual | ~Resource () |
Destructor. More... | |
Resource & | operator= (const Resource &other) |
bool | is_null () const |
PP_Resource | pp_resource () const |
PP_Resource | detach () |
Additional Inherited Members | |
![]() | |
Resource (PP_Resource resource) | |
Resource (PassRef, PP_Resource resource) | |
void | PassRefFromConstructor (PP_Resource resource) |
void | Clear () |
Sets this resource to null. This releases ownership of the resource. More... | |
Definition at line 18 of file file_io_private.h.
pp::FileIO_Private::FileIO_Private | ( | ) |
Definition at line 22 of file file_io_private.cc.
|
explicit |
Definition at line 26 of file file_io_private.cc.
int32_t pp::FileIO_Private::RequestOSFileHandle | ( | const CompletionCallbackWithOutput< PassFileHandle > & | cc | ) |
Definition at line 30 of file file_io_private.cc.
References pp::CompletionCallback::MayForce(), pp::CompletionCallbackWithOutput< T >::output(), pp::CompletionCallback::pp_completion_callback(), and pp::Resource::pp_resource().