|
virtual size_t | get_cache_block_size ()=0 |
|
virtual void | suggest_grow_cache (size_t suggestSize)=0 |
|
virtual bool | can_seek ()=0 |
|
void | ensure_local () |
|
void | ensure_seekable () |
|
| FB2K_MAKE_SERVICE_INTERFACE (file, service_base) |
|
virtual bool | get_content_type (pfc::string_base &p_out)=0 |
|
virtual t_filesize | get_position (abort_callback &p_abort)=0 |
|
t_filesize | get_remaining (abort_callback &p_abort) |
|
virtual t_filesize | get_size (abort_callback &p_abort)=0 |
|
t_filesize | get_size_ex (abort_callback &p_abort) |
|
t_filestats | get_stats (abort_callback &p_abort) |
|
virtual t_filetimestamp | get_timestamp (abort_callback &p_abort) |
|
bool | is_eof (abort_callback &p_abort) |
|
virtual bool | is_in_memory () |
|
virtual bool | is_remote ()=0 |
|
virtual void | on_idle (abort_callback &p_abort) |
|
void | probe_remaining (t_filesize bytes, abort_callback &p_abort) |
|
virtual void | reopen (abort_callback &p_abort)=0 |
|
virtual void | resize (t_filesize p_size, abort_callback &p_abort)=0 |
|
virtual void | seek (t_filesize p_position, abort_callback &p_abort)=0 |
|
virtual void | seek_ex (t_sfilesize p_position, t_seek_mode p_mode, abort_callback &p_abort) |
|
void | seek_probe (t_filesize p_position, abort_callback &p_abort) |
|
void | set_eof (abort_callback &p_abort) |
|
t_filesize | skip (t_filesize p_bytes, abort_callback &p_abort) |
|
t_filesize | skip_seek (t_filesize p_bytes, abort_callback &p_abort) |
|
void | truncate (t_filesize p_position, abort_callback &p_abort) |
|
template<typename outPtr_t > |
bool | cast (outPtr_t &outPtr) |
|
virtual int | service_add_ref ()=0 throw () |
|
virtual bool | service_query (service_ptr_t< service_base > &p_out, const GUID &p_guid) |
|
template<class T > |
bool | service_query_t (service_ptr_t< T > &p_out) |
|
virtual int | service_release ()=0 throw () |
|
virtual t_size | read (void *p_buffer, t_size p_bytes, abort_callback &p_abort)=0 |
|
template<typename T > |
void | read_bendian_t (T &p_object, abort_callback &p_abort) |
|
template<typename T > |
void | read_lendian_t (T &p_object, abort_callback &p_abort) |
|
virtual void | read_object (void *p_buffer, t_size p_bytes, abort_callback &p_abort) |
|
template<typename T > |
void | read_object_t (T &p_object, abort_callback &p_abort) |
|
void | read_string (pfc::string_base &p_out, abort_callback &p_abort) |
|
pfc::string | read_string (abort_callback &p_abort) |
|
void | read_string_ex (pfc::string_base &p_out, t_size p_bytes, abort_callback &p_abort) |
|
pfc::string | read_string_ex (t_size p_len, abort_callback &p_abort) |
|
void | read_string_nullterm (pfc::string_base &out, abort_callback &abort) |
|
void | read_string_raw (pfc::string_base &p_out, abort_callback &p_abort) |
|
template<typename t_outArray > |
void | read_till_eof (t_outArray &out, abort_callback &abort) |
|
virtual void | skip_object (t_filesize p_bytes, abort_callback &p_abort) |
|
t_filesize | skip_till_eof (abort_callback &abort) |
|
virtual void | write (const void *p_buffer, t_size p_bytes, abort_callback &p_abort)=0 |
|
template<typename T > |
void | write_bendian_t (const T &p_object, abort_callback &p_abort) |
|
template<typename T > |
void | write_lendian_t (const T &p_object, abort_callback &p_abort) |
|
void | write_object (const void *p_buffer, t_size p_bytes, abort_callback &p_abort) |
|
template<typename T > |
void | write_object_t (const T &p_object, abort_callback &p_abort) |
|
void | write_string (const char *p_string, abort_callback &p_abort) |
|
void | write_string (const char *p_string, t_size p_len, abort_callback &p_abort) |
|
template<typename T > |
void | write_string (const T &val, abort_callback &p_abort) |
|
void | write_string_nullterm (const char *p_string, abort_callback &p_abort) |
|
void | write_string_raw (const char *p_string, abort_callback &p_abort) |
|
|
static file::ptr | g_create (service_ptr_t< file > p_base, abort_callback &p_abort, t_size blockSize) |
|
static void | g_create (service_ptr_t< file > &p_out, service_ptr_t< file > p_base, abort_callback &p_abort, t_size blockSize) |
|
static void | g_decodeInitCache (file::ptr &theFile, abort_callback &abort, size_t blockSize) |
|
static t_filesize | g_transfer (stream_reader *src, stream_writer *dst, t_filesize bytes, abort_callback &p_abort) |
|
static t_filesize | g_transfer (service_ptr_t< file > p_src, service_ptr_t< file > p_dst, t_filesize p_bytes, abort_callback &p_abort) |
|
static void | g_transfer_file (const service_ptr_t< file > &p_from, const service_ptr_t< file > &p_to, abort_callback &p_abort) |
|
static void | g_transfer_object (stream_reader *src, stream_writer *dst, t_filesize bytes, abort_callback &p_abort) |
|
static void | g_transfer_object (service_ptr_t< file > p_src, service_ptr_t< file > p_dst, t_filesize p_bytes, abort_callback &p_abort) |
|
Extension for cached file access - allows callers to know that they're dealing with a cache layer, to prevent cache duplication.
Definition at line 339 of file filesystem.h.