LibreOffice Module ucb (master)  1
Public Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes | List of all members
SortedResultSet Class Reference

#include <sortresult.hxx>

Inheritance diagram for SortedResultSet:
[legend]
Collaboration diagram for SortedResultSet:
[legend]

Public Member Functions

 SortedResultSet (css::uno::Reference< css::sdbc::XResultSet > const &aResult)
 
virtual ~SortedResultSet () override
 
sal_Int32 GetCount () const
 
void CopyData (SortedResultSet *pSource)
 
void Initialize (const css::uno::Sequence< css::ucb::NumberedSortingInfo > &xSortInfo, const css::uno::Reference< css::ucb::XAnyCompareFactory > &xCompFac)
 
void CheckProperties (sal_Int32 nOldCount, bool bWasFinal)
 
void InsertNew (sal_Int32 nPos, sal_Int32 nCount)
 
void SetChanged (sal_Int32 nPos, sal_Int32 nCount)
 
void Remove (sal_Int32 nPos, sal_Int32 nCount, EventList *pList)
 
void Move (sal_Int32 nPos, sal_Int32 nCount, sal_Int32 nOffset)
 
void ResortModified (EventList *pList)
 
void ResortNew (EventList *pList)
 
virtual OUString SAL_CALL getImplementationName () override
 
virtual sal_Bool SAL_CALL supportsService (const OUString &ServiceName) override
 
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames () override
 
virtual void SAL_CALL dispose () override
 
virtual void SAL_CALL addEventListener (const css::uno::Reference< css::lang::XEventListener > &Listener) override
 
virtual void SAL_CALL removeEventListener (const css::uno::Reference< css::lang::XEventListener > &Listener) override
 
virtual OUString SAL_CALL queryContentIdentifierString () override
 
virtual css::uno::Reference< css::ucb::XContentIdentifier > SAL_CALL queryContentIdentifier () override
 
virtual css::uno::Reference< css::ucb::XContent > SAL_CALL queryContent () override
 
virtual sal_Bool SAL_CALL next () override
 
virtual sal_Bool SAL_CALL isBeforeFirst () override
 
virtual sal_Bool SAL_CALL isAfterLast () override
 
virtual sal_Bool SAL_CALL isFirst () override
 
virtual sal_Bool SAL_CALL isLast () override
 
virtual void SAL_CALL beforeFirst () override
 
virtual void SAL_CALL afterLast () override
 
virtual sal_Bool SAL_CALL first () override
 
virtual sal_Bool SAL_CALL last () override
 
virtual sal_Int32 SAL_CALL getRow () override
 
virtual sal_Bool SAL_CALL absolute (sal_Int32 row) override
 moves the cursor to the given row number in the result set. More...
 
virtual sal_Bool SAL_CALL relative (sal_Int32 rows) override
 moves the cursor a relative number of rows, either positive or negative. More...
 
virtual sal_Bool SAL_CALL previous () override
 moves the cursor to the previous row in the result set. More...
 
virtual void SAL_CALL refreshRow () override
 
virtual sal_Bool SAL_CALL rowUpdated () override
 
virtual sal_Bool SAL_CALL rowInserted () override
 
virtual sal_Bool SAL_CALL rowDeleted () override
 
virtual css::uno::Reference< css::uno::XInterface > SAL_CALL getStatement () override
 
virtual sal_Bool SAL_CALL wasNull () override
 
virtual OUString SAL_CALL getString (sal_Int32 columnIndex) override
 
virtual sal_Bool SAL_CALL getBoolean (sal_Int32 columnIndex) override
 
virtual sal_Int8 SAL_CALL getByte (sal_Int32 columnIndex) override
 
virtual sal_Int16 SAL_CALL getShort (sal_Int32 columnIndex) override
 
virtual sal_Int32 SAL_CALL getInt (sal_Int32 columnIndex) override
 
virtual sal_Int64 SAL_CALL getLong (sal_Int32 columnIndex) override
 
virtual float SAL_CALL getFloat (sal_Int32 columnIndex) override
 
virtual double SAL_CALL getDouble (sal_Int32 columnIndex) override
 
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getBytes (sal_Int32 columnIndex) override
 
virtual css::util::Date SAL_CALL getDate (sal_Int32 columnIndex) override
 
virtual css::util::Time SAL_CALL getTime (sal_Int32 columnIndex) override
 
virtual css::util::DateTime SAL_CALL getTimestamp (sal_Int32 columnIndex) override
 
virtual css::uno::Reference< css::io::XInputStream > SAL_CALL getBinaryStream (sal_Int32 columnIndex) override
 
virtual css::uno::Reference< css::io::XInputStream > SAL_CALL getCharacterStream (sal_Int32 columnIndex) override
 
virtual css::uno::Any SAL_CALL getObject (sal_Int32 columnIndex, const css::uno::Reference< css::container::XNameAccess > &typeMap) override
 
virtual css::uno::Reference< css::sdbc::XRef > SAL_CALL getRef (sal_Int32 columnIndex) override
 
virtual css::uno::Reference< css::sdbc::XBlob > SAL_CALL getBlob (sal_Int32 columnIndex) override
 
virtual css::uno::Reference< css::sdbc::XClob > SAL_CALL getClob (sal_Int32 columnIndex) override
 
virtual css::uno::Reference< css::sdbc::XArray > SAL_CALL getArray (sal_Int32 columnIndex) override
 
virtual void SAL_CALL close () override
 
virtual css::uno::Reference< css::sdbc::XResultSetMetaData > SAL_CALL getMetaData () override
 
virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo () override
 
virtual void SAL_CALL setPropertyValue (const OUString &PropertyName, const css::uno::Any &Value) override
 
virtual css::uno::Any SAL_CALL getPropertyValue (const OUString &PropertyName) override
 
virtual void SAL_CALL addPropertyChangeListener (const OUString &PropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &Listener) override
 
virtual void SAL_CALL removePropertyChangeListener (const OUString &PropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &Listener) override
 
virtual void SAL_CALL addVetoableChangeListener (const OUString &PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &Listener) override
 
virtual void SAL_CALL removeVetoableChangeListener (const OUString &PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) override
 

Private Member Functions

sal_Int32 FindPos (SortListData const *pEntry, sal_IntPtr nStart, sal_IntPtr nEnd)
 
sal_Int32 Compare (SortListData const *pOne, SortListData const *pTwo)
 
void BuildSortInfo (const css::uno::Reference< css::sdbc::XResultSet > &aResult, const css::uno::Sequence< css::ucb::NumberedSortingInfo > &xSortInfo, const css::uno::Reference< css::ucb::XAnyCompareFactory > &xCompFac)
 
sal_Int32 CompareImpl (const css::uno::Reference< css::sdbc::XResultSet > &xResultOne, const css::uno::Reference< css::sdbc::XResultSet > &xResultTwo, sal_Int32 nIndexOne, sal_Int32 nIndexTwo)
 
void PropertyChanged (const css::beans::PropertyChangeEvent &rEvt)
 

Static Private Member Functions

static sal_Int32 CompareImpl (const css::uno::Reference< css::sdbc::XResultSet > &xResultOne, const css::uno::Reference< css::sdbc::XResultSet > &xResultTwo, sal_Int32 nIndexOne, sal_Int32 nIndexTwo, SortInfo const *pSortInfo)
 

Private Attributes

comphelper::OInterfaceContainerHelper3< css::lang::XEventListener > * mpDisposeEventListeners
 
std::unique_ptr< comphelper::OMultiTypeInterfaceContainerHelperVar3< css::beans::XPropertyChangeListener, OUString > > mpPropChangeListeners
 
std::unique_ptr< comphelper::OMultiTypeInterfaceContainerHelperVar3< css::beans::XVetoableChangeListener, OUString > > mpVetoChangeListeners
 
css::uno::Reference< css::sdbc::XResultSet > mxOriginal
 
css::uno::Reference< css::sdbc::XResultSet > mxOther
 
rtl::Reference< SRSPropertySetInfompPropSetInfo
 
SortInfompSortInfo
 
osl::Mutex maMutex
 
SortedEntryList maS2O
 
std::deque< sal_IntPtr > m_O2S
 
std::deque< SortListData * > m_ModList
 maps the original Entries to the sorted ones More...
 
sal_Int32 mnLastSort
 keeps track of modified entries More...
 
sal_Int32 mnCurEntry
 
sal_Int32 mnCount
 
bool mbIsCopy
 

Detailed Description

Definition at line 86 of file sortresult.hxx.

Constructor & Destructor Documentation

SortedResultSet::SortedResultSet ( css::uno::Reference< css::sdbc::XResultSet > const &  aResult)

Definition at line 97 of file sortresult.cxx.

References mnCount.

SortedResultSet::~SortedResultSet ( )
overridevirtual

Definition at line 112 of file sortresult.cxx.

References SortInfo::mpNext.

Member Function Documentation

sal_Bool SAL_CALL SortedResultSet::absolute ( sal_Int32  row)
overridevirtual

moves the cursor to the given row number in the result set.

If the row number is positive, the cursor moves to the given row number with respect to the beginning of the result set. The first row is row 1, the second is row 2, and so on.

If the given row number is negative, the cursor moves to an absolute row position with respect to the end of the result set. For example, calling moveToPosition(-1) positions the cursor on the last row, moveToPosition(-2) indicates the next-to-last row, and so on.

An attempt to position the cursor beyond the first/last row in the result set leaves the cursor before/after the first/last row, respectively.

Note: Calling moveToPosition(1) is the same as calling moveToFirst(). Calling moveToPosition(-1) is the same as calling moveToLast().

Parameters
rowis the number of rows to move. Could be negative.
Returns
<TRUE> if the cursor is on a row; <FALSE> otherwise
Exceptions
SQLExceptionif a database access error occurs or if row is 0, or the result set type is FORWARD_ONLY.

Definition at line 377 of file sortresult.cxx.

References maMutex, mnCount, and nIndex.

void SAL_CALL SortedResultSet::addEventListener ( const css::uno::Reference< css::lang::XEventListener > &  Listener)
overridevirtual
void SAL_CALL SortedResultSet::addPropertyChangeListener ( const OUString &  PropertyName,
const css::uno::Reference< css::beans::XPropertyChangeListener > &  Listener 
)
overridevirtual

Definition at line 803 of file sortresult.cxx.

References getContainerMutex(), and maMutex.

void SAL_CALL SortedResultSet::addVetoableChangeListener ( const OUString &  PropertyName,
const css::uno::Reference< css::beans::XVetoableChangeListener > &  Listener 
)
overridevirtual

Definition at line 828 of file sortresult.cxx.

References getContainerMutex(), and maMutex.

void SAL_CALL SortedResultSet::afterLast ( )
overridevirtual

Definition at line 302 of file sortresult.cxx.

References maMutex, and mnCount.

void SAL_CALL SortedResultSet::beforeFirst ( )
overridevirtual

Definition at line 294 of file sortresult.cxx.

References maMutex.

void SortedResultSet::BuildSortInfo ( const css::uno::Reference< css::sdbc::XResultSet > &  aResult,
const css::uno::Sequence< css::ucb::NumberedSortingInfo > &  xSortInfo,
const css::uno::Reference< css::ucb::XAnyCompareFactory > &  xCompFac 
)
private
void SortedResultSet::CheckProperties ( sal_Int32  nOldCount,
bool  bWasFinal 
)

Definition at line 1280 of file sortresult.cxx.

References aName, Any, getPropertyValue(), and maMutex.

Referenced by SortedDynamicResultSet::impl_notify().

void SAL_CALL SortedResultSet::close ( )
overridevirtual

Definition at line 718 of file sortresult.cxx.

References maMutex.

sal_Int32 SortedResultSet::Compare ( SortListData const *  pOne,
SortListData const *  pTwo 
)
private
Exceptions
css::sdbc::SQLException
css::uno::RuntimeException

Definition at line 1107 of file sortresult.cxx.

References SortListData::mbModified, SortListData::mnCurPos, and SortListData::mnOldPos.

static sal_Int32 SortedResultSet::CompareImpl ( const css::uno::Reference< css::sdbc::XResultSet > &  xResultOne,
const css::uno::Reference< css::sdbc::XResultSet > &  xResultTwo,
sal_Int32  nIndexOne,
sal_Int32  nIndexTwo,
SortInfo const *  pSortInfo 
)
staticprivate
Exceptions
css::sdbc::SQLException
css::uno::RuntimeException
sal_Int32 SortedResultSet::CompareImpl ( const css::uno::Reference< css::sdbc::XResultSet > &  xResultOne,
const css::uno::Reference< css::sdbc::XResultSet > &  xResultTwo,
sal_Int32  nIndexOne,
sal_Int32  nIndexTwo 
)
private
Exceptions
css::sdbc::SQLException
css::uno::RuntimeException
void SortedResultSet::CopyData ( SortedResultSet pSource)
void SAL_CALL SortedResultSet::dispose ( void  )
overridevirtual

Definition at line 154 of file sortresult.cxx.

References maMutex, and com::sun::star::beans::XPropertySet.

sal_Int32 SortedResultSet::FindPos ( SortListData const *  pEntry,
sal_IntPtr  nStart,
sal_IntPtr  nEnd 
)
private
Exceptions
css::sdbc::SQLException
css::uno::RuntimeException

Definition at line 1145 of file sortresult.cxx.

sal_Bool SAL_CALL SortedResultSet::first ( )
overridevirtual

Definition at line 310 of file sortresult.cxx.

References maMutex, mnCount, and nIndex.

Reference< XArray > SAL_CALL SortedResultSet::getArray ( sal_Int32  columnIndex)
overridevirtual

Definition at line 708 of file sortresult.cxx.

References maMutex.

Reference< XInputStream > SAL_CALL SortedResultSet::getBinaryStream ( sal_Int32  columnIndex)
overridevirtual

Definition at line 663 of file sortresult.cxx.

References maMutex.

Reference< XBlob > SAL_CALL SortedResultSet::getBlob ( sal_Int32  columnIndex)
overridevirtual

Definition at line 694 of file sortresult.cxx.

References maMutex.

sal_Bool SAL_CALL SortedResultSet::getBoolean ( sal_Int32  columnIndex)
overridevirtual

Definition at line 586 of file sortresult.cxx.

References maMutex.

sal_Int8 SAL_CALL SortedResultSet::getByte ( sal_Int32  columnIndex)
overridevirtual

Definition at line 593 of file sortresult.cxx.

References maMutex.

Sequence< sal_Int8 > SAL_CALL SortedResultSet::getBytes ( sal_Int32  columnIndex)
overridevirtual

Definition at line 634 of file sortresult.cxx.

References maMutex.

Reference< XInputStream > SAL_CALL SortedResultSet::getCharacterStream ( sal_Int32  columnIndex)
overridevirtual

Definition at line 671 of file sortresult.cxx.

References maMutex.

Reference< XClob > SAL_CALL SortedResultSet::getClob ( sal_Int32  columnIndex)
overridevirtual

Definition at line 701 of file sortresult.cxx.

References maMutex.

sal_Int32 SortedResultSet::GetCount ( ) const
inline

Definition at line 143 of file sortresult.hxx.

References mnCount.

Referenced by SortedDynamicResultSet::impl_notify().

Date SAL_CALL SortedResultSet::getDate ( sal_Int32  columnIndex)
overridevirtual

Definition at line 641 of file sortresult.cxx.

References maMutex.

double SAL_CALL SortedResultSet::getDouble ( sal_Int32  columnIndex)
overridevirtual

Definition at line 627 of file sortresult.cxx.

References maMutex.

float SAL_CALL SortedResultSet::getFloat ( sal_Int32  columnIndex)
overridevirtual

Definition at line 620 of file sortresult.cxx.

References maMutex.

OUString SAL_CALL SortedResultSet::getImplementationName ( )
overridevirtual

Definition at line 136 of file sortresult.cxx.

sal_Int32 SAL_CALL SortedResultSet::getInt ( sal_Int32  columnIndex)
overridevirtual

Definition at line 607 of file sortresult.cxx.

References maMutex.

sal_Int64 SAL_CALL SortedResultSet::getLong ( sal_Int32  columnIndex)
overridevirtual

Definition at line 613 of file sortresult.cxx.

References maMutex.

Reference< XResultSetMetaData > SAL_CALL SortedResultSet::getMetaData ( )
overridevirtual

Definition at line 728 of file sortresult.cxx.

References maMutex.

Any SAL_CALL SortedResultSet::getObject ( sal_Int32  columnIndex,
const css::uno::Reference< css::container::XNameAccess > &  typeMap 
)
overridevirtual

Definition at line 678 of file sortresult.cxx.

References Any, and maMutex.

Reference< XPropertySetInfo > SAL_CALL SortedResultSet::getPropertySetInfo ( )
overridevirtual

Definition at line 739 of file sortresult.cxx.

References maMutex.

Any SAL_CALL SortedResultSet::getPropertyValue ( const OUString &  PropertyName)
overridevirtual

Definition at line 765 of file sortresult.cxx.

References Any, getPropertyValue(), and maMutex.

Referenced by SortedDynamicResultSet::impl_notify().

Reference< XRef > SAL_CALL SortedResultSet::getRef ( sal_Int32  columnIndex)
overridevirtual

Definition at line 687 of file sortresult.cxx.

References maMutex.

sal_Int32 SAL_CALL SortedResultSet::getRow ( )
overridevirtual

Definition at line 346 of file sortresult.cxx.

sal_Int16 SAL_CALL SortedResultSet::getShort ( sal_Int32  columnIndex)
overridevirtual

Definition at line 600 of file sortresult.cxx.

References maMutex.

Reference< XInterface > SAL_CALL SortedResultSet::getStatement ( )
overridevirtual

Definition at line 556 of file sortresult.cxx.

References maMutex, and mnCount.

OUString SAL_CALL SortedResultSet::getString ( sal_Int32  columnIndex)
overridevirtual

Definition at line 579 of file sortresult.cxx.

References maMutex.

css::uno::Sequence< OUString > SAL_CALL SortedResultSet::getSupportedServiceNames ( )
overridevirtual

Definition at line 146 of file sortresult.cxx.

References RESULTSET_SERVICE_NAME.

Time SAL_CALL SortedResultSet::getTime ( sal_Int32  columnIndex)
overridevirtual

Definition at line 648 of file sortresult.cxx.

References maMutex, and Time.

DateTime SAL_CALL SortedResultSet::getTimestamp ( sal_Int32  columnIndex)
overridevirtual

Definition at line 655 of file sortresult.cxx.

References DateTime, and maMutex.

void SortedResultSet::Initialize ( const css::uno::Sequence< css::ucb::NumberedSortingInfo > &  xSortInfo,
const css::uno::Reference< css::ucb::XAnyCompareFactory > &  xCompFac 
)

Definition at line 1233 of file sortresult.cxx.

References i, mnCount, nIndex, nPos, pData, and TOOLS_WARN_EXCEPTION.

Referenced by SortedDynamicResultSet::getStaticResultSet().

void SortedResultSet::InsertNew ( sal_Int32  nPos,
sal_Int32  nCount 
)

Definition at line 1320 of file sortresult.cxx.

References i, mnCount, SortListData::mnCurPos, and pData.

Referenced by SortedDynamicResultSet::impl_notify().

sal_Bool SAL_CALL SortedResultSet::isAfterLast ( )
overridevirtual

Definition at line 267 of file sortresult.cxx.

References mnCount.

sal_Bool SAL_CALL SortedResultSet::isBeforeFirst ( )
overridevirtual

Definition at line 258 of file sortresult.cxx.

sal_Bool SAL_CALL SortedResultSet::isFirst ( )
overridevirtual

Definition at line 276 of file sortresult.cxx.

sal_Bool SAL_CALL SortedResultSet::isLast ( )
overridevirtual

Definition at line 285 of file sortresult.cxx.

References mnCount.

sal_Bool SAL_CALL SortedResultSet::last ( )
overridevirtual

Definition at line 328 of file sortresult.cxx.

References maMutex, mnCount, and nIndex.

void SortedResultSet::Move ( sal_Int32  nPos,
sal_Int32  nCount,
sal_Int32  nOffset 
)

Definition at line 1402 of file sortresult.cxx.

References i, SortListData::mnCurPos, and pData.

Referenced by SortedDynamicResultSet::impl_notify().

sal_Bool SAL_CALL SortedResultSet::next ( )
overridevirtual

Definition at line 236 of file sortresult.cxx.

References maMutex, mnCount, and nIndex.

sal_Bool SAL_CALL SortedResultSet::previous ( )
overridevirtual

moves the cursor to the previous row in the result set.

Note: previous() is not the same as relative(-1) because it makes sense to call previous() when there is no current row.

Returns
<TRUE> if the cursor is on a valid row; <FALSE> if it is off the result set.
Exceptions
SQLExceptionif a database access error occurs or the result set type is FORWARD_ONLY.

Definition at line 483 of file sortresult.cxx.

References maMutex, mnCount, and nIndex.

void SortedResultSet::PropertyChanged ( const css::beans::PropertyChangeEvent &  rEvt)
private
Reference< XContent > SAL_CALL SortedResultSet::queryContent ( )
overridevirtual

Definition at line 227 of file sortresult.cxx.

References maMutex.

Reference< XContentIdentifier > SAL_CALL SortedResultSet::queryContentIdentifier ( )
overridevirtual

Definition at line 219 of file sortresult.cxx.

References maMutex.

OUString SAL_CALL SortedResultSet::queryContentIdentifierString ( )
overridevirtual

Definition at line 211 of file sortresult.cxx.

References maMutex.

void SAL_CALL SortedResultSet::refreshRow ( )
overridevirtual

Definition at line 504 of file sortresult.cxx.

References maMutex, and mnCount.

sal_Bool SAL_CALL SortedResultSet::relative ( sal_Int32  rows)
overridevirtual

moves the cursor a relative number of rows, either positive or negative.

Attempting to move beyond the first/last row in the result set positions the cursor before/after the first/last row. Calling moveRelative(0) is valid, but does not change the cursor position.

Note: Calling moveRelative(1) is different from calling moveNext() because is makes sense to call moveNext() when there is no current row, for example, when the cursor is positioned before the first row or after the last row of the result set.

Parameters
rowsis the number of rows to move. Could be negative.
Returns
<TRUE> if the cursor is on a valid row; <FALSE> if it is off the result set.
Exceptions
SQLExceptionif a database access error occurs or if there is no current row, or the result set type is FORWARD_ONLY.

Definition at line 439 of file sortresult.cxx.

References maMutex, and mnCount.

void SortedResultSet::Remove ( sal_Int32  nPos,
sal_Int32  nCount,
EventList pList 
)
void SAL_CALL SortedResultSet::removeEventListener ( const css::uno::Reference< css::lang::XEventListener > &  Listener)
overridevirtual

Definition at line 197 of file sortresult.cxx.

References maMutex.

void SAL_CALL SortedResultSet::removePropertyChangeListener ( const OUString &  PropertyName,
const css::uno::Reference< css::beans::XPropertyChangeListener > &  Listener 
)
overridevirtual

Definition at line 817 of file sortresult.cxx.

References maMutex.

void SAL_CALL SortedResultSet::removeVetoableChangeListener ( const OUString &  PropertyName,
const css::uno::Reference< css::beans::XVetoableChangeListener > &  aListener 
)
overridevirtual

Definition at line 842 of file sortresult.cxx.

References maMutex.

void SortedResultSet::ResortModified ( EventList pList)
void SortedResultSet::ResortNew ( EventList pList)
sal_Bool SAL_CALL SortedResultSet::rowDeleted ( )
overridevirtual

Definition at line 543 of file sortresult.cxx.

References maMutex, and mnCount.

sal_Bool SAL_CALL SortedResultSet::rowInserted ( )
overridevirtual

Definition at line 530 of file sortresult.cxx.

References maMutex, and mnCount.

sal_Bool SAL_CALL SortedResultSet::rowUpdated ( )
overridevirtual

Definition at line 517 of file sortresult.cxx.

References maMutex, and mnCount.

void SortedResultSet::SetChanged ( sal_Int32  nPos,
sal_Int32  nCount 
)

Definition at line 1529 of file sortresult.cxx.

References i, SortListData::mbModified, and pData.

Referenced by SortedDynamicResultSet::impl_notify().

void SAL_CALL SortedResultSet::setPropertyValue ( const OUString &  PropertyName,
const css::uno::Any &  Value 
)
overridevirtual

Definition at line 752 of file sortresult.cxx.

References maMutex.

sal_Bool SAL_CALL SortedResultSet::supportsService ( const OUString &  ServiceName)
overridevirtual

Definition at line 141 of file sortresult.cxx.

References cppu::supportsService().

sal_Bool SAL_CALL SortedResultSet::wasNull ( )
overridevirtual

Definition at line 572 of file sortresult.cxx.

References maMutex.

Member Data Documentation

std::deque<SortListData*> SortedResultSet::m_ModList
private

maps the original Entries to the sorted ones

Definition at line 108 of file sortresult.hxx.

std::deque<sal_IntPtr> SortedResultSet::m_O2S
private

Definition at line 107 of file sortresult.hxx.

Referenced by CopyData().

osl::Mutex SortedResultSet::maMutex
private

Definition at line 105 of file sortresult.hxx.

SortedEntryList SortedResultSet::maS2O
private

Definition at line 106 of file sortresult.hxx.

Referenced by CopyData().

bool SortedResultSet::mbIsCopy
private

Definition at line 112 of file sortresult.hxx.

sal_Int32 SortedResultSet::mnCount
private

Definition at line 111 of file sortresult.hxx.

Referenced by GetCount().

sal_Int32 SortedResultSet::mnCurEntry
private

Definition at line 110 of file sortresult.hxx.

sal_Int32 SortedResultSet::mnLastSort
private

keeps track of modified entries

Definition at line 109 of file sortresult.hxx.

comphelper::OInterfaceContainerHelper3<css::lang::XEventListener>* SortedResultSet::mpDisposeEventListeners
private

Definition at line 96 of file sortresult.hxx.

std::unique_ptr<comphelper::OMultiTypeInterfaceContainerHelperVar3<css::beans::XPropertyChangeListener, OUString> > SortedResultSet::mpPropChangeListeners
private

Definition at line 97 of file sortresult.hxx.

rtl::Reference<SRSPropertySetInfo> SortedResultSet::mpPropSetInfo
private

Definition at line 103 of file sortresult.hxx.

SortInfo* SortedResultSet::mpSortInfo
private

Definition at line 104 of file sortresult.hxx.

Referenced by CopyData().

std::unique_ptr<comphelper::OMultiTypeInterfaceContainerHelperVar3<css::beans::XVetoableChangeListener, OUString> > SortedResultSet::mpVetoChangeListeners
private

Definition at line 98 of file sortresult.hxx.

css::uno::Reference< css::sdbc::XResultSet > SortedResultSet::mxOriginal
private

Definition at line 100 of file sortresult.hxx.

Referenced by CopyData().

css::uno::Reference< css::sdbc::XResultSet > SortedResultSet::mxOther
private

Definition at line 101 of file sortresult.hxx.


The documentation for this class was generated from the following files: