1 #ifndef OPENMW_CONSTRAINEDFILESTREAM_H
2 #define OPENMW_CONSTRAINEDFILESTREAM_H
6 #include <boost/shared_ptr.hpp>
16 size_t start=0,
size_t length=0xFFFFFFFF);
virtual ~ConstrainedFileStream()
Definition: constrainedfilestream.cpp:111
ConstrainedFileStream(const char *filename, size_t start=0, size_t length=0xFFFFFFFF)
Definition: constrainedfilestream.cpp:105
A file stream constrained to a specific region in the file, specified by the 'start' and 'length' par...
Definition: constrainedfilestream.hpp:12
IStreamPtr openConstrainedFileStream(const char *filename, size_t start, size_t length)
Definition: constrainedfilestream.cpp:117
boost::shared_ptr< std::istream > IStreamPtr
Definition: constrainedfilestream.hpp:20