There is a basic "read" call which your InputSource has to implement and you are free to then keep track of how many bytes have been "read". I would imagine you would still need to know beforehand how many bytes are present in your source in order to compute "progress".
-----Original Message----- From: Chris Brodie [mailto:[EMAIL PROTECTED]] Sent: Friday, February 14, 2003 7:23 PM To: '[EMAIL PROTECTED]' Subject: RE: Progress Bar > Write your own InputSource derivate which defers to > MemBufInputSource but > tracks how many bytes have been delivered. > > Dave How does the SAX parser access the data in an InputSource? Should I overload the subscript operator? How do I know how many bytes have been delivered? Is it really as simple as slipping some auditing in to some overloaded operators? NOTICE This e-mail and any attachments are confidential and may contain copyright material of Macquarie Bank or third parties. If you are not the intended recipient of this email you should not read, print, re-transmit, store or act in reliance on this e-mail or any attachments, and should destroy all copies of them. Macquarie Bank does not guarantee the integrity of any emails or any attached files. The views or opinions expressed are the author's own and may not reflect the views or opinions of Macquarie Bank. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
