Lines Matching refs:rtl
81 virtual rtl::OUString SAL_CALL getURL() throw (css::uno::RuntimeException);
84 rtl::OUString const & rURL, sal_Bool bReadOnly, sal_Bool bCreate)
105 rtl::OUString const & aKeyName, rtl::OUString const & aUrl)
110 virtual rtl::OUString SAL_CALL getImplementationName() in getImplementationName()
114 virtual sal_Bool SAL_CALL supportsService(rtl::OUString const & ServiceName) in supportsService()
118 virtual css::uno::Sequence< rtl::OUString > SAL_CALL
129 rtl::Reference< SimpleRegistry > const & registry, in Key()
134 virtual rtl::OUString SAL_CALL getKeyName()
143 rtl::OUString const & rKeyName)
168 virtual rtl::OUString SAL_CALL getAsciiValue() throw (
172 virtual void SAL_CALL setAsciiValue(rtl::OUString const & value) throw (
175 virtual css::uno::Sequence< rtl::OUString > SAL_CALL getAsciiListValue()
181 css::uno::Sequence< rtl::OUString > const & seqValue)
186 virtual rtl::OUString SAL_CALL getStringValue() throw(
190 virtual void SAL_CALL setStringValue(rtl::OUString const & value) throw (
193 virtual css::uno::Sequence< rtl::OUString > SAL_CALL getStringListValue()
199 css::uno::Sequence< rtl::OUString > const & seqValue)
215 rtl::OUString const & aKeyName)
221 createKey(rtl::OUString const & aKeyName) throw (
227 virtual void SAL_CALL deleteKey(rtl::OUString const & rKeyName) throw (
235 virtual css::uno::Sequence< rtl::OUString > SAL_CALL getKeyNames() throw (
239 rtl::OUString const & aLinkName, rtl::OUString const & aLinkTarget)
244 virtual void SAL_CALL deleteLink(rtl::OUString const & rLinkName) throw (
247 virtual rtl::OUString SAL_CALL getLinkTarget(
248 rtl::OUString const & rLinkName)
253 virtual rtl::OUString SAL_CALL getResolvedName(
254 rtl::OUString const & aKeyName)
259 rtl::Reference< SimpleRegistry > registry_;
263 rtl::OUString Key::getKeyName() throw (css::uno::RuntimeException) { in getKeyName()
280 css::registry::RegistryKeyType Key::getKeyType(rtl::OUString const & rKeyName) in getKeyType()
288 (rtl::OUString( in getKeyType()
292 rtl::OUString::valueOf(static_cast< sal_Int32 >(err))), in getKeyType()
312 RegError err = key_.getValueInfo(rtl::OUString(), &type, &size); in getValueType()
321 (rtl::OUString( in getValueType()
325 rtl::OUString::valueOf(static_cast< sal_Int32 >(err))), in getValueType()
357 RegError err = key_.getValue(rtl::OUString(), &value); in getLongValue()
363 rtl::OUString( in getLongValue()
370 (rtl::OUString( in getLongValue()
374 rtl::OUString::valueOf(static_cast< sal_Int32 >(err))), in getLongValue()
385 rtl::OUString(), RG_VALUETYPE_LONG, &value, sizeof (sal_Int32)); in setLongValue()
388 (rtl::OUString( in setLongValue()
392 rtl::OUString::valueOf(static_cast< sal_Int32 >(err))), in setLongValue()
403 RegError err = key_.getLongListValue(rtl::OUString(), list); in getLongListValue()
411 rtl::OUString( in getLongListValue()
419 (rtl::OUString( in getLongListValue()
423 rtl::OUString::valueOf(static_cast< sal_Int32 >(err))), in getLongListValue()
429 rtl::OUString( in getLongListValue()
451 rtl::OUString(), list.empty() ? 0 : &list[0], in setLongListValue()
455 (rtl::OUString( in setLongListValue()
459 rtl::OUString::valueOf(static_cast< sal_Int32 >(err))), in setLongListValue()
464 rtl::OUString Key::getAsciiValue() throw ( in getAsciiValue()
471 RegError err = key_.getValueInfo(rtl::OUString(), &type, &size); in getAsciiValue()
474 (rtl::OUString( in getAsciiValue()
478 rtl::OUString::valueOf(static_cast< sal_Int32 >(err))), in getAsciiValue()
483 (rtl::OUString( in getAsciiValue()
487 rtl::OUString::valueOf(static_cast< sal_Int32 >(type))), in getAsciiValue()
493 rtl::OUString( in getAsciiValue()
502 rtl::OUString( in getAsciiValue()
509 err = key_.getValue(rtl::OUString(), &list[0]); in getAsciiValue()
512 (rtl::OUString( in getAsciiValue()
516 rtl::OUString::valueOf(static_cast< sal_Int32 >(err))), in getAsciiValue()
521 rtl::OUString( in getAsciiValue()
528 rtl::OUString value; in getAsciiValue()
537 rtl::OUString( in getAsciiValue()
546 void Key::setAsciiValue(rtl::OUString const & value) in setAsciiValue()
550 rtl::OString utf8; in setAsciiValue()
557 rtl::OUString( in setAsciiValue()
564 rtl::OUString(), RG_VALUETYPE_STRING, in setAsciiValue()
569 (rtl::OUString( in setAsciiValue()
573 rtl::OUString::valueOf(static_cast< sal_Int32 >(err))), in setAsciiValue()
578 css::uno::Sequence< rtl::OUString > Key::getAsciiListValue() throw ( in getAsciiListValue()
584 RegError err = key_.getStringListValue(rtl::OUString(), list); in getAsciiListValue()
589 return css::uno::Sequence< rtl::OUString >(); in getAsciiListValue()
592 rtl::OUString( in getAsciiListValue()
600 (rtl::OUString( in getAsciiListValue()
605 rtl::OUString::valueOf(static_cast< sal_Int32 >(err))), in getAsciiListValue()
611 rtl::OUString( in getAsciiListValue()
618 css::uno::Sequence< rtl::OUString > value(static_cast< sal_Int32 >(n)); in getAsciiListValue()
630 rtl::OUString( in getAsciiListValue()
642 css::uno::Sequence< rtl::OUString > const & seqValue) in setAsciiListValue()
646 std::vector< rtl::OString > list; in setAsciiListValue()
648 rtl::OString utf8; in setAsciiListValue()
655 rtl::OUString( in setAsciiListValue()
664 for (std::vector< rtl::OString >::iterator i(list.begin()); i != list.end(); in setAsciiListValue()
670 rtl::OUString(), list2.empty() ? 0 : &list2[0], in setAsciiListValue()
674 (rtl::OUString( in setAsciiListValue()
679 rtl::OUString::valueOf(static_cast< sal_Int32 >(err))), in setAsciiListValue()
684 rtl::OUString Key::getStringValue() throw ( in getStringValue()
691 RegError err = key_.getValueInfo(rtl::OUString(), &type, &size); in getStringValue()
694 (rtl::OUString( in getStringValue()
698 rtl::OUString::valueOf(static_cast< sal_Int32 >(err))), in getStringValue()
703 (rtl::OUString( in getStringValue()
707 rtl::OUString::valueOf(static_cast< sal_Int32 >(type))), in getStringValue()
714 rtl::OUString( in getStringValue()
723 rtl::OUString( in getStringValue()
730 err = key_.getValue(rtl::OUString(), &list[0]); in getStringValue()
733 (rtl::OUString( in getStringValue()
737 rtl::OUString::valueOf(static_cast< sal_Int32 >(err))), in getStringValue()
742 rtl::OUString( in getStringValue()
749 return rtl::OUString(&list[0], static_cast< sal_Int32 >(size/2 - 1)); in getStringValue()
752 void Key::setStringValue(rtl::OUString const & value) in setStringValue()
757 rtl::OUString(), RG_VALUETYPE_UNICODE, in setStringValue()
763 (rtl::OUString( in setStringValue()
767 rtl::OUString::valueOf(static_cast< sal_Int32 >(err))), in setStringValue()
772 css::uno::Sequence< rtl::OUString > Key::getStringListValue() throw ( in getStringListValue()
778 RegError err = key_.getUnicodeListValue(rtl::OUString(), list); in getStringListValue()
783 return css::uno::Sequence< rtl::OUString >(); in getStringListValue()
786 rtl::OUString( in getStringListValue()
794 (rtl::OUString( in getStringListValue()
799 rtl::OUString::valueOf(static_cast< sal_Int32 >(err))), in getStringListValue()
805 rtl::OUString( in getStringListValue()
812 css::uno::Sequence< rtl::OUString > value(static_cast< sal_Int32 >(n)); in getStringListValue()
820 css::uno::Sequence< rtl::OUString > const & seqValue) in setStringListValue()
829 rtl::OUString(), list.empty() ? 0 : &list[0], in setStringListValue()
833 (rtl::OUString( in setStringListValue()
838 rtl::OUString::valueOf(static_cast< sal_Int32 >(err))), in setStringListValue()
851 RegError err = key_.getValueInfo(rtl::OUString(), &type, &size); in getBinaryValue()
854 (rtl::OUString( in getBinaryValue()
858 rtl::OUString::valueOf(static_cast< sal_Int32 >(err))), in getBinaryValue()
863 (rtl::OUString( in getBinaryValue()
867 rtl::OUString::valueOf(static_cast< sal_Int32 >(type))), in getBinaryValue()
872 rtl::OUString( in getBinaryValue()
879 err = key_.getValue(rtl::OUString(), value.getArray()); in getBinaryValue()
882 (rtl::OUString( in getBinaryValue()
886 rtl::OUString::valueOf(static_cast< sal_Int32 >(err))), in getBinaryValue()
897 rtl::OUString(), RG_VALUETYPE_BINARY, in setBinaryValue()
902 (rtl::OUString( in setBinaryValue()
906 rtl::OUString::valueOf(static_cast< sal_Int32 >(err))), in setBinaryValue()
912 rtl::OUString const & aKeyName) in openKey()
925 (rtl::OUString( in openKey()
929 rtl::OUString::valueOf(static_cast< sal_Int32 >(err))), in openKey()
935 rtl::OUString const & aKeyName) in createKey()
948 (rtl::OUString( in createKey()
952 rtl::OUString::valueOf(static_cast< sal_Int32 >(err))), in createKey()
964 (rtl::OUString( in closeKey()
968 rtl::OUString::valueOf(static_cast< sal_Int32 >(err))), in closeKey()
973 void Key::deleteKey(rtl::OUString const & rKeyName) in deleteKey()
980 (rtl::OUString( in deleteKey()
984 rtl::OUString::valueOf(static_cast< sal_Int32 >(err))), in deleteKey()
995 RegError err = key_.openSubKeys(rtl::OUString(), list); in openKeys()
998 (rtl::OUString( in openKeys()
1002 rtl::OUString::valueOf(static_cast< sal_Int32 >(err))), in openKeys()
1008 rtl::OUString( in openKeys()
1023 css::uno::Sequence< rtl::OUString > Key::getKeyNames() in getKeyNames()
1028 RegError err = key_.getKeyNames(rtl::OUString(), list); in getKeyNames()
1031 (rtl::OUString( in getKeyNames()
1035 rtl::OUString::valueOf(static_cast< sal_Int32 >(err))), in getKeyNames()
1041 rtl::OUString( in getKeyNames()
1047 css::uno::Sequence< rtl::OUString > names(static_cast< sal_Int32 >(n)); in getKeyNames()
1055 rtl::OUString const & aLinkName, rtl::OUString const & aLinkTarget) in createLink()
1066 (rtl::OUString( in createLink()
1070 rtl::OUString::valueOf(static_cast< sal_Int32 >(err))), in createLink()
1077 void Key::deleteLink(rtl::OUString const & rLinkName) in deleteLink()
1084 (rtl::OUString( in deleteLink()
1088 rtl::OUString::valueOf(static_cast< sal_Int32 >(err))), in deleteLink()
1093 rtl::OUString Key::getLinkTarget(rtl::OUString const & rLinkName) in getLinkTarget()
1097 rtl::OUString target; in getLinkTarget()
1101 (rtl::OUString( in getLinkTarget()
1105 rtl::OUString::valueOf(static_cast< sal_Int32 >(err))), in getLinkTarget()
1111 rtl::OUString Key::getResolvedName(rtl::OUString const & aKeyName) in getResolvedName()
1115 rtl::OUString resolved; in getResolvedName()
1119 (rtl::OUString( in getResolvedName()
1123 rtl::OUString::valueOf(static_cast< sal_Int32 >(err))), in getResolvedName()
1129 rtl::OUString SimpleRegistry::getURL() throw (css::uno::RuntimeException) { in getURL()
1135 rtl::OUString const & rURL, sal_Bool bReadOnly, sal_Bool bCreate) in open()
1141 (rtl::OUString( in open()
1145 rtl::OUString( in open()
1167 (rtl::OUString( in open()
1171 rtl::OUString( in open()
1174 rtl::OUString::valueOf(static_cast< sal_Int32 >(err))), in open()
1195 (rtl::OUString( in close()
1199 rtl::OUString::valueOf(static_cast< sal_Int32 >(err))), in close()
1212 RegError err = registry_.destroy(rtl::OUString()); in destroy()
1215 (rtl::OUString( in destroy()
1219 rtl::OUString::valueOf(static_cast< sal_Int32 >(err))), in destroy()
1235 (rtl::OUString( in getRootKey()
1239 rtl::OUString::valueOf(static_cast< sal_Int32 >(err))), in getRootKey()
1253 rtl::OUString const & aKeyName, rtl::OUString const & aUrl) in mergeKey()
1261 rtl::OUString( in mergeKey()
1278 rtl::OUString( in mergeKey()
1285 (rtl::OUString( in mergeKey()
1289 rtl::OUString::valueOf(static_cast< sal_Int32 >(err))), in mergeKey()
1304 css::uno::Sequence< rtl::OUString > simreg_getSupportedServiceNames() { in simreg_getSupportedServiceNames()
1305 css::uno::Sequence< rtl::OUString > names(1); in simreg_getSupportedServiceNames()
1306 names[0] = rtl::OUString( in simreg_getSupportedServiceNames()
1311 rtl::OUString simreg_getImplementationName() { in simreg_getImplementationName()
1312 return rtl::OUString( in simreg_getImplementationName()