Panda3D
|
This class records a particular byte sub-range within an existing file on disk. More...
Public Member Functions | |
__init__ () | |
__init__ (const Filename filename, Streamoff start, Streamsize size) | |
__init__ (const FileReference file, Streamoff start, Streamsize size) | |
__init__ (const SubfileInfo copy) | |
const FileReference | getFile () |
Returns the FileReference that represents this file. More... | |
const Filename | getFilename () |
A shortcut to the filename. More... | |
Streamsize | getSize () |
Returns the number of consecutive bytes, beginning at get_start(), that correspond to this file data. More... | |
Streamoff | getStart () |
Returns the offset within the file at which this file data begins. More... | |
bool | isEmpty () |
Returns true if this SubfileInfo doesn't define any file, false if it has real data. More... | |
SubfileInfo | operator= (const SubfileInfo copy) |
output (Ostream out) | |
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.
__init__ | ( | ) |
__init__ | ( | const Filename | filename, |
Streamoff | start, | ||
Streamsize | size | ||
) |
__init__ | ( | const FileReference | file, |
Streamoff | start, | ||
Streamsize | size | ||
) |
__init__ | ( | const SubfileInfo | copy | ) |
const FileReference getFile | ( | ) |
Returns the FileReference that represents this file.
const Filename getFilename | ( | ) |
A shortcut to the filename.
Streamsize getSize | ( | ) |
Returns the number of consecutive bytes, beginning at get_start(), that correspond to this file data.
Streamoff getStart | ( | ) |
Returns the offset within the file at which this file data begins.
bool isEmpty | ( | ) |
Returns true if this SubfileInfo doesn't define any file, false if it has real data.
SubfileInfo operator= | ( | const SubfileInfo | copy | ) |
output | ( | Ostream | out | ) |