tng         2003/03/07 10:10:07

  Modified:    c/src/xercesc/sax AttributeList.hpp DocumentHandler.hpp
                        DTDHandler.hpp EntityResolver.hpp ErrorHandler.hpp
                        InputSource.hpp Locator.hpp Parser.hpp
  Log:
  Return a reference instead of void for operator=
  
  Revision  Changes    Path
  1.3       +4 -1      xml-xerces/c/src/xercesc/sax/AttributeList.hpp
  
  Index: AttributeList.hpp
  ===================================================================
  RCS file: /home/cvs/xml-xerces/c/src/xercesc/sax/AttributeList.hpp,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- AttributeList.hpp 4 Nov 2002 14:56:25 -0000       1.2
  +++ AttributeList.hpp 7 Mar 2003 18:10:06 -0000       1.3
  @@ -56,6 +56,9 @@
   
   /*
    * $Log$
  + * Revision 1.3  2003/03/07 18:10:06  tng
  + * Return a reference instead of void for operator=
  + *
    * Revision 1.2  2002/11/04 14:56:25  tng
    * C++ Namespace Support.
    *
  @@ -298,7 +301,7 @@
       /* Copy constructor */
       AttributeList(const AttributeList&);
       /* Assignment operator */
  -    void operator=(const AttributeList&);
  +    AttributeList& operator=(const AttributeList&);
   
   };
   
  
  
  
  1.3       +4 -1      xml-xerces/c/src/xercesc/sax/DocumentHandler.hpp
  
  Index: DocumentHandler.hpp
  ===================================================================
  RCS file: /home/cvs/xml-xerces/c/src/xercesc/sax/DocumentHandler.hpp,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- DocumentHandler.hpp       4 Nov 2002 14:56:25 -0000       1.2
  +++ DocumentHandler.hpp       7 Mar 2003 18:10:06 -0000       1.3
  @@ -56,6 +56,9 @@
   
   /*
    * $Log$
  + * Revision 1.3  2003/03/07 18:10:06  tng
  + * Return a reference instead of void for operator=
  + *
    * Revision 1.2  2002/11/04 14:56:25  tng
    * C++ Namespace Support.
    *
  @@ -344,7 +347,7 @@
       /* Copy constructor */
       DocumentHandler(const DocumentHandler&);
       /** Assignment operator */
  -    void operator=(const DocumentHandler&);
  +    DocumentHandler& operator=(const DocumentHandler&);
   };
   
   XERCES_CPP_NAMESPACE_END
  
  
  
  1.4       +4 -1      xml-xerces/c/src/xercesc/sax/DTDHandler.hpp
  
  Index: DTDHandler.hpp
  ===================================================================
  RCS file: /home/cvs/xml-xerces/c/src/xercesc/sax/DTDHandler.hpp,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- DTDHandler.hpp    4 Nov 2002 14:56:25 -0000       1.3
  +++ DTDHandler.hpp    7 Mar 2003 18:10:06 -0000       1.4
  @@ -56,6 +56,9 @@
   
   /*
    * $Log$
  + * Revision 1.4  2003/03/07 18:10:06  tng
  + * Return a reference instead of void for operator=
  + *
    * Revision 1.3  2002/11/04 14:56:25  tng
    * C++ Namespace Support.
    *
  @@ -217,7 +220,7 @@
       DTDHandler(const DTDHandler&);
   
       /* Assignment operator */
  -    void operator=(const DTDHandler&);
  +    DTDHandler& operator=(const DTDHandler&);
   
   };
   
  
  
  
  1.4       +4 -1      xml-xerces/c/src/xercesc/sax/EntityResolver.hpp
  
  Index: EntityResolver.hpp
  ===================================================================
  RCS file: /home/cvs/xml-xerces/c/src/xercesc/sax/EntityResolver.hpp,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- EntityResolver.hpp        4 Nov 2002 14:56:25 -0000       1.3
  +++ EntityResolver.hpp        7 Mar 2003 18:10:06 -0000       1.4
  @@ -56,6 +56,9 @@
   
   /*
    * $Log$
  + * Revision 1.4  2003/03/07 18:10:06  tng
  + * Return a reference instead of void for operator=
  + *
    * Revision 1.3  2002/11/04 14:56:25  tng
    * C++ Namespace Support.
    *
  @@ -228,7 +231,7 @@
       EntityResolver(const EntityResolver&);
   
       /* Assignment operator */
  -    void operator=(const EntityResolver&);
  +    EntityResolver& operator=(const EntityResolver&);
   
   };
   
  
  
  
  1.3       +4 -1      xml-xerces/c/src/xercesc/sax/ErrorHandler.hpp
  
  Index: ErrorHandler.hpp
  ===================================================================
  RCS file: /home/cvs/xml-xerces/c/src/xercesc/sax/ErrorHandler.hpp,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- ErrorHandler.hpp  4 Nov 2002 14:56:25 -0000       1.2
  +++ ErrorHandler.hpp  7 Mar 2003 18:10:06 -0000       1.3
  @@ -56,6 +56,9 @@
   
   /*
    * $Log$
  + * Revision 1.3  2003/03/07 18:10:06  tng
  + * Return a reference instead of void for operator=
  + *
    * Revision 1.2  2002/11/04 14:56:25  tng
    * C++ Namespace Support.
    *
  @@ -226,7 +229,7 @@
       ErrorHandler(const ErrorHandler&);
   
       /* Assignment operator */
  -    void operator=(const ErrorHandler&);
  +    ErrorHandler& operator=(const ErrorHandler&);
   
   };
   
  
  
  
  1.5       +4 -1      xml-xerces/c/src/xercesc/sax/InputSource.hpp
  
  Index: InputSource.hpp
  ===================================================================
  RCS file: /home/cvs/xml-xerces/c/src/xercesc/sax/InputSource.hpp,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- InputSource.hpp   4 Nov 2002 14:56:26 -0000       1.4
  +++ InputSource.hpp   7 Mar 2003 18:10:06 -0000       1.5
  @@ -56,6 +56,9 @@
   
   /*
    * $Log$
  + * Revision 1.5  2003/03/07 18:10:06  tng
  + * Return a reference instead of void for operator=
  + *
    * Revision 1.4  2002/11/04 14:56:26  tng
    * C++ Namespace Support.
    *
  @@ -341,7 +344,7 @@
       //  Unimplemented constructors and operators
       // -----------------------------------------------------------------------
       InputSource(const InputSource&);
  -    void operator=(const InputSource&);
  +    InputSource& operator=(const InputSource&);
   
   
       // -----------------------------------------------------------------------
  
  
  
  1.4       +4 -1      xml-xerces/c/src/xercesc/sax/Locator.hpp
  
  Index: Locator.hpp
  ===================================================================
  RCS file: /home/cvs/xml-xerces/c/src/xercesc/sax/Locator.hpp,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- Locator.hpp       4 Nov 2002 14:56:26 -0000       1.3
  +++ Locator.hpp       7 Mar 2003 18:10:06 -0000       1.4
  @@ -56,6 +56,9 @@
   
   /*
    * $Log$
  + * Revision 1.4  2003/03/07 18:10:06  tng
  + * Return a reference instead of void for operator=
  + *
    * Revision 1.3  2002/11/04 14:56:26  tng
    * C++ Namespace Support.
    *
  @@ -189,7 +192,7 @@
       Locator(const Locator&);
   
       /* Assignment operator */
  -    void operator=(const Locator&);
  +    Locator& operator=(const Locator&);
   };
   
   XERCES_CPP_NAMESPACE_END
  
  
  
  1.4       +4 -1      xml-xerces/c/src/xercesc/sax/Parser.hpp
  
  Index: Parser.hpp
  ===================================================================
  RCS file: /home/cvs/xml-xerces/c/src/xercesc/sax/Parser.hpp,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- Parser.hpp        4 Nov 2002 14:56:26 -0000       1.3
  +++ Parser.hpp        7 Mar 2003 18:10:06 -0000       1.4
  @@ -56,6 +56,9 @@
   
   /*
    * $Log$
  + * Revision 1.4  2003/03/07 18:10:06  tng
  + * Return a reference instead of void for operator=
  + *
    * Revision 1.3  2002/11/04 14:56:26  tng
    * C++ Namespace Support.
    *
  @@ -314,7 +317,7 @@
       Parser(const Parser&);
   
       /* The assignment operator, you cannot call this directly */
  -    void operator=(const Parser&);
  +    Parser& operator=(const Parser&);
   };
   
   XERCES_CPP_NAMESPACE_END
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to