foobar2000 SDK  2015-08-03
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 883 of file filesystem_helper.h.

Constructor & Destructor Documentation

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

Definition at line 887 of file filesystem_helper.h.

887 : 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 888 of file filesystem_helper.h.

888 { 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 886 of file filesystem_helper.h.

886 {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 885 of file filesystem_helper.h.

885 {throw exception_io_denied();}

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