LibreOffice Module dbaccess (master) 1
|
#include <indexcollection.hxx>
Public Types | |
typedef OIndex * | iterator |
typedef OIndex const * | const_iterator |
Public Member Functions | |
OIndexCollection () | |
OIndexCollection (const OIndexCollection &_rSource) | |
OIndexCollection & | operator= (const OIndexCollection &_rSource) |
Indexes::const_iterator | begin () const |
get access to the first element of the index collection More... | |
Indexes::iterator | begin () |
get access to the first element of the index collection More... | |
Indexes::const_iterator | end () const |
get access to the (last + 1st) element of the index collection More... | |
Indexes::iterator | end () |
get access to the (last + 1st) element of the index collection More... | |
Indexes::const_iterator | find (const OUString &_rName) const |
Indexes::iterator | find (const OUString &_rName) |
Indexes::const_iterator | findOriginal (const OUString &_rName) const |
Indexes::iterator | findOriginal (const OUString &_rName) |
Indexes::iterator | insert (const OUString &_rName) |
void | commitNewIndex (const Indexes::iterator &_rPos) |
void | resetIndex (const Indexes::iterator &_rPos) |
void | attach (const css::uno::Reference< css::container::XNameAccess > &_rxIndexes) |
void | detach () |
bool | drop (const Indexes::iterator &_rPos) |
drop an index, and remove it from the collection More... | |
bool | dropNoRemove (const Indexes::iterator &_rPos) |
simply drop the index described by the name, but don't remove the descriptor from the collection More... | |
Protected Member Functions | |
void | implConstructFrom (const css::uno::Reference< css::container::XNameAccess > &_rxIndexes) |
void | implFillIndexInfo (OIndex &_rIndex) |
Static Protected Member Functions | |
static void | implFillIndexInfo (OIndex &_rIndex, const css::uno::Reference< css::beans::XPropertySet > &_rxDescriptor) |
Private Attributes | |
css::uno::Reference< css::container::XNameAccess > | m_xIndexes |
Indexes | m_aIndexes |
Definition at line 30 of file indexcollection.hxx.
typedef OIndex const* dbaui::OIndexCollection::const_iterator |
Definition at line 48 of file indexcollection.hxx.
typedef OIndex* dbaui::OIndexCollection::iterator |
Definition at line 47 of file indexcollection.hxx.
dbaui::OIndexCollection::OIndexCollection | ( | ) |
Definition at line 40 of file indexcollection.cxx.
dbaui::OIndexCollection::OIndexCollection | ( | const OIndexCollection & | _rSource | ) |
Definition at line 44 of file indexcollection.cxx.
void dbaui::OIndexCollection::attach | ( | const css::uno::Reference< css::container::XNameAccess > & | _rxIndexes | ) |
Definition at line 57 of file indexcollection.cxx.
References implConstructFrom().
|
inline |
get access to the first element of the index collection
Definition at line 53 of file indexcollection.hxx.
References m_aIndexes.
|
inline |
get access to the first element of the index collection
Definition at line 51 of file indexcollection.hxx.
References m_aIndexes.
void dbaui::OIndexCollection::commitNewIndex | ( | const Indexes::iterator & | _rPos | ) |
Definition at line 96 of file indexcollection.cxx.
References Any, DBG_UNHANDLED_EXCEPTION, Exception, m_xIndexes, and u.
void dbaui::OIndexCollection::detach | ( | ) |
Definition at line 62 of file indexcollection.cxx.
References m_aIndexes, and m_xIndexes.
Referenced by implConstructFrom(), and operator=().
bool dbaui::OIndexCollection::drop | ( | const Indexes::iterator & | _rPos | ) |
drop an index, and remove it from the collection
Definition at line 193 of file indexcollection.cxx.
References dropNoRemove(), and m_aIndexes.
bool dbaui::OIndexCollection::dropNoRemove | ( | const Indexes::iterator & | _rPos | ) |
simply drop the index described by the name, but don't remove the descriptor from the collection
Definition at line 160 of file indexcollection.cxx.
References DBG_UNHANDLED_EXCEPTION, Exception, findOriginal(), m_aIndexes, and m_xIndexes.
Referenced by drop().
|
inline |
get access to the (last + 1st) element of the index collection
Definition at line 57 of file indexcollection.hxx.
References m_aIndexes.
|
inline |
get access to the (last + 1st) element of the index collection
Definition at line 55 of file indexcollection.hxx.
References m_aIndexes.
Referenced by insert().
Indexes::iterator dbaui::OIndexCollection::find | ( | const OUString & | _rName | ) |
Definition at line 75 of file indexcollection.cxx.
References m_aIndexes.
Indexes::const_iterator dbaui::OIndexCollection::find | ( | const OUString & | _rName | ) | const |
Indexes::iterator dbaui::OIndexCollection::findOriginal | ( | const OUString & | _rName | ) |
Definition at line 89 of file indexcollection.cxx.
References m_aIndexes.
Indexes::const_iterator dbaui::OIndexCollection::findOriginal | ( | const OUString & | _rName | ) | const |
Definition at line 82 of file indexcollection.cxx.
References m_aIndexes.
Referenced by dropNoRemove().
|
protected |
Definition at line 296 of file indexcollection.cxx.
References detach(), implFillIndexInfo(), m_aIndexes, and m_xIndexes.
Referenced by attach().
|
protected |
Definition at line 207 of file indexcollection.cxx.
References dbaui::OIndex::getOriginalName(), implFillIndexInfo(), and m_xIndexes.
|
staticprotected |
Referenced by implConstructFrom(), implFillIndexInfo(), and resetIndex().
Indexes::iterator dbaui::OIndexCollection::insert | ( | const OUString & | _rName | ) |
Definition at line 287 of file indexcollection.cxx.
References end(), find(), m_aIndexes, and dbaui::OIndex::sName.
OIndexCollection & dbaui::OIndexCollection::operator= | ( | const OIndexCollection & | _rSource | ) |
Definition at line 49 of file indexcollection.cxx.
References detach(), m_aIndexes, and m_xIndexes.
void dbaui::OIndexCollection::resetIndex | ( | const Indexes::iterator & | _rPos | ) |
Definition at line 264 of file indexcollection.cxx.
References DBG_UNHANDLED_EXCEPTION, Exception, implFillIndexInfo(), and m_aIndexes.
|
private |
Definition at line 36 of file indexcollection.hxx.
Referenced by begin(), detach(), drop(), dropNoRemove(), end(), find(), findOriginal(), implConstructFrom(), insert(), operator=(), and resetIndex().
|
private |
Definition at line 33 of file indexcollection.hxx.
Referenced by commitNewIndex(), detach(), dropNoRemove(), implConstructFrom(), implFillIndexInfo(), and operator=().