Lines Matching refs:m_aValue
278 OSL_ENSURE(m_aValue.m_pString,"String pointer is null!"); in free()
279 rtl_uString_release(m_aValue.m_pString); in free()
280 m_aValue.m_pString = NULL; in free()
285 delete (sal_Int64*)m_aValue.m_pValue; in free()
287 m_aValue.m_pValue = NULL; in free()
293 delete (sal_Int64*)m_aValue.m_pValue; in free()
295 m_aValue.m_pValue = NULL; in free()
299 OSL_ENSURE(m_aValue.m_pString,"String pointer is null!"); in free()
300 rtl_uString_release(m_aValue.m_pString); in free()
301 m_aValue.m_pString = NULL; in free()
305 delete (float*)m_aValue.m_pValue; in free()
307 m_aValue.m_pValue = NULL; in free()
311 delete (double*)m_aValue.m_pValue; in free()
313 m_aValue.m_pValue = NULL; in free()
316 delete (::com::sun::star::util::Date*)m_aValue.m_pValue; in free()
318 m_aValue.m_pValue = NULL; in free()
321 delete (::com::sun::star::util::Time*)m_aValue.m_pValue; in free()
323 m_aValue.m_pValue = NULL; in free()
326 delete (::com::sun::star::util::DateTime*)m_aValue.m_pValue; in free()
328 m_aValue.m_pValue = NULL; in free()
333 delete (Sequence<sal_Int8>*)m_aValue.m_pValue; in free()
335 m_aValue.m_pValue = NULL; in free()
340 delete (Any*)m_aValue.m_pValue; in free()
342 m_aValue.m_pValue = NULL; in free()
350 if ( m_aValue.m_pValue ) in free()
352 delete (Any*)m_aValue.m_pValue; in free()
354 m_aValue.m_pValue = NULL; in free()
384 rtl_uString_acquire(_rRH.m_aValue.m_pString); in operator =()
385 m_aValue.m_pString = _rRH.m_aValue.m_pString; 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 =()
432 m_aValue.m_nInt8 = _rRH.m_aValue.m_nInt8; in operator =()
434 m_aValue.m_nInt16 = _rRH.m_aValue.m_nInt16; 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 =()
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 =()
465 (*this) = ::rtl::OUString(_rRH.m_aValue.m_pString); 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 =()
500 m_aValue.m_nInt8 = _rRH.m_aValue.m_nInt8; in operator =()
502 m_aValue.m_nInt16 = _rRH.m_aValue.m_nInt16; 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 =()
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 =()
536 m_aValue.m_pValue = new Date(_rRH); in operator =()
542 *(Date*)m_aValue.m_pValue = _rRH; in operator =()
554 m_aValue.m_pValue = new Time(_rRH); in operator =()
560 *(Time*)m_aValue.m_pValue = _rRH; in operator =()
571 m_aValue.m_pValue = new DateTime(_rRH); in operator =()
577 *(DateTime*)m_aValue.m_pValue = _rRH; in operator =()
585 if(m_eTypeKind != DataType::VARCHAR || m_aValue.m_pString != _rRH.pData) in operator =()
590 m_aValue.m_pString = _rRH.pData; in operator =()
591 rtl_uString_acquire(m_aValue.m_pString); in operator =()
606 m_aValue.m_pValue = new double(_rRH); in operator =()
612 *(double*)m_aValue.m_pValue = _rRH; in operator =()
624 m_aValue.m_pValue = new float(_rRH); in operator =()
630 *(float*)m_aValue.m_pValue = _rRH; in operator =()
641 m_aValue.m_nInt8 = _rRH; in operator =()
653 m_aValue.m_nInt16 = _rRH; in operator =()
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 =()
691 m_aValue.m_bBool = _rRH; in operator =()
707 m_aValue.m_pValue = new sal_Int64(_rRH); in operator =()
711 *static_cast<sal_Int64*>(m_aValue.m_pValue) = _rRH; in operator =()
716 m_aValue.m_pString = aVal.pData; in operator =()
717 rtl_uString_acquire(m_aValue.m_pString); in operator =()
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 =()
752 m_aValue.m_pValue = new Any(_rAny); in operator =()
756 *static_cast<Any*>(m_aValue.m_pValue) = _rAny; in operator =()
823 ::rtl::OUString aVal1(m_aValue.m_pString); in operator ==()
824 ::rtl::OUString aVal2(_rRH.m_aValue.m_pString); in operator ==()
838 ::rtl::OUString aVal1(m_aValue.m_pString); 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 …bRet = m_bSigned ? ( m_aValue.m_nInt32 == _rRH.m_aValue.m_nInt32 ) : (*(sal_Int64*)m_aValue.m_pVal… in operator ==()
861 bRet = *(sal_Int64*)m_aValue.m_pValue == *(sal_Int64*)_rRH.m_aValue.m_pValue; in operator ==()
864 ::rtl::OUString aVal1(m_aValue.m_pString); 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 ==()
914 OSL_ENSURE(m_aValue.m_pString,"Value is null!"); in makeAny()
915 rValue <<= (::rtl::OUString)m_aValue.m_pString; in makeAny()
920 OSL_ENSURE(m_aValue.m_pValue,"Value is null!"); in makeAny()
921 rValue <<= *(sal_Int64*)m_aValue.m_pValue; in makeAny()
925 OSL_ENSURE(m_aValue.m_pString,"Value is null!"); in makeAny()
926 rValue <<= (::rtl::OUString)m_aValue.m_pString; in makeAny()
930 OSL_ENSURE(m_aValue.m_pValue,"Value is null!"); in makeAny()
931 rValue <<= *(float*)m_aValue.m_pValue; in makeAny()
935 OSL_ENSURE(m_aValue.m_pValue,"Value is null!"); in makeAny()
936 rValue <<= *(double*)m_aValue.m_pValue; in makeAny()
939 OSL_ENSURE(m_aValue.m_pValue,"Value is null!"); in makeAny()
940 rValue <<= *(Date*)m_aValue.m_pValue; in makeAny()
943 OSL_ENSURE(m_aValue.m_pValue,"Value is null!"); in makeAny()
944 rValue <<= *(Time*)m_aValue.m_pValue; in makeAny()
947 OSL_ENSURE(m_aValue.m_pValue,"Value is null!"); in makeAny()
948 rValue <<= *(DateTime*)m_aValue.m_pValue; in makeAny()
953 OSL_ENSURE(m_aValue.m_pValue,"Value is null!"); in makeAny()
954 rValue <<= *(Sequence<sal_Int8>*)m_aValue.m_pValue; in makeAny()
964 rValue.setValue( &m_aValue.m_bBool, ::getCppuBooleanType() ); in makeAny()
968 rValue <<= m_aValue.m_nInt8; in makeAny()
970 rValue <<= m_aValue.m_nInt16; in makeAny()
974 rValue <<= m_aValue.m_nInt16; in makeAny()
976 rValue <<= m_aValue.m_nInt32; in makeAny()
980 rValue <<= m_aValue.m_nInt32; in makeAny()
983 OSL_ENSURE(m_aValue.m_pValue,"Value is null!"); in makeAny()
984 rValue <<= *(sal_Int64*)m_aValue.m_pValue; in makeAny()
1009 aRet = m_aValue.m_pString; in getString()
1015 aRet = m_aValue.m_pString; in getString()
1104 const ::rtl::OUString sValue(m_aValue.m_pString); in getBool()
1122 bRet = ::rtl::OUString(m_aValue.m_pString).toInt32() != 0; in getBool()
1126 bRet = *(sal_Int64*)m_aValue.m_pValue != 0; in getBool()
1128 bRet = ::rtl::OUString(m_aValue.m_pString).toInt64() != 0; in getBool()
1131 bRet = *(float*)m_aValue.m_pValue != 0.0; in getBool()
1135 bRet = *(double*)m_aValue.m_pValue != 0.0; in getBool()
1147 bRet = m_aValue.m_bBool; in getBool()
1150 bRet = m_bSigned ? (m_aValue.m_nInt8 != 0) : (m_aValue.m_nInt16 != 0); in getBool()
1153 bRet = m_bSigned ? (m_aValue.m_nInt16 != 0) : (m_aValue.m_nInt32 != 0); in getBool()
1156 …bRet = m_bSigned ? (m_aValue.m_nInt32 != 0) : (*static_cast<sal_Int64*>(m_aValue.m_pValue) != sal_… in getBool()
1184 nRet = sal_Int8(::rtl::OUString(m_aValue.m_pString).toInt32()); in getInt8()
1188 nRet = sal_Int8(*(sal_Int64*)m_aValue.m_pValue); in getInt8()
1190 nRet = sal_Int8(::rtl::OUString(m_aValue.m_pString).toInt32()); in getInt8()
1193 nRet = sal_Int8(*(float*)m_aValue.m_pValue); in getInt8()
1197 nRet = sal_Int8(*(double*)m_aValue.m_pValue); in getInt8()
1211 nRet = m_aValue.m_bBool; in getInt8()
1215 nRet = m_aValue.m_nInt8; in getInt8()
1217 nRet = static_cast<sal_Int8>(m_aValue.m_nInt16); in getInt8()
1221 nRet = static_cast<sal_Int8>(m_aValue.m_nInt16); in getInt8()
1223 nRet = static_cast<sal_Int8>(m_aValue.m_nInt32); in getInt8()
1227 nRet = static_cast<sal_Int8>(m_aValue.m_nInt32); in getInt8()
1229 nRet = static_cast<sal_Int8>(*static_cast<sal_Int64*>(m_aValue.m_pValue)); in getInt8()
1257 nRet = sal_Int16(::rtl::OUString(m_aValue.m_pString).toInt32()); in getInt16()
1261 nRet = sal_Int16(*(sal_Int64*)m_aValue.m_pValue); in getInt16()
1263 nRet = sal_Int16(::rtl::OUString(m_aValue.m_pString).toInt32()); in getInt16()
1266 nRet = sal_Int16(*(float*)m_aValue.m_pValue); in getInt16()
1270 nRet = sal_Int16(*(double*)m_aValue.m_pValue); in getInt16()
1284 nRet = m_aValue.m_bBool; in getInt16()
1288 nRet = m_aValue.m_nInt8; in getInt16()
1290 nRet = m_aValue.m_nInt16; in getInt16()
1294 nRet = m_aValue.m_nInt16; in getInt16()
1296 nRet = static_cast<sal_Int16>(m_aValue.m_nInt32); in getInt16()
1300 nRet = static_cast<sal_Int16>(m_aValue.m_nInt32); in getInt16()
1302 nRet = static_cast<sal_Int16>(*static_cast<sal_Int64*>(m_aValue.m_pValue)); in getInt16()
1328 nRet = ::rtl::OUString(m_aValue.m_pString).toInt32(); in getInt32()
1332 nRet = sal_Int32(*(sal_Int64*)m_aValue.m_pValue); in getInt32()
1334 nRet = ::rtl::OUString(m_aValue.m_pString).toInt32(); in getInt32()
1337 nRet = sal_Int32(*(float*)m_aValue.m_pValue); in getInt32()
1341 nRet = sal_Int32(*(double*)m_aValue.m_pValue); in getInt32()
1344 nRet = dbtools::DBTypeConversion::toDays(*(::com::sun::star::util::Date*)m_aValue.m_pValue); in getInt32()
1357 nRet = m_aValue.m_bBool; in getInt32()
1361 nRet = m_aValue.m_nInt8; in getInt32()
1363 nRet = m_aValue.m_nInt16; in getInt32()
1367 nRet = m_aValue.m_nInt16; in getInt32()
1369 nRet = m_aValue.m_nInt32; in getInt32()
1373 nRet = m_aValue.m_nInt32; in getInt32()
1375 nRet = static_cast<sal_Int32>(*static_cast<sal_Int64*>(m_aValue.m_pValue)); in getInt32()
1401 nRet = ::rtl::OUString(m_aValue.m_pString).toInt64(); in getLong()
1405 nRet = *(sal_Int64*)m_aValue.m_pValue; in getLong()
1407 nRet = ::rtl::OUString(m_aValue.m_pString).toInt64(); in getLong()
1410 nRet = sal_Int64(*(float*)m_aValue.m_pValue); in getLong()
1414 nRet = sal_Int64(*(double*)m_aValue.m_pValue); in getLong()
1417 nRet = dbtools::DBTypeConversion::toDays(*(::com::sun::star::util::Date*)m_aValue.m_pValue); in getLong()
1430 nRet = m_aValue.m_bBool; in getLong()
1434 nRet = m_aValue.m_nInt8; in getLong()
1436 nRet = m_aValue.m_nInt16; in getLong()
1440 nRet = m_aValue.m_nInt16; in getLong()
1442 nRet = m_aValue.m_nInt32; in getLong()
1446 nRet = m_aValue.m_nInt32; in getLong()
1448 nRet = *(sal_Int64*)m_aValue.m_pValue; in getLong()
1474 nRet = ::rtl::OUString(m_aValue.m_pString).toFloat(); in getFloat()
1478 nRet = float(*(sal_Int64*)m_aValue.m_pValue); in getFloat()
1480 nRet = ::rtl::OUString(m_aValue.m_pString).toFloat(); in getFloat()
1483 nRet = *(float*)m_aValue.m_pValue; in getFloat()
1487 nRet = (float)*(double*)m_aValue.m_pValue; in getFloat()
1490 …nRet = (float)dbtools::DBTypeConversion::toDouble(*(::com::sun::star::util::Date*)m_aValue.m_pValu… in getFloat()
1493 …nRet = (float)dbtools::DBTypeConversion::toDouble(*(::com::sun::star::util::Time*)m_aValue.m_pValu… in getFloat()
1496 …nRet = (float)dbtools::DBTypeConversion::toDouble(*(::com::sun::star::util::DateTime*)m_aValue.m_p… in getFloat()
1507 nRet = m_aValue.m_bBool; in getFloat()
1511 nRet = m_aValue.m_nInt8; in getFloat()
1513 nRet = m_aValue.m_nInt16; in getFloat()
1517 nRet = m_aValue.m_nInt16; in getFloat()
1519 nRet = (float)m_aValue.m_nInt32; in getFloat()
1523 nRet = (float)m_aValue.m_nInt32; in getFloat()
1525 nRet = float(*(sal_Int64*)m_aValue.m_pValue); in getFloat()
1553 nRet = ::rtl::OUString(m_aValue.m_pString).toDouble(); in getDouble()
1557 nRet = double(*(sal_Int64*)m_aValue.m_pValue); in getDouble()
1559 nRet = ::rtl::OUString(m_aValue.m_pString).toDouble(); in getDouble()
1562 nRet = *(float*)m_aValue.m_pValue; in getDouble()
1566 nRet = *(double*)m_aValue.m_pValue; in getDouble()
1569 nRet = dbtools::DBTypeConversion::toDouble(*(::com::sun::star::util::Date*)m_aValue.m_pValue); in getDouble()
1572 nRet = dbtools::DBTypeConversion::toDouble(*(::com::sun::star::util::Time*)m_aValue.m_pValue); in getDouble()
1575 … nRet = dbtools::DBTypeConversion::toDouble(*(::com::sun::star::util::DateTime*)m_aValue.m_pValue); in getDouble()
1586 nRet = m_aValue.m_bBool; in getDouble()
1590 nRet = m_aValue.m_nInt8; in getDouble()
1592 nRet = m_aValue.m_nInt16; in getDouble()
1596 nRet = m_aValue.m_nInt16; in getDouble()
1598 nRet = m_aValue.m_nInt32; in getDouble()
1602 nRet = m_aValue.m_nInt32; in getDouble()
1604 nRet = double(*(sal_Int64*)m_aValue.m_pValue); in getDouble()
1632 m_aValue.m_pString = aVal.pData; in setFromDouble()
1633 rtl_uString_acquire(m_aValue.m_pString); in setFromDouble()
1639 m_aValue.m_pValue = new sal_Int64((sal_Int64)_rVal); in setFromDouble()
1645 m_aValue.m_pString = aVal.pData; in setFromDouble()
1646 rtl_uString_acquire(m_aValue.m_pString); in setFromDouble()
1650 m_aValue.m_pValue = new float((float)_rVal); in setFromDouble()
1655 m_aValue.m_pValue = new double(_rVal); in setFromDouble()
1659 m_aValue.m_pValue = new Date(dbtools::DBTypeConversion::toDate(_rVal)); in setFromDouble()
1663 m_aValue.m_pValue = new Time(dbtools::DBTypeConversion::toTime(_rVal)); in setFromDouble()
1667 m_aValue.m_pValue = new DateTime(dbtools::DBTypeConversion::toDateTime(_rVal)); in setFromDouble()
1679 m_aValue.m_bBool = _rVal != 0.0; in setFromDouble()
1683 m_aValue.m_nInt8 = sal_Int8(_rVal); in setFromDouble()
1685 m_aValue.m_nInt16 = sal_Int16(_rVal); in setFromDouble()
1689 m_aValue.m_nInt16 = sal_Int16(_rVal); in setFromDouble()
1691 m_aValue.m_nInt32 = sal_Int32(_rVal); in setFromDouble()
1695 m_aValue.m_nInt32 = sal_Int32(_rVal); in setFromDouble()
1698 m_aValue.m_pValue = new sal_Int64((sal_Int64)_rVal); in setFromDouble()
1704 m_aValue.m_pValue = new Any(_rVal); in setFromDouble()
1763 ::rtl::OUString sVal(m_aValue.m_pString); in getSequence()
1770 aSeq = *static_cast< Sequence<sal_Int8>*>(m_aValue.m_pValue); in getSequence()
1806 aValue = *static_cast< ::com::sun::star::util::Date*>(m_aValue.m_pValue); in getDate()
1810 …ar::util::DateTime* pDateTime = static_cast< ::com::sun::star::util::DateTime*>(m_aValue.m_pValue); in getDate()
1867 …ar::util::DateTime* pDateTime = static_cast< ::com::sun::star::util::DateTime*>(m_aValue.m_pValue); in getTime()
1875 aValue = *static_cast< ::com::sun::star::util::Time*>(m_aValue.m_pValue); in getTime()
1912 …::com::sun::star::util::Date* pDate = static_cast< ::com::sun::star::util::Date*>(m_aValue.m_pValu… in getDateTime()
1920 …::com::sun::star::util::Time* pTime = static_cast< ::com::sun::star::util::Time*>(m_aValue.m_pValu… in getDateTime()
1928 aValue = *static_cast< ::com::sun::star::util::DateTime*>(m_aValue.m_pValue); in getDateTime()