SubfileInfo¶
-
class
SubfileInfo
¶ 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.
Inheritance diagram
-
SubfileInfo
(void)¶
-
explicit
SubfileInfo
(FileReference const *file, std::streamoff start, std::streamsize size)¶
-
SubfileInfo
(SubfileInfo const ©)¶
-
FileReference const *
get_file
(void) const¶ Returns the
FileReference
that represents this file.
-
std::streamsize
get_size
(void) const¶ Returns the number of consecutive bytes, beginning at
get_start()
, that correspond to this file data.
-
std::streamoff
get_start
(void) const¶ Returns the offset within the file at which this file data begins.
-
bool
is_empty
(void) const¶ Returns true if this
SubfileInfo
doesn’t define any file, false if it has real data.
-
void
output
(std::ostream &out) const¶
-