All Frameworks  Class Hierarchy  This Framework  Previous  Next  Indexes

XMLParser Interface CATIXMLInputStream

System.IUnknown
  |
  +---System.IDispatch
    |
    +---System.CATBaseUnknown
      |
      +---CATIXMLInputStream
 

Usage: you can freely reimplement this interface.


interface CATIXMLInputStream

Interface for objects which know how to provide XML to an XML parser.


Method Index


o Read(unsigned char*,unsigned int,unsigned int&)
Asks the stream to fetch the next available bytes and put them the supplied byte array.

Methods


o Read
public virtual HRESULT Read(unsigned char* ioByteArray,
unsigned int iByteArrayCapacity,
unsigned int& oSizeRead) = 0
Asks the stream to fetch the next available bytes and put them the supplied byte array.
Parameters:
ioByteArray
The byte array to fill
iByteArrayCapacity
The size of the byte array
oSizeRead
The number of bytes read. If this size is less than the byte array capacity, the parser will consider it has reached the end of the stream.

This object is included in the file: CATIXMLInputStream.h
If needed, your Imakefile.mk should include the module: CATXMLParserItf

Copyright © 2003, Dassault Systèmes. All rights reserved.