59 if (file !=
nullptr) {
62 static const Filename empty_filename;
63 return empty_filename;
83 std::streampos DatagramSink::
Keeps a reference-counted pointer to a file on disk.
virtual ~DatagramSink()
Does nothing since this is class is just the definition of an interface.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
The name of a file, such as a texture file or an Egg file.
virtual bool copy_datagram(SubfileInfo &result, const Filename &filename)
Copies the file data from the entire indicated file (via the vfs) as the next datagram.
This class records a particular byte sub-range within an existing file on disk.
const Filename & get_filename() const
Returns the filename of the reference.