Did you mean BinInputStream, rather than InputStream?  I can't find any
class named InputStream in Xerces-C.

Xalan-C++ has a derivative of BinInputStream, called StdBinInputStream that
wraps std::istream.  You could get the Xalan distribution and look at that,
or I could email you the .hpp and .cpp files if you're not interested in
getting the whole distribution.

Dave



                                                                                       
                                               
                      David Garcia                                                     
                                               
                      Garzon                   To:      <[EMAIL PROTECTED]>  
                                               
                      <david.garcia@iu         cc:                                     
                                               
                      a.upf.es>                Subject: C++ Streams. Deriving 
InputStreams.                                           
                                                                                       
                                               
                      02/06/2002 10:40                                                 
                                               
                      AM                                                               
                                               
                      Please respond                                                   
                                               
                      to xerces-c-dev                                                  
                                               
                                                                                       
                                               
                                                                                       
                                               




I want to subclass InputStream for suporting any C++ standard libraries
streams like the one implemented in CenterPoint Opensource XML library
(http://www.cpointc.com/XML). I need this because the XML subsystem must
match a generic interface for input formats sources that uses streams as a
generic way for giving the source.

So i started to browse the classes and i have seen than InputStream
Internals
are implemented in a platform dependant way. So,

- Where may I start implementing this InputStream subclass?

- Do you have any suggestions for me to start coding this?

- If I am succesful in the task, could be this InputSource included in
XercesC in some way?

- Have Xerces Developers seen how CenterPoint has integrated DOM API into
standard C++ classes (traited strings, generic streams...)


--
David Garc�a Garz�n <[EMAIL PROTECTED]>
Phone: 034 93 542 21 99
Music Technology Group, Institut Universitari de l'Audiovisual
Universitat Pompeu Fabra

---------------------------------------------------------------------
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]

Reply via email to