34 SubfileInfo(
const FileReference *file, streampos start, streamsize size) :
47 SubfileInfo(
const Filename &filename, streampos start, streamsize size) :
72 INLINE
void SubfileInfo::
108 return _file->get_filename();
110 static const Filename empty_filename;
111 return empty_filename;
137 operator << (ostream &out,
const SubfileInfo &info) {
streamsize get_size() const
Returns the number of consecutive bytes, beginning at get_start(), that correspond to this file data...
Keeps a reference-counted pointer to a file on disk.
streampos get_start() const
Returns the offset within the file at which this file data begins.
const FileReference * get_file() const
Returns the FileReference that represents this file.
The name of a file, such as a texture file or an Egg file.
const Filename & get_filename() const
A shortcut to the filename.
This class records a particular byte sub-range within an existing file on disk.
bool is_empty() const
Returns true if this SubfileInfo doesn't define any file, false if it has real data.