• Skip to content
  • Skip to link menu
Trinity API Reference
  • Trinity API Reference
  • tdeio/tdeio
 

tdeio/tdeio

Public Member Functions | List of all members
KLimitedIODevice Class Reference

#include <klimitediodevice.h>

Inherits TQIODevice.

Public Member Functions

 KLimitedIODevice (TQIODevice *dev, int start, int length)
 
virtual bool open (int m)
 
virtual void close ()
 
virtual void flush ()
 
virtual Offset size () const
 
virtual TQ_LONG readBlock (char *data, TQ_ULONG maxlen)
 
virtual TQ_LONG writeBlock (const char *, TQ_ULONG)
 
virtual int putch (int)
 
virtual int getch ()
 
virtual int ungetch (int c)
 
virtual Offset at () const
 
virtual bool at (Offset pos)
 
virtual bool atEnd () const
 

Detailed Description

A readonly device that reads from an underlying device from a given point to another (e.g.

to give access to a single file inside an archive).

Author
David Faure david.nosp@m.@man.nosp@m.drake.nosp@m.soft.nosp@m..com
Since
3.1

Definition at line 31 of file klimitediodevice.h.

Constructor & Destructor Documentation

◆ KLimitedIODevice()

KLimitedIODevice::KLimitedIODevice ( TQIODevice *  dev,
int  start,
int  length 
)
inline

Creates a new KLimitedIODevice.

Parameters
devthe underlying device, opened or not This device itself auto-opens (in readonly mode), no need to open it.
startwhere to start reading (position in bytes)
lengththe length of the data to read (in bytes)

Definition at line 41 of file klimitediodevice.h.


The documentation for this class was generated from the following file:
  • klimitediodevice.h

tdeio/tdeio

Skip menu "tdeio/tdeio"
  • Main Page
  • Modules
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

tdeio/tdeio

Skip menu "tdeio/tdeio"
  • arts
  • dcop
  • dnssd
  • interfaces
  •   kspeech
  •     interface
  •     library
  •   tdetexteditor
  • kate
  • kded
  • kdoctools
  • kimgio
  • kjs
  • libtdemid
  • libtdescreensaver
  • tdeabc
  • tdecmshell
  • tdecore
  • tdefx
  • tdehtml
  • tdeinit
  • tdeio
  •   bookmarks
  •   httpfilter
  •   kpasswdserver
  •   kssl
  •   tdefile
  •   tdeio
  •   tdeioexec
  • tdeioslave
  •   http
  • tdemdi
  •   tdemdi
  • tdenewstuff
  • tdeparts
  • tdeprint
  • tderandr
  • tderesources
  • tdespell2
  • tdesu
  • tdeui
  • tdeunittest
  • tdeutils
  • tdewallet
Generated for tdeio/tdeio by doxygen 1.9.1
This website is maintained by Timothy Pearson.