foobar2000 SDK  2015-01-14
Public Member Functions | Static Public Member Functions
file_chain_readonly

#include <filesystem_helper.h>

+ Inheritance diagram for file_chain_readonly:

Public Member Functions

 file_chain_readonly (file::ptr chain)
 
void resize (t_filesize p_size, abort_callback &p_abort)
 
void write (const void *p_buffer, t_size p_bytes, abort_callback &p_abort)
 
- Public Member Functions inherited from file_chain
 file_chain (file::ptr chain)
 
bool can_seek ()
 
bool get_content_type (pfc::string_base &p_out)
 
t_filesize get_position (abort_callback &p_abort)
 
t_filesize get_size (abort_callback &p_abort)
 
t_filestats get_stats (abort_callback &abort)
 
t_filetimestamp get_timestamp (abort_callback &p_abort)
 
bool is_in_memory ()
 
bool is_remote ()
 
void on_idle (abort_callback &p_abort)
 
t_size read (void *p_buffer, t_size p_bytes, abort_callback &p_abort)
 
void read_object (void *p_buffer, t_size p_bytes, abort_callback &p_abort)
 
void reopen (abort_callback &p_abort)
 
void resize (t_filesize p_size, abort_callback &p_abort)
 
void seek (t_filesize p_position, abort_callback &p_abort)
 
void seek_ex (t_sfilesize p_position, t_seek_mode p_mode, abort_callback &p_abort)
 
t_filesize skip (t_filesize p_bytes, abort_callback &p_abort)
 
void skip_object (t_filesize p_bytes, abort_callback &p_abort)
 
void write (const void *p_buffer, t_size p_bytes, abort_callback &p_abort)
 

Static Public Member Functions

static file::ptr create (file::ptr chain)
 

Detailed Description

Definition at line 875 of file filesystem_helper.h.

Constructor & Destructor Documentation

file_chain_readonly::file_chain_readonly ( file::ptr  chain)
inline

Definition at line 879 of file filesystem_helper.h.

879 : file_chain(chain) {}
file_chain(file::ptr chain)

Member Function Documentation

static file::ptr file_chain_readonly::create ( file::ptr  chain)
inlinestatic

Definition at line 880 of file filesystem_helper.h.

880 { return new service_impl_t< file_chain_readonly > ( chain ); }
Template implementing reference-counting features of service_base. Intended for dynamic instantiation...
Definition: service_impl.h:4
void file_chain_readonly::resize ( t_filesize  p_size,
abort_callback p_abort 
)
inline

Definition at line 878 of file filesystem_helper.h.

878 {throw exception_io_denied();}
void file_chain_readonly::write ( const void *  p_buffer,
t_size  p_bytes,
abort_callback p_abort 
)
inline

Definition at line 877 of file filesystem_helper.h.

877 {throw exception_io_denied();}

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