[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Openexr-devel] Implementing low level file IO
From: |
Brad Hards |
Subject: |
Re: [Openexr-devel] Implementing low level file IO |
Date: |
Mon, 23 May 2005 20:43:24 +1000 |
User-agent: |
KMail/1.8.50 |
On Mon, 23 May 2005 18:23 pm, Brad Hards wrote:
> I'm looking at the manual section 7.2 (Custom Low-Level File I/O), and
> having a few concerns. I think I need to do this to get good integration
> into Qt4/KDE4 - so I can use a QIODevice, which is the base class for all
> kinds of IO concepts (network sockets, files, generic buffers and process
> output).
>
> The problem is that sometimes a QIODevice doesn't support random access -
> you cannot seek. So the question is "what is OpenEXR going to do if tellg
> just returns zero"? If it is going to break, I'll just disable reading
> files from non-seekable devices, but some indication of the dragons lurking
> might be very useful before I get too much into this.
Also, what is the filename[] argument to the constructor?
Brad
pgpt9WqqFnR2r.pgp
Description: PGP signature