This class records a particular byte sub-range within an existing file on disk. More...
#include "subfileInfo.h"
Public Member Functions | |
| SubfileInfo (const FileReference *file, std::streampos start, std::streamsize size) | |
| SubfileInfo (const Filename &filename, std::streampos start, std::streamsize size) | |
| SubfileInfo (const SubfileInfo ©) | |
| const FileReference * | get_file () const | 
| Returns the FileReference that represents this file.  More... | |
| const Filename & | get_filename () const | 
| A shortcut to the filename.  More... | |
| std::streamsize | get_size () const | 
| Returns the number of consecutive bytes, beginning at get_start(), that correspond to this file data.  More... | |
| std::streampos | get_start () const | 
| Returns the offset within the file at which this file data begins.  More... | |
| bool | is_empty () const | 
| Returns true if this SubfileInfo doesn't define any file, false if it has real data.  More... | |
| void | operator= (const SubfileInfo ©) | 
| void | output (std::ostream &out) const | 
This class records a particular byte sub-range within an existing file on disk.
Generally, the filename is understood as a physical file on disk, and not to be looked up via the vfs.
Definition at line 26 of file subfileInfo.h.
      
  | 
  inline | 
Returns the FileReference that represents this file.
Definition at line 80 of file subfileInfo.I.
      
  | 
  inline | 
A shortcut to the filename.
Definition at line 88 of file subfileInfo.I.
      
  | 
  inline | 
Returns the number of consecutive bytes, beginning at get_start(), that correspond to this file data.
Definition at line 109 of file subfileInfo.I.
      
  | 
  inline | 
Returns the offset within the file at which this file data begins.
Definition at line 100 of file subfileInfo.I.
      
  | 
  inline | 
Returns true if this SubfileInfo doesn't define any file, false if it has real data.
Definition at line 72 of file subfileInfo.I.
Referenced by MovieVideo::write_datagram().
 1.8.15