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_IntPtr 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_IntPtr nOldCount, bool bWasFinal)
 
void InsertNew (sal_IntPtr nPos, sal_IntPtr nCount)
 
void SetChanged (sal_IntPtr nPos, sal_IntPtr nCount)
 
void Remove (sal_IntPtr nPos, sal_IntPtr nCount, EventList *pList)
 
void Move (sal_IntPtr nPos, sal_IntPtr nCount, sal_IntPtr 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_IntPtr FindPos (SortListData const *pEntry, sal_IntPtr nStart, sal_IntPtr nEnd)
 
sal_IntPtr 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_IntPtr CompareImpl (const css::uno::Reference< css::sdbc::XResultSet > &xResultOne, const css::uno::Reference< css::sdbc::XResultSet > &xResultTwo, sal_IntPtr nIndexOne, sal_IntPtr nIndexTwo)
 
void PropertyChanged (const css::beans::PropertyChangeEvent &rEvt)
 

Static Private Member Functions

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

Private Attributes

comphelper::OInterfaceContainerHelper2mpDisposeEventListeners
 
std::unique_ptr< PropertyChangeListeners_ImplmpPropChangeListeners
 
std::unique_ptr< PropertyChangeListeners_ImplmpVetoChangeListeners
 
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_IntPtr mnLastSort
 keeps track of modified entries More...
 
sal_IntPtr mnCurEntry
 
sal_IntPtr mnCount
 
bool mbIsCopy
 

Detailed Description

Definition at line 90 of file sortresult.hxx.

Constructor & Destructor Documentation

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

Definition at line 108 of file sortresult.cxx.

References mnCount.

SortedResultSet::~SortedResultSet ( )
overridevirtual

Definition at line 123 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 388 of file sortresult.cxx.

References maMutex, mnCount, and nIndex.

void SAL_CALL SortedResultSet::addEventListener ( const css::uno::Reference< css::lang::XEventListener > &  Listener)
overridevirtual

Definition at line 195 of file sortresult.cxx.

References getContainerMutex(), and maMutex.

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

Definition at line 814 of file sortresult.cxx.

References maMutex.

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

Definition at line 839 of file sortresult.cxx.

References maMutex.

void SAL_CALL SortedResultSet::afterLast ( )
overridevirtual

Definition at line 313 of file sortresult.cxx.

References maMutex, and mnCount.

void SAL_CALL SortedResultSet::beforeFirst ( )
overridevirtual

Definition at line 305 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_IntPtr  nOldCount,
bool  bWasFinal 
)

Definition at line 1309 of file sortresult.cxx.

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

Referenced by SortedDynamicResultSet::impl_notify().

void SAL_CALL SortedResultSet::close ( )
overridevirtual

Definition at line 729 of file sortresult.cxx.

References maMutex.

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

Definition at line 1118 of file sortresult.cxx.

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

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

Definition at line 165 of file sortresult.cxx.

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

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

Definition at line 1156 of file sortresult.cxx.

sal_Bool SAL_CALL SortedResultSet::first ( )
overridevirtual

Definition at line 321 of file sortresult.cxx.

References maMutex, mnCount, and nIndex.

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

Definition at line 719 of file sortresult.cxx.

References maMutex.

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

Definition at line 674 of file sortresult.cxx.

References maMutex.

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

Definition at line 705 of file sortresult.cxx.

References maMutex.

sal_Bool SAL_CALL SortedResultSet::getBoolean ( sal_Int32  columnIndex)
overridevirtual

Definition at line 597 of file sortresult.cxx.

References maMutex.

sal_Int8 SAL_CALL SortedResultSet::getByte ( sal_Int32  columnIndex)
overridevirtual

Definition at line 604 of file sortresult.cxx.

References maMutex.

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

Definition at line 645 of file sortresult.cxx.

References maMutex.

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

Definition at line 682 of file sortresult.cxx.

References maMutex.

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

Definition at line 712 of file sortresult.cxx.

References maMutex.

sal_IntPtr SortedResultSet::GetCount ( ) const
inline

Definition at line 147 of file sortresult.hxx.

References mnCount.

Referenced by SortedDynamicResultSet::impl_notify().

Date SAL_CALL SortedResultSet::getDate ( sal_Int32  columnIndex)
overridevirtual

Definition at line 652 of file sortresult.cxx.

References maMutex.

double SAL_CALL SortedResultSet::getDouble ( sal_Int32  columnIndex)
overridevirtual

Definition at line 638 of file sortresult.cxx.

References maMutex.

float SAL_CALL SortedResultSet::getFloat ( sal_Int32  columnIndex)
overridevirtual

Definition at line 631 of file sortresult.cxx.

References maMutex.

OUString SAL_CALL SortedResultSet::getImplementationName ( )
overridevirtual

Definition at line 147 of file sortresult.cxx.

sal_Int32 SAL_CALL SortedResultSet::getInt ( sal_Int32  columnIndex)
overridevirtual

Definition at line 618 of file sortresult.cxx.

References maMutex.

sal_Int64 SAL_CALL SortedResultSet::getLong ( sal_Int32  columnIndex)
overridevirtual

Definition at line 624 of file sortresult.cxx.

References maMutex.

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

Definition at line 739 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 689 of file sortresult.cxx.

References Any, and maMutex.

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

Definition at line 750 of file sortresult.cxx.

References maMutex.

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

Definition at line 776 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 698 of file sortresult.cxx.

References maMutex.

sal_Int32 SAL_CALL SortedResultSet::getRow ( )
overridevirtual

Definition at line 357 of file sortresult.cxx.

sal_Int16 SAL_CALL SortedResultSet::getShort ( sal_Int32  columnIndex)
overridevirtual

Definition at line 611 of file sortresult.cxx.

References maMutex.

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

Definition at line 567 of file sortresult.cxx.

References maMutex, and mnCount.

OUString SAL_CALL SortedResultSet::getString ( sal_Int32  columnIndex)
overridevirtual

Definition at line 590 of file sortresult.cxx.

References maMutex.

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

Definition at line 157 of file sortresult.cxx.

References RESULTSET_SERVICE_NAME.

Time SAL_CALL SortedResultSet::getTime ( sal_Int32  columnIndex)
overridevirtual

Definition at line 659 of file sortresult.cxx.

References maMutex, and Time.

DateTime SAL_CALL SortedResultSet::getTimestamp ( sal_Int32  columnIndex)
overridevirtual

Definition at line 666 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 1262 of file sortresult.cxx.

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

Referenced by SortedDynamicResultSet::getStaticResultSet().

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

Definition at line 1349 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 278 of file sortresult.cxx.

References mnCount.

sal_Bool SAL_CALL SortedResultSet::isBeforeFirst ( )
overridevirtual

Definition at line 269 of file sortresult.cxx.

sal_Bool SAL_CALL SortedResultSet::isFirst ( )
overridevirtual

Definition at line 287 of file sortresult.cxx.

sal_Bool SAL_CALL SortedResultSet::isLast ( )
overridevirtual

Definition at line 296 of file sortresult.cxx.

References mnCount.

sal_Bool SAL_CALL SortedResultSet::last ( )
overridevirtual

Definition at line 339 of file sortresult.cxx.

References maMutex, mnCount, and nIndex.

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

Definition at line 1432 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 247 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 494 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 238 of file sortresult.cxx.

References maMutex.

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

Definition at line 230 of file sortresult.cxx.

References maMutex.

OUString SAL_CALL SortedResultSet::queryContentIdentifierString ( )
overridevirtual

Definition at line 222 of file sortresult.cxx.

References maMutex.

void SAL_CALL SortedResultSet::refreshRow ( )
overridevirtual

Definition at line 515 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 450 of file sortresult.cxx.

References maMutex, and mnCount.

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

Definition at line 208 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 828 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 853 of file sortresult.cxx.

References maMutex.

void SortedResultSet::ResortModified ( EventList pList)
void SortedResultSet::ResortNew ( EventList pList)

Definition at line 1644 of file sortresult.cxx.

References EventList::AddEvent(), i, SortListData::mnCurPos, and pData.

Referenced by SortedDynamicResultSet::impl_notify().

sal_Bool SAL_CALL SortedResultSet::rowDeleted ( )
overridevirtual

Definition at line 554 of file sortresult.cxx.

References maMutex, and mnCount.

sal_Bool SAL_CALL SortedResultSet::rowInserted ( )
overridevirtual

Definition at line 541 of file sortresult.cxx.

References maMutex, and mnCount.

sal_Bool SAL_CALL SortedResultSet::rowUpdated ( )
overridevirtual

Definition at line 528 of file sortresult.cxx.

References maMutex, and mnCount.

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

Definition at line 1559 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 763 of file sortresult.cxx.

References maMutex.

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

Definition at line 152 of file sortresult.cxx.

References cppu::supportsService().

sal_Bool SAL_CALL SortedResultSet::wasNull ( )
overridevirtual

Definition at line 583 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 112 of file sortresult.hxx.

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

Definition at line 111 of file sortresult.hxx.

Referenced by CopyData().

osl::Mutex SortedResultSet::maMutex
private

Definition at line 109 of file sortresult.hxx.

SortedEntryList SortedResultSet::maS2O
private

Definition at line 110 of file sortresult.hxx.

Referenced by CopyData().

bool SortedResultSet::mbIsCopy
private

Definition at line 116 of file sortresult.hxx.

sal_IntPtr SortedResultSet::mnCount
private

Definition at line 115 of file sortresult.hxx.

Referenced by GetCount().

sal_IntPtr SortedResultSet::mnCurEntry
private

Definition at line 114 of file sortresult.hxx.

sal_IntPtr SortedResultSet::mnLastSort
private

keeps track of modified entries

Definition at line 113 of file sortresult.hxx.

comphelper::OInterfaceContainerHelper2* SortedResultSet::mpDisposeEventListeners
private

Definition at line 100 of file sortresult.hxx.

std::unique_ptr<PropertyChangeListeners_Impl> SortedResultSet::mpPropChangeListeners
private

Definition at line 101 of file sortresult.hxx.

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

Definition at line 107 of file sortresult.hxx.

SortInfo* SortedResultSet::mpSortInfo
private

Definition at line 108 of file sortresult.hxx.

Referenced by CopyData().

std::unique_ptr<PropertyChangeListeners_Impl> SortedResultSet::mpVetoChangeListeners
private

Definition at line 102 of file sortresult.hxx.

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

Definition at line 104 of file sortresult.hxx.

Referenced by CopyData().

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

Definition at line 105 of file sortresult.hxx.


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