foobar2000 SDK  2015-08-03
Public Member Functions | Private Attributes
file_chain

#include <filesystem_helper.h>

+ Inheritance diagram for file_chain:

Public Member Functions

 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)
 

Private Attributes

file::ptr m_file
 

Detailed Description

Definition at line 828 of file filesystem_helper.h.

Constructor & Destructor Documentation

file_chain::file_chain ( file::ptr  chain)
inline

Definition at line 878 of file filesystem_helper.h.

878 : m_file(chain) {}
file::ptr m_file

Member Function Documentation

bool file_chain::can_seek ( )
inline

Definition at line 866 of file filesystem_helper.h.

866 {return m_file->can_seek();}
file::ptr m_file
bool file_chain::get_content_type ( pfc::string_base p_out)
inline

Definition at line 867 of file filesystem_helper.h.

867 {return m_file->get_content_type( p_out );}
file::ptr m_file
t_filesize file_chain::get_position ( abort_callback p_abort)
inline

Definition at line 850 of file filesystem_helper.h.

850  {
851  return m_file->get_position( p_abort );
852  }
file::ptr m_file
t_filesize file_chain::get_size ( abort_callback p_abort)
inline

Definition at line 846 of file filesystem_helper.h.

846  {
847  return m_file->get_size( p_abort );
848  }
file::ptr m_file
t_filestats file_chain::get_stats ( abort_callback abort)
inline

Definition at line 871 of file filesystem_helper.h.

871 { return m_file->get_stats(abort); }
file::ptr m_file
t_filetimestamp file_chain::get_timestamp ( abort_callback p_abort)
inline

Definition at line 873 of file filesystem_helper.h.

873 {return m_file->get_timestamp( p_abort );}
file::ptr m_file
bool file_chain::is_in_memory ( )
inline

Definition at line 868 of file filesystem_helper.h.

868 {return m_file->is_in_memory();}
file::ptr m_file
bool file_chain::is_remote ( )
inline

Definition at line 876 of file filesystem_helper.h.

876 {return m_file->is_remote();}
file::ptr m_file
void file_chain::on_idle ( abort_callback p_abort)
inline

Definition at line 869 of file filesystem_helper.h.

869 {m_file->on_idle(p_abort);}
file::ptr m_file
t_size file_chain::read ( void *  p_buffer,
t_size  p_bytes,
abort_callback p_abort 
)
inline

Definition at line 830 of file filesystem_helper.h.

830  {
831  return m_file->read(p_buffer, p_bytes, p_abort);
832  }
file::ptr m_file
void file_chain::read_object ( void *  p_buffer,
t_size  p_bytes,
abort_callback p_abort 
)
inline

Definition at line 833 of file filesystem_helper.h.

833  {
834  m_file->read_object(p_buffer, p_bytes, p_abort);
835  }
file::ptr m_file
void file_chain::reopen ( abort_callback p_abort)
inline

Definition at line 875 of file filesystem_helper.h.

875 {m_file->reopen( p_abort );}
file::ptr m_file
void file_chain::resize ( t_filesize  p_size,
abort_callback p_abort 
)
inline

Definition at line 854 of file filesystem_helper.h.

854  {
855  m_file->resize( p_size, p_abort );
856  }
file::ptr m_file
void file_chain::seek ( t_filesize  p_position,
abort_callback p_abort 
)
inline

Definition at line 858 of file filesystem_helper.h.

858  {
859  m_file->seek( p_position, p_abort );
860  }
file::ptr m_file
void file_chain::seek_ex ( t_sfilesize  p_position,
t_seek_mode  p_mode,
abort_callback p_abort 
)
inline

Definition at line 862 of file filesystem_helper.h.

862  {
863  m_file->seek_ex( p_position, p_mode, p_abort );
864  }
file::ptr m_file
t_filesize file_chain::skip ( t_filesize  p_bytes,
abort_callback p_abort 
)
inline

Definition at line 836 of file filesystem_helper.h.

836  {
837  return m_file->skip( p_bytes, p_abort );
838  }
file::ptr m_file
void file_chain::skip_object ( t_filesize  p_bytes,
abort_callback p_abort 
)
inline

Definition at line 839 of file filesystem_helper.h.

839  {
840  m_file->skip_object(p_bytes, p_abort);
841  }
file::ptr m_file
void file_chain::write ( const void *  p_buffer,
t_size  p_bytes,
abort_callback p_abort 
)
inline

Definition at line 842 of file filesystem_helper.h.

842  {
843  m_file->write( p_buffer, p_bytes, p_abort );
844  }
file::ptr m_file

Field Documentation

file::ptr file_chain::m_file
private

Definition at line 880 of file filesystem_helper.h.


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