#include <filesystem_helper.h>
Definition at line 112 of file filesystem_helper.h.
 
  
  | 
        
          | reader_limited::reader_limited | ( |  | ) |  |  | inline | 
 
 
  
  | 
        
          | bool reader_limited::can_seek | ( |  | ) |  |  | inline | 
 
 
  
  | 
        
          | static file::ptr reader_limited::g_create | ( | file::ptr | base, |  
          |  |  | t_filesize | offset, |  
          |  |  | t_filesize | size, |  
          |  |  | abort_callback & | abort |  
          |  | ) |  |  |  | inlinestatic | 
 
Definition at line 118 of file filesystem_helper.h.
  120         if (offset + size < offset) 
throw pfc::exception_overflow();
 
  121         r->init(base, offset, offset + size, abort);
 
Template implementing reference-counting features of service_base. Intended for dynamic instantiation...
Autopointer class to be used with all services. Manages reference counter calls behind-the-scenes. 
 
 
 
  
  | 
        
          | t_filetimestamp reader_limited::get_timestamp | ( | abort_callback & | p_abort | ) |  |  | inline | 
 
 
  
  | 
        
          | bool reader_limited::is_remote | ( |  | ) |  |  | inline | 
 
 
Definition at line 141 of file filesystem_helper.h.
  143         pos = 
r->get_position(p_abort);
 
  145         return r->read(p_buffer,p_bytes,p_abort);
 
t_uint64 t_filesize
Type used for file size related variables. 
 
 
 
Definition at line 162 of file filesystem_helper.h.
void seekInternal(t_filesize position, abort_callback &abort)
 
 
 
  
  | 
        
          | void reader_limited::seek | ( | t_filesize | position, |  
          |  |  | abort_callback & | p_abort |  
          |  | ) |  |  |  | inline | 
 
 
  
  | 
        
          | void reader_limited::seekInternal | ( | t_filesize | position, |  
          |  |  | abort_callback & | abort |  
          |  | ) |  |  |  | inlineprivate | 
 
Definition at line 166 of file filesystem_helper.h.
  168             r->seek(position, abort);
 
  173                 try { 
r->skip_object(position, abort); }
 
  174                 catch (exception_io_data) { 
throw exception_io_seek_out_of_range(); }
 
  178                     try { 
r->skip_object(skipMe, abort); }
 
  179                     catch (exception_io_data) { 
throw exception_io_seek_out_of_range(); }
 
static const t_filesize filesize_invalid
Invalid/unknown file size constant. Also see: t_filesize. 
t_uint64 t_filesize
Type used for file size related variables. 
 
 
 
  
  | 
        
          | t_filesize reader_limited::begin |  | private | 
 
 
  
  | 
        
          | t_filesize reader_limited::end |  | private | 
 
 
The documentation for this class was generated from the following file: