18 #include "pandabase.h"
19 #include "fileReference.h"
20 #include "pointerTo.h"
32 INLINE SubfileInfo(
const FileReference *file, streampos start, streamsize size);
33 INLINE SubfileInfo(
const Filename &filename, streampos start, streamsize size);
34 INLINE SubfileInfo(
const SubfileInfo ©);
35 INLINE
void operator = (
const SubfileInfo ©);
37 INLINE
bool is_empty()
const;
40 INLINE
const Filename &get_filename()
const;
41 INLINE streampos get_start()
const;
42 INLINE streamsize get_size()
const;
44 void output(ostream &out)
const;
52 INLINE ostream &operator << (ostream &out,
const SubfileInfo &info);
54 #include "subfileInfo.I"
Keeps a reference-counted pointer to a file on disk.
The name of a file, such as a texture file or an Egg file.
This class records a particular byte sub-range within an existing file on disk.