Lines Matching refs:rName

56     typename map_t::const_iterator findItem( const rtl::OUString& rName )  in findItem()  argument
58 return maItems.find( rName ); in findItem()
61 bool hasItem( const rtl::OUString& rName ) in hasItem() argument
63 return findItem( rName ) != maItems.end(); in hasItem()
66 T getItem( const rtl::OUString& rName ) in getItem() argument
68 OSL_ENSURE( hasItem( rName ), "can't get non-existant item" ); in getItem()
69 return maItems[ rName ]; in getItem()
73 void replace( const rtl::OUString& rName, in replace() argument
76 OSL_ENSURE( hasItem( rName ), "unknown item" ); in replace()
77 maItems[ rName ] = aElement; in replace()
80 void insert( const rtl::OUString& rName, in insert() argument
83 OSL_ENSURE( ! hasItem( rName ), "item already in set" ); in insert()
84 maItems[ rName ] = aElement; in insert()
87 void remove( const rtl::OUString& rName ) in remove() argument
89 OSL_ENSURE( hasItem( rName ), "item not in set" ); in remove()
90 maItems.erase( rName ); in remove()
121 const rtl::OUString& rName ) in getByName() argument
126 typename map_t::const_iterator aIter = findItem( rName ); in getByName()
151 const rtl::OUString& rName ) in hasByName() argument
154 return hasItem( rName ); in hasByName()
163 const rtl::OUString& rName, in replaceByName() argument
172 if( hasByName( rName ) ) in replaceByName()
173 replace( rName, aItem ); in replaceByName()
186 const rtl::OUString& rName, in insertByName() argument
195 if( ! hasByName( rName ) ) in insertByName()
196 insert( rName, aItem ); in insertByName()
204 const rtl::OUString& rName ) in removeByName() argument
209 if( hasByName( rName ) ) in removeByName()
210 remove( rName ); in removeByName()