foobar2000 SDK  2015-01-14
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 354 of file filesystem.h.

Member Function Documentation

bool foobar2000_io::file_streamstub::can_seek ( )
inline

Definition at line 363 of file filesystem.h.

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

Definition at line 359 of file filesystem.h.

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

Definition at line 358 of file filesystem.h.

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

Definition at line 357 of file filesystem.h.

357 {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 360 of file filesystem.h.

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

Definition at line 356 of file filesystem.h.

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

Definition at line 361 of file filesystem.h.

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

Definition at line 362 of file filesystem.h.

362 {throw exception_io_object_not_seekable();}

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