You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by tn...@apache.org on 2003/03/07 19:08:11 UTC

cvs commit: xml-xerces/c/src/xercesc/framework Wrapper4DOMInputSource.hpp Wrapper4InputSource.hpp XMLAttDef.hpp XMLContentModel.hpp XMLDocumentHandler.hpp XMLElementDecl.hpp XMLEntityDecl.hpp XMLEntityHandler.hpp XMLErrorReporter.hpp XMLFormatter.hpp XMLNotationDecl.hpp XMLRecognizer.hpp XMLRefInfo.hpp XMLValidator.hpp

tng         2003/03/07 10:08:11

  Modified:    c/src/xercesc/framework Wrapper4DOMInputSource.hpp
                        Wrapper4InputSource.hpp XMLAttDef.hpp
                        XMLContentModel.hpp XMLDocumentHandler.hpp
                        XMLElementDecl.hpp XMLEntityDecl.hpp
                        XMLEntityHandler.hpp XMLErrorReporter.hpp
                        XMLFormatter.hpp XMLNotationDecl.hpp
                        XMLRecognizer.hpp XMLRefInfo.hpp XMLValidator.hpp
  Log:
  Return a reference instead of void for operator=
  
  Revision  Changes    Path
  1.4       +2 -2      xml-xerces/c/src/xercesc/framework/Wrapper4DOMInputSource.hpp
  
  Index: Wrapper4DOMInputSource.hpp
  ===================================================================
  RCS file: /home/cvs/xml-xerces/c/src/xercesc/framework/Wrapper4DOMInputSource.hpp,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- Wrapper4DOMInputSource.hpp	4 Nov 2002 15:00:21 -0000	1.3
  +++ Wrapper4DOMInputSource.hpp	7 Mar 2003 18:08:10 -0000	1.4
  @@ -254,7 +254,7 @@
       //  Unimplemented constructors and operators
       // -----------------------------------------------------------------------
       Wrapper4DOMInputSource(const Wrapper4DOMInputSource&);
  -    void operator=(const Wrapper4DOMInputSource&);
  +    Wrapper4DOMInputSource& operator=(const Wrapper4DOMInputSource&);
   
       // -----------------------------------------------------------------------
       //  Private data members
  
  
  
  1.6       +2 -2      xml-xerces/c/src/xercesc/framework/Wrapper4InputSource.hpp
  
  Index: Wrapper4InputSource.hpp
  ===================================================================
  RCS file: /home/cvs/xml-xerces/c/src/xercesc/framework/Wrapper4InputSource.hpp,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- Wrapper4InputSource.hpp	4 Nov 2002 15:00:21 -0000	1.5
  +++ Wrapper4InputSource.hpp	7 Mar 2003 18:08:10 -0000	1.6
  @@ -290,7 +290,7 @@
       //  Unimplemented constructors and operators
       // -----------------------------------------------------------------------
       Wrapper4InputSource(const Wrapper4InputSource&);
  -    void operator=(const Wrapper4InputSource&);
  +    Wrapper4InputSource& operator=(const Wrapper4InputSource&);
   
       // -----------------------------------------------------------------------
       //  Private data members
  
  
  
  1.6       +4 -1      xml-xerces/c/src/xercesc/framework/XMLAttDef.hpp
  
  Index: XMLAttDef.hpp
  ===================================================================
  RCS file: /home/cvs/xml-xerces/c/src/xercesc/framework/XMLAttDef.hpp,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- XMLAttDef.hpp	29 Jan 2003 19:45:35 -0000	1.5
  +++ XMLAttDef.hpp	7 Mar 2003 18:08:10 -0000	1.6
  @@ -56,6 +56,9 @@
   
   /*
    * $Log$
  + * Revision 1.6  2003/03/07 18:08:10  tng
  + * Return a reference instead of void for operator=
  + *
    * Revision 1.5  2003/01/29 19:45:35  gareth
    * added api for DOMTypeInfo
    *
  @@ -508,7 +511,7 @@
       //  Unimplemented constructors and operators
       // -----------------------------------------------------------------------
       XMLAttDef(const XMLAttDef&);
  -    void operator=(const XMLAttDef&);
  +    XMLAttDef& operator=(const XMLAttDef&);
   
   
       // -----------------------------------------------------------------------
  
  
  
  1.3       +4 -1      xml-xerces/c/src/xercesc/framework/XMLContentModel.hpp
  
  Index: XMLContentModel.hpp
  ===================================================================
  RCS file: /home/cvs/xml-xerces/c/src/xercesc/framework/XMLContentModel.hpp,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- XMLContentModel.hpp	4 Nov 2002 15:00:21 -0000	1.2
  +++ XMLContentModel.hpp	7 Mar 2003 18:08:10 -0000	1.3
  @@ -56,6 +56,9 @@
   
   /*
    * $Log$
  + * Revision 1.3  2003/03/07 18:08:10  tng
  + * Return a reference instead of void for operator=
  + *
    * Revision 1.2  2002/11/04 15:00:21  tng
    * C++ Namespace Support.
    *
  @@ -217,7 +220,7 @@
       //  Unimplemented constructors and operators
       // -----------------------------------------------------------------------
       XMLContentModel(const XMLContentModel&);
  -    void operator=(const XMLContentModel&);
  +    XMLContentModel& operator=(const XMLContentModel&);
   };
   
   XERCES_CPP_NAMESPACE_END
  
  
  
  1.5       +4 -1      xml-xerces/c/src/xercesc/framework/XMLDocumentHandler.hpp
  
  Index: XMLDocumentHandler.hpp
  ===================================================================
  RCS file: /home/cvs/xml-xerces/c/src/xercesc/framework/XMLDocumentHandler.hpp,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- XMLDocumentHandler.hpp	4 Nov 2002 15:00:21 -0000	1.4
  +++ XMLDocumentHandler.hpp	7 Mar 2003 18:08:10 -0000	1.5
  @@ -56,6 +56,9 @@
   
    /*
     * $Log$
  +  * Revision 1.5  2003/03/07 18:08:10  tng
  +  * Return a reference instead of void for operator=
  +  *
     * Revision 1.4  2002/11/04 15:00:21  tng
     * C++ Namespace Support.
     *
  @@ -355,7 +358,7 @@
       //  Unimplemented constructors and operators
       // -----------------------------------------------------------------------
       XMLDocumentHandler(const XMLDocumentHandler&);
  -    void operator=(const XMLDocumentHandler&);
  +    XMLDocumentHandler& operator=(const XMLDocumentHandler&);
   };
   
   XERCES_CPP_NAMESPACE_END
  
  
  
  1.5       +4 -1      xml-xerces/c/src/xercesc/framework/XMLElementDecl.hpp
  
  Index: XMLElementDecl.hpp
  ===================================================================
  RCS file: /home/cvs/xml-xerces/c/src/xercesc/framework/XMLElementDecl.hpp,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- XMLElementDecl.hpp	29 Jan 2003 19:45:35 -0000	1.4
  +++ XMLElementDecl.hpp	7 Mar 2003 18:08:10 -0000	1.5
  @@ -56,6 +56,9 @@
   
   /*
    * $Log$
  + * Revision 1.5  2003/03/07 18:08:10  tng
  + * Return a reference instead of void for operator=
  + *
    * Revision 1.4  2003/01/29 19:45:35  gareth
    * added api for DOMTypeInfo
    *
  @@ -580,7 +583,7 @@
       //  Unimplemented constructors and operators
       // -----------------------------------------------------------------------
       XMLElementDecl(const XMLElementDecl&);
  -    void operator=(const XMLElementDecl&);
  +    XMLElementDecl& operator=(const XMLElementDecl&);
   
   
       // -----------------------------------------------------------------------
  
  
  
  1.4       +4 -1      xml-xerces/c/src/xercesc/framework/XMLEntityDecl.hpp
  
  Index: XMLEntityDecl.hpp
  ===================================================================
  RCS file: /home/cvs/xml-xerces/c/src/xercesc/framework/XMLEntityDecl.hpp,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- XMLEntityDecl.hpp	4 Nov 2002 15:00:21 -0000	1.3
  +++ XMLEntityDecl.hpp	7 Mar 2003 18:08:10 -0000	1.4
  @@ -56,6 +56,9 @@
   
   /*
    * $Log$
  + * Revision 1.4  2003/03/07 18:08:10  tng
  + * Return a reference instead of void for operator=
  + *
    * Revision 1.3  2002/11/04 15:00:21  tng
    * C++ Namespace Support.
    *
  @@ -372,7 +375,7 @@
       //  Unimplemented constructors and operators
       // -----------------------------------------------------------------------
       XMLEntityDecl(const XMLEntityDecl&);
  -    void operator=(XMLEntityDecl&);
  +    XMLEntityDecl& operator=(XMLEntityDecl&);
   
   
       // -----------------------------------------------------------------------
  
  
  
  1.6       +4 -1      xml-xerces/c/src/xercesc/framework/XMLEntityHandler.hpp
  
  Index: XMLEntityHandler.hpp
  ===================================================================
  RCS file: /home/cvs/xml-xerces/c/src/xercesc/framework/XMLEntityHandler.hpp,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- XMLEntityHandler.hpp	4 Nov 2002 15:00:21 -0000	1.5
  +++ XMLEntityHandler.hpp	7 Mar 2003 18:08:10 -0000	1.6
  @@ -56,6 +56,9 @@
   
    /*
     * $Log$
  +  * Revision 1.6  2003/03/07 18:08:10  tng
  +  * Return a reference instead of void for operator=
  +  *
     * Revision 1.5  2002/11/04 15:00:21  tng
     * C++ Namespace Support.
     *
  @@ -235,7 +238,7 @@
       //  Unimplemented constructors and destructor
       // -----------------------------------------------------------------------
       XMLEntityHandler(const XMLEntityHandler&);
  -    void operator=(const XMLEntityHandler&);
  +    XMLEntityHandler& operator=(const XMLEntityHandler&);
   };
   
   XERCES_CPP_NAMESPACE_END
  
  
  
  1.6       +4 -1      xml-xerces/c/src/xercesc/framework/XMLErrorReporter.hpp
  
  Index: XMLErrorReporter.hpp
  ===================================================================
  RCS file: /home/cvs/xml-xerces/c/src/xercesc/framework/XMLErrorReporter.hpp,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- XMLErrorReporter.hpp	4 Dec 2002 02:32:43 -0000	1.5
  +++ XMLErrorReporter.hpp	7 Mar 2003 18:08:10 -0000	1.6
  @@ -56,6 +56,9 @@
   
    /*
     * $Log$
  +  * Revision 1.6  2003/03/07 18:08:10  tng
  +  * Return a reference instead of void for operator=
  +  *
     * Revision 1.5  2002/12/04 02:32:43  knoaman
     * #include cleanup.
     *
  @@ -249,7 +252,7 @@
       //  Unimplemented constructors and destructor
       // -----------------------------------------------------------------------
       XMLErrorReporter(const XMLErrorReporter&);
  -    void operator=(const XMLErrorReporter&);
  +    XMLErrorReporter& operator=(const XMLErrorReporter&);
   };
   
   XERCES_CPP_NAMESPACE_END
  
  
  
  1.8       +5 -2      xml-xerces/c/src/xercesc/framework/XMLFormatter.hpp
  
  Index: XMLFormatter.hpp
  ===================================================================
  RCS file: /home/cvs/xml-xerces/c/src/xercesc/framework/XMLFormatter.hpp,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- XMLFormatter.hpp	31 Jan 2003 00:30:48 -0000	1.7
  +++ XMLFormatter.hpp	7 Mar 2003 18:08:10 -0000	1.8
  @@ -56,6 +56,9 @@
   
   /*
    * $Log$
  + * Revision 1.8  2003/03/07 18:08:10  tng
  + * Return a reference instead of void for operator=
  + *
    * Revision 1.7  2003/01/31 00:30:48  jberry
    * Syntax error in declaration
    *
  @@ -383,7 +386,7 @@
       // -----------------------------------------------------------------------
       XMLFormatter();
       XMLFormatter(const XMLFormatter&);
  -    void operator=(const XMLFormatter&);
  +    XMLFormatter& operator=(const XMLFormatter&);
   
   
       // -----------------------------------------------------------------------
  @@ -496,7 +499,7 @@
       // -----------------------------------------------------------------------
       XMLFormatTarget() {}
       XMLFormatTarget(const XMLFormatTarget&) {}
  -    void operator=(const XMLFormatTarget&) {}
  +    XMLFormatTarget& operator=(const XMLFormatTarget&) {return *this;}
   };
   
   
  
  
  
  1.4       +4 -1      xml-xerces/c/src/xercesc/framework/XMLNotationDecl.hpp
  
  Index: XMLNotationDecl.hpp
  ===================================================================
  RCS file: /home/cvs/xml-xerces/c/src/xercesc/framework/XMLNotationDecl.hpp,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- XMLNotationDecl.hpp	4 Nov 2002 15:00:21 -0000	1.3
  +++ XMLNotationDecl.hpp	7 Mar 2003 18:08:10 -0000	1.4
  @@ -56,6 +56,9 @@
   
   /*
    * $Log$
  + * Revision 1.4  2003/03/07 18:08:10  tng
  + * Return a reference instead of void for operator=
  + *
    * Revision 1.3  2002/11/04 15:00:21  tng
    * C++ Namespace Support.
    *
  @@ -163,7 +166,7 @@
       //  Unimplemented constructors and operators
       // -----------------------------------------------------------------------
       XMLNotationDecl(const XMLNotationDecl&);
  -    void operator=(const XMLNotationDecl&);
  +    XMLNotationDecl& operator=(const XMLNotationDecl&);
   
   
       // -----------------------------------------------------------------------
  
  
  
  1.4       +2 -2      xml-xerces/c/src/xercesc/framework/XMLRecognizer.hpp
  
  Index: XMLRecognizer.hpp
  ===================================================================
  RCS file: /home/cvs/xml-xerces/c/src/xercesc/framework/XMLRecognizer.hpp,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- XMLRecognizer.hpp	25 Nov 2002 21:21:38 -0000	1.3
  +++ XMLRecognizer.hpp	7 Mar 2003 18:08:10 -0000	1.4
  @@ -171,7 +171,7 @@
       // -----------------------------------------------------------------------
       XMLRecognizer();
       ~XMLRecognizer();
  -    void operator=(const XMLRecognizer&);
  +    XMLRecognizer& operator=(const XMLRecognizer&);
   };
   
   XERCES_CPP_NAMESPACE_END
  
  
  
  1.4       +4 -1      xml-xerces/c/src/xercesc/framework/XMLRefInfo.hpp
  
  Index: XMLRefInfo.hpp
  ===================================================================
  RCS file: /home/cvs/xml-xerces/c/src/xercesc/framework/XMLRefInfo.hpp,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- XMLRefInfo.hpp	4 Dec 2002 02:32:43 -0000	1.3
  +++ XMLRefInfo.hpp	7 Mar 2003 18:08:10 -0000	1.4
  @@ -56,6 +56,9 @@
   
   /*
    * $Log$
  + * Revision 1.4  2003/03/07 18:08:10  tng
  + * Return a reference instead of void for operator=
  + *
    * Revision 1.3  2002/12/04 02:32:43  knoaman
    * #include cleanup.
    *
  @@ -150,7 +153,7 @@
       // -----------------------------------------------------------------------
       XMLRefInfo();
       XMLRefInfo(const XMLRefInfo&);
  -    void operator=(XMLRefInfo&);
  +    XMLRefInfo& operator=(XMLRefInfo&);
   
   
       // -----------------------------------------------------------------------
  
  
  
  1.8       +4 -1      xml-xerces/c/src/xercesc/framework/XMLValidator.hpp
  
  Index: XMLValidator.hpp
  ===================================================================
  RCS file: /home/cvs/xml-xerces/c/src/xercesc/framework/XMLValidator.hpp,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- XMLValidator.hpp	7 Nov 2002 21:59:22 -0000	1.7
  +++ XMLValidator.hpp	7 Mar 2003 18:08:10 -0000	1.8
  @@ -56,6 +56,9 @@
   
    /*
     * $Log$
  +  * Revision 1.8  2003/03/07 18:08:10  tng
  +  * Return a reference instead of void for operator=
  +  *
     * Revision 1.7  2002/11/07 21:59:22  tng
     * Pass elemDecl to XMLValidator::validateAttrValue so that we can include element name in error message.
     *
  @@ -484,7 +487,7 @@
       //  Unimplemented Constructors and Operators
       // -----------------------------------------------------------------------
       XMLValidator(const XMLValidator&);
  -    void operator=(const XMLValidator&);
  +    XMLValidator& operator=(const XMLValidator&);
   
   
       // -----------------------------------------------------------------------
  
  
  

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