SpectraPac 2.0(r200)
Evaluates PAC Measurements
Public Member Functions | Protected Member Functions

PacFileSlicer Class Reference

QIODevice that limits the readable slice of an underlying file. More...

#include <PacFileSlicer.h>

List of all members.

Public Member Functions

 PacFileSlicer (QFile *input, quint64 beginning, quint64 end, QObject *parent=0)
virtual ~PacFileSlicer ()
virtual void selectSlice (quint64 beginning, quint64 end)
virtual bool isSequential () const
virtual qint64 bytesAvailable () const

Protected Member Functions

virtual qint64 readData (char *data, qint64 maxSize)
virtual qint64 writeData (const char *, qint64)

Detailed Description

QIODevice that limits the readable slice of an underlying file.

Author:
Matthias Nagl <mnagl@uni-goettingen.de>

Constructor & Destructor Documentation

PacFileSlicer::PacFileSlicer ( QFile *  input,
quint64  beginning,
quint64  end,
QObject *  parent = 0 
) [inline, explicit]
virtual PacFileSlicer::~PacFileSlicer ( ) [inline, virtual]

Member Function Documentation

virtual qint64 PacFileSlicer::bytesAvailable ( ) const [inline, virtual]
virtual bool PacFileSlicer::isSequential ( ) const [inline, virtual]
virtual qint64 PacFileSlicer::readData ( char *  data,
qint64  maxSize 
) [inline, protected, virtual]
virtual void PacFileSlicer::selectSlice ( quint64  beginning,
quint64  end 
) [inline, virtual]
virtual qint64 PacFileSlicer::writeData ( const char *  ,
qint64   
) [inline, protected, virtual]

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines