foobar2000 SDK  2015-08-03
Public Member Functions
foobar2000_io::file_streamstub

#include <filesystem.h>

+ Inheritance diagram for foobar2000_io::file_streamstub:

Public Member Functions

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)
 
bool is_remote ()
 
t_size read (void *p_buffer, t_size p_bytes, abort_callback &p_abort)
 
void reopen (abort_callback &)
 
void seek (t_filesize p_position, abort_callback &p_abort)
 
- Public Member Functions inherited from foobar2000_io::file_readonly_t< t_base >
void resize (t_filesize p_size, abort_callback &p_abort)
 
void write (const void *p_buffer, t_size p_bytes, abort_callback &p_abort)
 

Detailed Description

Definition at line 359 of file filesystem.h.

Member Function Documentation

bool foobar2000_io::file_streamstub::can_seek ( )
inline

Definition at line 368 of file filesystem.h.

368 {return false;}
bool foobar2000_io::file_streamstub::get_content_type ( pfc::string_base p_out)
inline

Definition at line 364 of file filesystem.h.

364 {return false;}
t_filesize foobar2000_io::file_streamstub::get_position ( abort_callback p_abort)
inline

Definition at line 363 of file filesystem.h.

363 {return 0;}
t_filesize foobar2000_io::file_streamstub::get_size ( abort_callback p_abort)
inline

Definition at line 362 of file filesystem.h.

362 {return filesize_invalid;}
static const t_filesize filesize_invalid
Invalid/unknown file size constant. Also see: t_filesize.
Definition: filesystem.h:16
bool foobar2000_io::file_streamstub::is_remote ( )
inline

Definition at line 365 of file filesystem.h.

365 {return true;}
t_size foobar2000_io::file_streamstub::read ( void *  p_buffer,
t_size  p_bytes,
abort_callback p_abort 
)
inline

Definition at line 361 of file filesystem.h.

361 {return 0;}
void foobar2000_io::file_streamstub::reopen ( abort_callback )
inline

Definition at line 366 of file filesystem.h.

366 {}
void foobar2000_io::file_streamstub::seek ( t_filesize  p_position,
abort_callback p_abort 
)
inline

Definition at line 367 of file filesystem.h.

367 {throw exception_io_object_not_seekable();}

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