OpenMW
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | Private Attributes | List of all members
Files::ConstrainedFileStreamBuf Class Reference
Inheritance diagram for Files::ConstrainedFileStreamBuf:
Collaboration diagram for Files::ConstrainedFileStreamBuf:

Public Member Functions

 ConstrainedFileStreamBuf (const std::string &fname, size_t start, size_t length)
 
virtual int_type underflow ()
 
virtual pos_type seekoff (off_type offset, std::ios_base::seekdir whence, std::ios_base::openmode mode)
 
virtual pos_type seekpos (pos_type pos, std::ios_base::openmode mode)
 

Private Attributes

size_t mOrigin
 
size_t mSize
 
LowLevelFile mFile
 
char mBuffer [sBufferSize]
 

Constructor & Destructor Documentation

Files::ConstrainedFileStreamBuf::ConstrainedFileStreamBuf ( const std::string &  fname,
size_t  start,
size_t  length 
)
inline

Here is the call graph for this function:

Member Function Documentation

virtual pos_type Files::ConstrainedFileStreamBuf::seekoff ( off_type  offset,
std::ios_base::seekdir  whence,
std::ios_base::openmode  mode 
)
inlinevirtual

Here is the call graph for this function:

virtual pos_type Files::ConstrainedFileStreamBuf::seekpos ( pos_type  pos,
std::ios_base::openmode  mode 
)
inlinevirtual

Here is the call graph for this function:

virtual int_type Files::ConstrainedFileStreamBuf::underflow ( )
inlinevirtual

Here is the call graph for this function:

Member Data Documentation

char Files::ConstrainedFileStreamBuf::mBuffer[sBufferSize]
private
LowLevelFile Files::ConstrainedFileStreamBuf::mFile
private
size_t Files::ConstrainedFileStreamBuf::mOrigin
private
size_t Files::ConstrainedFileStreamBuf::mSize
private

The documentation for this class was generated from the following file: