Public Member Functions | List of all members
pp::FileIO_Private Class Reference

#include <file_io_private.h>

Inheritance diagram for pp::FileIO_Private:
Inheritance graph
Collaboration diagram for pp::FileIO_Private:
Collaboration graph

Public Member Functions

 FileIO_Private ()
 FileIO_Private (const InstanceHandle &instance)
int32_t RequestOSFileHandle (const CompletionCallbackWithOutput< PassFileHandle > &cc)
- Public Member Functions inherited from pp::FileIO
 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 ()
- Public Member Functions inherited from pp::Resource
 Resource ()
 The default constructor. More...
 Resource (const Resource &other)
virtual ~Resource ()
 Destructor. More...
Resourceoperator= (const Resource &other)
bool is_null () const
PP_Resource pp_resource () const
PP_Resource detach ()

Additional Inherited Members

- Protected Member Functions inherited from pp::Resource
 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...

Detailed Description

Definition at line 18 of file file_io_private.h.

Constructor & Destructor Documentation

pp::FileIO_Private::FileIO_Private ( )
pp::FileIO_Private::FileIO_Private ( const InstanceHandle instance)

Member Function Documentation

int32_t pp::FileIO_Private::RequestOSFileHandle ( const CompletionCallbackWithOutput< PassFileHandle > &  cc)

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