Lines Matching refs:_rRH
363 ORowSetValue& ORowSetValue::operator=(const ORowSetValue& _rRH) in operator =() argument
365 if(&_rRH == this) in operator =()
368 if ( m_eTypeKind != _rRH.m_eTypeKind || (_rRH.m_bNull && !m_bNull) || m_bSigned != _rRH.m_bSigned) in operator =()
371 m_bBound = _rRH.m_bBound; in operator =()
372 m_eTypeKind = _rRH.m_eTypeKind; in operator =()
373 m_bSigned = _rRH.m_bSigned; in operator =()
375 if(m_bNull && !_rRH.m_bNull) in operator =()
377 switch(_rRH.m_eTypeKind) in operator =()
384 rtl_uString_acquire(_rRH.m_aValue.m_pString); in operator =()
385 m_aValue.m_pString = _rRH.m_aValue.m_pString; in operator =()
388 if ( _rRH.m_bSigned ) in operator =()
390 m_aValue.m_pValue = new sal_Int64(*(sal_Int64*)_rRH.m_aValue.m_pValue); in operator =()
395 rtl_uString_acquire(_rRH.m_aValue.m_pString); in operator =()
396 m_aValue.m_pString = _rRH.m_aValue.m_pString; in operator =()
400 m_aValue.m_pValue = new float(*(float*)_rRH.m_aValue.m_pValue); in operator =()
405 m_aValue.m_pValue = new double(*(double*)_rRH.m_aValue.m_pValue); in operator =()
409 m_aValue.m_pValue = new Date(*(Date*)_rRH.m_aValue.m_pValue); in operator =()
413 m_aValue.m_pValue = new Time(*(Time*)_rRH.m_aValue.m_pValue); in operator =()
417 m_aValue.m_pValue = new DateTime(*(DateTime*)_rRH.m_aValue.m_pValue); in operator =()
423 m_aValue.m_pValue = new Sequence<sal_Int8>(*(Sequence<sal_Int8>*)_rRH.m_aValue.m_pValue); in operator =()
428 m_aValue.m_bBool = _rRH.m_aValue.m_bBool; in operator =()
431 if ( _rRH.m_bSigned ) in operator =()
432 m_aValue.m_nInt8 = _rRH.m_aValue.m_nInt8; in operator =()
434 m_aValue.m_nInt16 = _rRH.m_aValue.m_nInt16; in operator =()
437 if ( _rRH.m_bSigned ) in operator =()
438 m_aValue.m_nInt16 = _rRH.m_aValue.m_nInt16; in operator =()
440 m_aValue.m_nInt32 = _rRH.m_aValue.m_nInt32; in operator =()
443 if ( _rRH.m_bSigned ) in operator =()
444 m_aValue.m_nInt32 = _rRH.m_aValue.m_nInt32; in operator =()
447 m_aValue.m_pValue = new sal_Int64(*(sal_Int64*)_rRH.m_aValue.m_pValue); in operator =()
452 m_aValue.m_pValue = new Any(*(Any*)_rRH.m_aValue.m_pValue); in operator =()
456 else if(!_rRH.m_bNull) in operator =()
458 switch(_rRH.m_eTypeKind) in operator =()
465 (*this) = ::rtl::OUString(_rRH.m_aValue.m_pString); in operator =()
468 if ( _rRH.m_bSigned ) in operator =()
469 (*this) = *(sal_Int64*)_rRH.m_aValue.m_pValue; in operator =()
471 (*this) = ::rtl::OUString(_rRH.m_aValue.m_pString); in operator =()
474 (*this) = *(float*)_rRH.m_aValue.m_pValue; in operator =()
478 (*this) = *(double*)_rRH.m_aValue.m_pValue; in operator =()
481 (*this) = *(Date*)_rRH.m_aValue.m_pValue; in operator =()
484 (*this) = *(Time*)_rRH.m_aValue.m_pValue; in operator =()
487 (*this) = *(DateTime*)_rRH.m_aValue.m_pValue; in operator =()
492 (*this) = *(Sequence<sal_Int8>*)_rRH.m_aValue.m_pValue; in operator =()
496 m_aValue.m_bBool = _rRH.m_aValue.m_bBool; in operator =()
499 if ( _rRH.m_bSigned ) in operator =()
500 m_aValue.m_nInt8 = _rRH.m_aValue.m_nInt8; in operator =()
502 m_aValue.m_nInt16 = _rRH.m_aValue.m_nInt16; in operator =()
505 if ( _rRH.m_bSigned ) in operator =()
506 m_aValue.m_nInt16 = _rRH.m_aValue.m_nInt16; in operator =()
508 m_aValue.m_nInt32 = _rRH.m_aValue.m_nInt32; in operator =()
511 if ( _rRH.m_bSigned ) in operator =()
512 m_aValue.m_nInt32 = _rRH.m_aValue.m_nInt32; in operator =()
514 … *static_cast<sal_Int64*>(m_aValue.m_pValue) = *(sal_Int64*)_rRH.m_aValue.m_pValue; in operator =()
517 (*(Any*)m_aValue.m_pValue) = (*(Any*)_rRH.m_aValue.m_pValue); in operator =()
521 m_bNull = _rRH.m_bNull; in operator =()
523 m_eTypeKind = _rRH.m_eTypeKind; in operator =()
529 ORowSetValue& ORowSetValue::operator=(const Date& _rRH) in operator =() argument
536 m_aValue.m_pValue = new Date(_rRH); in operator =()
542 *(Date*)m_aValue.m_pValue = _rRH; in operator =()
547 ORowSetValue& ORowSetValue::operator=(const Time& _rRH) in operator =() argument
554 m_aValue.m_pValue = new Time(_rRH); in operator =()
560 *(Time*)m_aValue.m_pValue = _rRH; in operator =()
565 ORowSetValue& ORowSetValue::operator=(const DateTime& _rRH) in operator =() argument
571 m_aValue.m_pValue = new DateTime(_rRH); in operator =()
577 *(DateTime*)m_aValue.m_pValue = _rRH; in operator =()
583 ORowSetValue& ORowSetValue::operator=(const ::rtl::OUString& _rRH) in operator =() argument
585 if(m_eTypeKind != DataType::VARCHAR || m_aValue.m_pString != _rRH.pData) in operator =()
590 m_aValue.m_pString = _rRH.pData; in operator =()
599 ORowSetValue& ORowSetValue::operator=(const double& _rRH) in operator =() argument
606 m_aValue.m_pValue = new double(_rRH); in operator =()
612 *(double*)m_aValue.m_pValue = _rRH; in operator =()
617 ORowSetValue& ORowSetValue::operator=(const float& _rRH) in operator =() argument
624 m_aValue.m_pValue = new float(_rRH); in operator =()
630 *(float*)m_aValue.m_pValue = _rRH; in operator =()
636 ORowSetValue& ORowSetValue::operator=(const sal_Int8& _rRH) in operator =() argument
641 m_aValue.m_nInt8 = _rRH; in operator =()
648 ORowSetValue& ORowSetValue::operator=(const sal_Int16& _rRH) in operator =() argument
653 m_aValue.m_nInt16 = _rRH; in operator =()
661 ORowSetValue& ORowSetValue::operator=(const sal_Int32& _rRH) in operator =() argument
667 m_aValue.m_nInt32 = _rRH; in operator =()
672 m_aValue.m_pValue = new sal_Int64(_rRH); in operator =()
676 *static_cast<sal_Int64*>(m_aValue.m_pValue) = static_cast<sal_Int64>(_rRH); in operator =()
686 ORowSetValue& ORowSetValue::operator=(const sal_Bool _rRH) in operator =() argument
691 m_aValue.m_bBool = _rRH; in operator =()
698 ORowSetValue& ORowSetValue::operator=(const sal_Int64& _rRH) in operator =() argument
707 m_aValue.m_pValue = new sal_Int64(_rRH); in operator =()
711 *static_cast<sal_Int64*>(m_aValue.m_pValue) = _rRH; in operator =()
715 ::rtl::OUString aVal = ::rtl::OUString::valueOf(_rRH); in operator =()
726 ORowSetValue& ORowSetValue::operator=(const Sequence<sal_Int8>& _rRH) in operator =() argument
733 m_aValue.m_pValue = new Sequence<sal_Int8>(_rRH); in operator =()
737 *static_cast< Sequence< sal_Int8 >* >(m_aValue.m_pValue) = _rRH; in operator =()
765 sal_Bool operator==(const Date& _rLH,const Date& _rRH) in operator ==() argument
767 return _rLH.Day == _rRH.Day && _rLH.Month == _rRH.Month && _rLH.Year == _rRH.Year; in operator ==()
771 sal_Bool operator==(const Time& _rLH,const Time& _rRH) in operator ==() argument
773 …return _rLH.Minutes == _rRH.Minutes && _rLH.Hours == _rRH.Hours && _rLH.Seconds == _rRH.Seconds &&… in operator ==()
777 sal_Bool operator==(const DateTime& _rLH,const DateTime& _rRH) in operator ==() argument
779 return _rLH.Day == _rRH.Day && _rLH.Month == _rRH.Month && _rLH.Year == _rRH.Year && in operator ==()
780 …_rLH.Minutes == _rRH.Minutes && _rLH.Hours == _rRH.Hours && _rLH.Seconds == _rRH.Seconds && _rLH.H… in operator ==()
784 bool ORowSetValue::operator==(const ORowSetValue& _rRH) const in operator ==()
786 if ( m_bNull != _rRH.isNull() ) in operator ==()
789 if(m_bNull && _rRH.isNull()) in operator ==()
792 if ( m_eTypeKind != _rRH.m_eTypeKind ) in operator ==()
799 return getDouble() == _rRH.getDouble(); in operator ==()
801 switch(_rRH.m_eTypeKind) in operator ==()
806 return getDouble() == _rRH.getDouble(); in operator ==()
824 ::rtl::OUString aVal2(_rRH.m_aValue.m_pString); in operator ==()
828 if ( m_bSigned != _rRH.m_bSigned ) in operator ==()
839 ::rtl::OUString aVal2(_rRH.m_aValue.m_pString); in operator ==()
844 bRet = *(float*)m_aValue.m_pValue == *(float*)_rRH.m_aValue.m_pValue; in operator ==()
848 bRet = *(double*)m_aValue.m_pValue == *(double*)_rRH.m_aValue.m_pValue; in operator ==()
851 …bRet = m_bSigned ? ( m_aValue.m_nInt8 == _rRH.m_aValue.m_nInt8 ) : (m_aValue.m_nInt16 == _rRH.m_aV… in operator ==()
854 …bRet = m_bSigned ? ( m_aValue.m_nInt16 == _rRH.m_aValue.m_nInt16 ) : (m_aValue.m_nInt32 == _rRH.m_… in operator ==()
857 …= m_bSigned ? ( m_aValue.m_nInt32 == _rRH.m_aValue.m_nInt32 ) : (*(sal_Int64*)m_aValue.m_pValue ==… in operator ==()
861 bRet = *(sal_Int64*)m_aValue.m_pValue == *(sal_Int64*)_rRH.m_aValue.m_pValue; in operator ==()
865 ::rtl::OUString aVal2(_rRH.m_aValue.m_pString); in operator ==()
871 bRet = m_aValue.m_bBool == _rRH.m_aValue.m_bBool; in operator ==()
874 bRet = *(Date*)m_aValue.m_pValue == *(Date*)_rRH.m_aValue.m_pValue; in operator ==()
877 bRet = *(Time*)m_aValue.m_pValue == *(Time*)_rRH.m_aValue.m_pValue; in operator ==()
880 bRet = *(DateTime*)m_aValue.m_pValue == *(DateTime*)_rRH.m_aValue.m_pValue; in operator ==()