You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by jb...@apache.org on 2001/06/04 23:03:08 UTC

cvs commit: xml-xerces/c/src/sax2 SAX2XMLReader.hpp

jberry      01/06/04 14:03:08

  Modified:    c/src/sax2 SAX2XMLReader.hpp
  Log:
  Add pure virtual getErrorCount to SAX2XMLReader interface.
  
  Revision  Changes    Path
  1.8       +15 -0     xml-xerces/c/src/sax2/SAX2XMLReader.hpp
  
  Index: SAX2XMLReader.hpp
  ===================================================================
  RCS file: /home/cvs/xml-xerces/c/src/sax2/SAX2XMLReader.hpp,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- SAX2XMLReader.hpp	2001/05/11 13:26:25	1.7
  +++ SAX2XMLReader.hpp	2001/06/04 21:03:07	1.8
  @@ -56,6 +56,9 @@
   
   /*
    * $Log: SAX2XMLReader.hpp,v $
  + * Revision 1.8  2001/06/04 21:03:07  jberry
  + * Add pure virtual getErrorCount to SAX2XMLReader interface.
  + *
    * Revision 1.7  2001/05/11 13:26:25  tng
    * Copyright update.
    *
  @@ -139,6 +142,18 @@
       //-----------------------------------------------------------------------
       /** @name The XMLReader interfaces */
       //@{
  +
  +    /** Get error count from the last parse operation.
  +      *
  +      * This method returns the error count from the last parse
  +      * operation. Note that this count is actually stored in the
  +      * scanner, so this method simply returns what the
  +      * scanner reports.
  +      *
  +      * @return number of errors encountered during the latest
  +      *			parse operation.
  +      */
  +    virtual int getErrorCount() const = 0 ;
   
       /**
         * This method returns the installed content handler.
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-cvs-help@xml.apache.org