xalan-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dbert...@apache.org
Subject cvs commit: xml-xalan/c/src/PlatformSupport XalanDecimalFormatSymbols.cpp XalanDecimalFormatSymbols.hpp
Date Sat, 24 Nov 2001 01:32:00 GMT
dbertoni    01/11/23 17:32:00

  Modified:    c/src/PlatformSupport XalanDecimalFormatSymbols.cpp
                        XalanDecimalFormatSymbols.hpp
  Log:
  Added operator==() and operator!=().
  
  Revision  Changes    Path
  1.4       +21 -0     xml-xalan/c/src/PlatformSupport/XalanDecimalFormatSymbols.cpp
  
  Index: XalanDecimalFormatSymbols.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/src/PlatformSupport/XalanDecimalFormatSymbols.cpp,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- XalanDecimalFormatSymbols.cpp	2000/09/19 14:43:50	1.3
  +++ XalanDecimalFormatSymbols.cpp	2001/11/24 01:32:00	1.4
  @@ -159,3 +159,24 @@
   
   	return *this;
   }
  +
  +
  +
  +bool
  +XalanDecimalFormatSymbols::operator==(const XalanDecimalFormatSymbols&	theRHS) const
  +{
  +	return 
  +		m_currencySymbol == theRHS.m_currencySymbol &&
  +		m_decimalSeparator == theRHS.m_decimalSeparator &&
  +		m_digit == theRHS.m_digit &&
  +		m_groupingSeparator == theRHS.m_groupingSeparator &&
  +		m_infinity == theRHS.m_infinity &&
  +		m_internationalCurrencySymbol == theRHS.m_internationalCurrencySymbol &&
  +		m_minusSign == theRHS.m_minusSign &&
  +		m_monetaryDecimalSeparator == theRHS.m_monetaryDecimalSeparator &&
  +		m_NaN == theRHS.m_NaN &&
  +		m_patternSeparator == theRHS.m_patternSeparator &&
  +		m_percent == theRHS.m_percent &&
  +		m_perMill == theRHS.m_perMill &&
  +		m_zeroDigit == theRHS.m_zeroDigit;
  +}
  
  
  
  1.3       +9 -0      xml-xalan/c/src/PlatformSupport/XalanDecimalFormatSymbols.hpp
  
  Index: XalanDecimalFormatSymbols.hpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/src/PlatformSupport/XalanDecimalFormatSymbols.hpp,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- XalanDecimalFormatSymbols.hpp	2000/11/02 01:45:37	1.2
  +++ XalanDecimalFormatSymbols.hpp	2001/11/24 01:32:00	1.3
  @@ -436,6 +436,15 @@
   		m_zeroDigit = theZeroDigit;
   	}
   
  +	bool
  +	operator==(const XalanDecimalFormatSymbols&		theRHS) const;
  +
  +	bool
  +	operator!=(const XalanDecimalFormatSymbols&		theRHS) const
  +	{
  +		return !operator==(theRHS);
  +	}
  +
   private:
   
   	XalanDOMString	m_currencySymbol;
  
  
  

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


Mime
View raw message