22#include <com/sun/star/container/XNameAccess.hpp>
23#include <com/sun/star/beans/XPropertySet.hpp>
32 css::uno::Reference< css::container::XNameAccess >
60 Indexes::const_iterator
find(
const OUString& _rName)
const;
61 Indexes::iterator
find(
const OUString& _rName);
62 Indexes::const_iterator
findOriginal(
const OUString& _rName)
const;
67 Indexes::iterator
insert(
const OUString& _rName);
73 void resetIndex(
const Indexes::iterator& _rPos);
76 void attach(
const css::uno::Reference< css::container::XNameAccess >& _rxIndexes);
81 bool drop(
const Indexes::iterator& _rPos);
86 void implConstructFrom(
const css::uno::Reference< css::container::XNameAccess >& _rxIndexes);
Indexes::iterator end()
get access to the (last + 1st) element of the index collection
void attach(const css::uno::Reference< css::container::XNameAccess > &_rxIndexes)
void resetIndex(const Indexes::iterator &_rPos)
Indexes::iterator insert(const OUString &_rName)
OIndexCollection & operator=(const OIndexCollection &_rSource)
css::uno::Reference< css::container::XNameAccess > m_xIndexes
bool drop(const Indexes::iterator &_rPos)
drop an index, and remove it from the collection
Indexes::const_iterator begin() const
get access to the first element of the index collection
void commitNewIndex(const Indexes::iterator &_rPos)
static void implFillIndexInfo(OIndex &_rIndex, const css::uno::Reference< css::beans::XPropertySet > &_rxDescriptor)
void implConstructFrom(const css::uno::Reference< css::container::XNameAccess > &_rxIndexes)
bool dropNoRemove(const Indexes::iterator &_rPos)
simply drop the index described by the name, but don't remove the descriptor from the collection
Indexes::const_iterator findOriginal(const OUString &_rName) const
Indexes::const_iterator find(const OUString &_rName) const
Indexes::iterator begin()
get access to the first element of the index collection
Indexes::const_iterator end() const
get access to the (last + 1st) element of the index collection
OIndex const * const_iterator
std::vector< OIndex > Indexes