Lines Matching refs:rtl
60 rtl::OUString uri;
61 rtl::OUString loader;
62 std::vector< rtl::OUString > services;
63 std::vector< rtl::OUString > singletons;
66 typedef std::map< rtl::OUString, Implementation > Implementations;
68 typedef std::map< rtl::OUString, std::vector< rtl::OUString > >
85 Parser(rtl::OUString const & uri, rtl::Reference< Data > const & data);
96 rtl::OUString getNameAttribute();
99 rtl::Reference< Data > data_;
100 rtl::OUString attrUri_;
101 rtl::OUString attrLoader_;
102 rtl::OUString attrImplementation_;
105 Parser::Parser(rtl::OUString const & uri, rtl::Reference< Data > const & data): in Parser()
131 rtl::OUString( in Parser()
141 rtl::OUString( in Parser()
159 rtl::OUString( in Parser()
179 rtl::OUString( in Parser()
204 rtl::OUString( in Parser()
215 rtl::OUString( in Parser()
226 rtl::OUString( in Parser()
235 attrUri_ = rtl::OUString(); in handleComponent()
236 attrLoader_ = rtl::OUString(); in handleComponent()
246 rtl::OUString( in handleComponent()
255 rtl::OUString( in handleComponent()
266 rtl::OUString( in handleComponent()
276 rtl::OUString( in handleComponent()
284 rtl::OUString( in handleComponent()
294 rtl::OUString( in handleComponent()
302 rtl::OUString( in handleComponent()
308 attrUri_ = rtl::Uri::convertRelToAbs(reader_.getUrl(), attrUri_); in handleComponent()
309 } catch (rtl::MalformedUriException & e) { in handleComponent()
312 rtl::OUString( in handleComponent()
326 rtl::OUString( in handleImplementation()
330 rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("\">"))), in handleImplementation()
338 rtl::OUString name = getNameAttribute(); in handleService()
344 rtl::OUString name = getNameAttribute(); in handleSingleton()
349 rtl::OUString Parser::getNameAttribute() { in getNameAttribute()
350 rtl::OUString attrName; in getNameAttribute()
360 rtl::OUString( in getNameAttribute()
369 rtl::OUString( in getNameAttribute()
377 rtl::OUString( in getNameAttribute()
386 rtl::OUString( in getNameAttribute()
394 rtl::OUString pathToString(std::vector< rtl::OUString > const & path) { in pathToString()
395 rtl::OUStringBuffer buf; in pathToString()
396 for (std::vector< rtl::OUString >::const_iterator i(path.begin()); in pathToString()
411 rtl::Reference< Data > const & data, in Key()
412 std::vector< rtl::OUString > const & path): in Key()
446 virtual rtl::OUString SAL_CALL getKeyName()
455 rtl::OUString const & rKeyName)
480 virtual rtl::OUString SAL_CALL getAsciiValue() throw (
484 virtual void SAL_CALL setAsciiValue(rtl::OUString const & value) throw (
487 virtual css::uno::Sequence< rtl::OUString > SAL_CALL getAsciiListValue()
493 css::uno::Sequence< rtl::OUString > const & seqValue)
498 virtual rtl::OUString SAL_CALL getStringValue() throw(
502 virtual void SAL_CALL setStringValue(rtl::OUString const & value) throw (
505 virtual css::uno::Sequence< rtl::OUString > SAL_CALL getStringListValue()
511 css::uno::Sequence< rtl::OUString > const & seqValue)
527 rtl::OUString const & aKeyName)
533 createKey(rtl::OUString const & aKeyName) throw (
539 virtual void SAL_CALL deleteKey(rtl::OUString const & rKeyName) throw (
547 virtual css::uno::Sequence< rtl::OUString > SAL_CALL getKeyNames() throw (
551 rtl::OUString const & aLinkName, rtl::OUString const & aLinkTarget)
556 virtual void SAL_CALL deleteLink(rtl::OUString const & rLinkName) throw (
559 virtual rtl::OUString SAL_CALL getLinkTarget(
560 rtl::OUString const & rLinkName)
565 virtual rtl::OUString SAL_CALL getResolvedName(
566 rtl::OUString const & aKeyName)
572 rtl::OUString const & relative, std::vector< rtl::OUString > * path,
575 css::uno::Sequence< rtl::OUString > getChildren();
577 rtl::Reference< Data > data_;
578 std::vector< rtl::OUString > path_;
581 rtl::OUString Key::getKeyName() throw (css::uno::RuntimeException) { in getKeyName()
595 css::registry::RegistryKeyType Key::getKeyType(rtl::OUString const & rKeyName) in getKeyType()
598 if (!find(rtl::OUString(), 0, 0, 0)) { in getKeyType()
600 (rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("unknown key ")) + in getKeyType()
612 OSL_VERIFY(find(rtl::OUString(), 0, 0, &type)); in getValueType()
621 rtl::OUString( in getLongValue()
632 rtl::OUString( in setLongValue()
644 rtl::OUString( in getLongListValue()
655 rtl::OUString( in setLongListValue()
662 rtl::OUString Key::getAsciiValue() throw ( in getAsciiValue()
667 OSL_VERIFY(find(rtl::OUString(), 0, &state, 0)); in getAsciiValue()
675 rtl::OUString( in getAsciiValue()
683 void Key::setAsciiValue(rtl::OUString const &) in setAsciiValue()
687 rtl::OUString( in setAsciiValue()
694 css::uno::Sequence< rtl::OUString > Key::getAsciiListValue() throw ( in getAsciiListValue()
699 OSL_VERIFY(find(rtl::OUString(), 0, &state, 0)); in getAsciiListValue()
700 std::vector< rtl::OUString > const * list; in getAsciiListValue()
710 rtl::OUString( in getAsciiListValue()
718 rtl::OUString( in getAsciiListValue()
724 css::uno::Sequence< rtl::OUString > seq( in getAsciiListValue()
727 for (std::vector< rtl::OUString >::const_iterator j(list->begin()); in getAsciiListValue()
735 void Key::setAsciiListValue(css::uno::Sequence< rtl::OUString > const &) in setAsciiListValue()
739 rtl::OUString( in setAsciiListValue()
746 rtl::OUString Key::getStringValue() throw ( in getStringValue()
751 OSL_VERIFY(find(rtl::OUString(), 0, &state, 0)); in getStringValue()
756 rtl::OUString( in getStringValue()
768 rtl::OUString( in getStringValue()
775 void Key::setStringValue(rtl::OUString const &) in setStringValue()
779 rtl::OUString( in setStringValue()
786 css::uno::Sequence< rtl::OUString > Key::getStringListValue() throw ( in getStringListValue()
791 rtl::OUString( in getStringListValue()
798 void Key::setStringListValue(css::uno::Sequence< rtl::OUString > const &) in setStringListValue()
802 rtl::OUString( in setStringListValue()
815 rtl::OUString( in getBinaryValue()
826 rtl::OUString( in setBinaryValue()
834 rtl::OUString const & aKeyName) in openKey()
837 std::vector< rtl::OUString > path; in openKey()
845 rtl::OUString const &) in createKey()
849 rtl::OUString( in createKey()
860 void Key::deleteKey(rtl::OUString const &) in deleteKey()
864 rtl::OUString( in deleteKey()
875 css::uno::Sequence< rtl::OUString > names(getChildren()); in openKeys()
885 css::uno::Sequence< rtl::OUString > Key::getKeyNames() in getKeyNames()
888 css::uno::Sequence< rtl::OUString > names(getChildren()); in getKeyNames()
889 rtl::OUString prefix(pathToString(path_)); in getKeyNames()
890 prefix += rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("/")); in getKeyNames()
897 sal_Bool Key::createLink(rtl::OUString const &, rtl::OUString const &) in createLink()
901 rtl::OUString( in createLink()
908 void Key::deleteLink(rtl::OUString const &) in deleteLink()
912 rtl::OUString( in deleteLink()
919 rtl::OUString Key::getLinkTarget(rtl::OUString const &) in getLinkTarget()
923 rtl::OUString( in getLinkTarget()
930 rtl::OUString Key::getResolvedName(rtl::OUString const & aKeyName) in getResolvedName()
933 std::vector< rtl::OUString > path; in getResolvedName()
939 rtl::OUString const & relative, std::vector< rtl::OUString > * path, in find()
942 std::vector< rtl::OUString > p(path_); in find()
945 rtl::OUString seg(relative.getToken(0, '/', i)); in find()
1006 for (std::vector< rtl::OUString >::iterator j(p.begin()); j != p.end(); ++j) in find()
1051 css::uno::Sequence< rtl::OUString > Key::getChildren() { in getChildren()
1053 OSL_VERIFY(find(rtl::OUString(), 0, &state, 0)); in getChildren()
1060 css::uno::Sequence< rtl::OUString > seq(3); in getChildren()
1061 seq[0] = rtl::OUString( in getChildren()
1063 seq[1] = rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("SERVICES")); in getChildren()
1064 seq[2] = rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("SINGLETONS")); in getChildren()
1071 rtl::OUString( in getChildren()
1077 css::uno::Sequence< rtl::OUString > seq( in getChildren()
1089 css::uno::Sequence< rtl::OUString > seq(4); in getChildren()
1090 seq[0] = rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("LOCATION")); in getChildren()
1091 seq[1] = rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("ACTIVATOR")); in getChildren()
1092 seq[2] = rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("SERVICES")); in getChildren()
1093 seq[3] = rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("SINGLETONS")); in getChildren()
1102 return css::uno::Sequence< rtl::OUString >(); in getChildren()
1109 rtl::OUString( in getChildren()
1115 css::uno::Sequence< rtl::OUString > seq( in getChildren()
1119 for (std::vector< rtl::OUString >::iterator j( in getChildren()
1133 rtl::OUString( in getChildren()
1139 css::uno::Sequence< rtl::OUString > seq( in getChildren()
1143 for (std::vector< rtl::OUString >::iterator j( in getChildren()
1155 rtl::OUString( in getChildren()
1161 css::uno::Sequence< rtl::OUString > seq( in getChildren()
1175 rtl::OUString( in getChildren()
1181 css::uno::Sequence< rtl::OUString > seq( in getChildren()
1193 css::uno::Sequence< rtl::OUString > seq(1); in getChildren()
1194 seq[0] = rtl::OUString( in getChildren()
1203 TextualServices::TextualServices(rtl::OUString const & uri): in TextualServices()
1211 rtl::OUString( in TextualServices()
1221 return new Key(data_, std::vector< rtl::OUString >()); in getRootKey()