Lines Matching refs:_nIndex
163 virtual ::rtl::OUString getName(sal_Int32 _nIndex) in getName() argument
165 return m_aElements[_nIndex]->first; in getName()
168 virtual void disposeAndErase(sal_Int32 _nIndex) in disposeAndErase() argument
170 …OSL_ENSURE(_nIndex >= 0 && _nIndex < static_cast<sal_Int32>(m_aElements.size()),"Illegal argument!… in disposeAndErase()
171 Reference<XComponent> xComp(m_aElements[_nIndex]->second.get(),UNO_QUERY); in disposeAndErase()
173 m_aElements[_nIndex]->second = T(); in disposeAndErase()
175 ::rtl::OUString sName = m_aElements[_nIndex]->first; in disposeAndErase()
176 m_aElements.erase(m_aElements.begin()+_nIndex); in disposeAndErase()
202 virtual ::rtl::OUString findColumnAtIndex( sal_Int32 _nIndex) in findColumnAtIndex() argument
204 …OSL_ENSURE(_nIndex >= 0 && _nIndex < static_cast<sal_Int32>(m_aElements.size()),"Illegal argument!… in findColumnAtIndex()
205 return m_aElements[_nIndex]->first; in findColumnAtIndex()
208 virtual ObjectType getObject(sal_Int32 _nIndex) in getObject() argument
210 …OSL_ENSURE(_nIndex >= 0 && _nIndex < static_cast<sal_Int32>(m_aElements.size()),"Illegal argument!… in getObject()
211 return m_aElements[_nIndex]->second; in getObject()
219 virtual void setObject(sal_Int32 _nIndex,const ObjectType& _xObject) in setObject() argument
221 …OSL_ENSURE(_nIndex >= 0 && _nIndex < static_cast<sal_Int32>(m_aElements.size()),"Illegal argument!… in setObject()
222 m_aElements[_nIndex]->second = _xObject; in setObject()
427 void OCollection::dropImpl(sal_Int32 _nIndex,sal_Bool _bReallyDrop) in dropImpl() argument
429 ::rtl::OUString elementName = m_pElements->getName(_nIndex); in dropImpl()
432 dropObject(_nIndex,elementName); in dropImpl()
434 m_pElements->disposeAndErase(_nIndex); in dropImpl()
548 ObjectType OCollection::getObject(sal_Int32 _nIndex) in getObject() argument
550 ObjectType xName = m_pElements->getObject(_nIndex); in getObject()
555 xName = createObject(m_pElements->getName(_nIndex)); in getObject()
561 dropImpl(_nIndex,sal_False); in getObject()
568 m_pElements->setObject(_nIndex,xName); in getObject()