LibreOffice Module ucb (master)  1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
CachedContentResultSet::CCRS_Cache Class Reference

Public Member Functions

 CCRS_Cache (const css::uno::Reference< css::ucb::XContentIdentifierMapping > &xMapping)
 
 ~CCRS_Cache ()
 
void loadData (const css::ucb::FetchResult &rResult)
 
bool hasRow (sal_Int32 nRow)
 
bool hasCausedException (sal_Int32 nRow)
 
sal_Int32 getMaxRow ()
 
bool hasKnownLast ()
 
const css::uno::Any & getAny (sal_Int32 nRow, sal_Int32 nColumnIndex)
 
OUString const & getContentIdentifierString (sal_Int32 nRow)
 
css::uno::Reference< css::ucb::XContentIdentifier > getContentIdentifier (sal_Int32 nRow)
 
css::uno::Reference< css::ucb::XContent > getContent (sal_Int32 nRow)
 

Private Member Functions

css::uno::Any & getRowAny (sal_Int32 nRow)
 
void clear ()
 
void remindMapped (sal_Int32 nRow)
 
bool isRowMapped (sal_Int32 nRow)
 
void clearMappedReminder ()
 
css::uno::Sequence< sal_Bool > * getMappedReminder ()
 

Private Attributes

std::unique_ptr< css::ucb::FetchResult > m_pResult
 
css::uno::Reference< css::ucb::XContentIdentifierMapping > m_xContentIdentifierMapping
 
std::unique_ptr< css::uno::Sequence< sal_Bool > > m_pMappedReminder
 

Detailed Description

Definition at line 52 of file cachedcontentresultset.hxx.

Constructor & Destructor Documentation

CachedContentResultSet::CCRS_Cache::CCRS_Cache ( const css::uno::Reference< css::ucb::XContentIdentifierMapping > &  xMapping)

Definition at line 125 of file cachedcontentresultset.cxx.

CachedContentResultSet::CCRS_Cache::~CCRS_Cache ( )

Definition at line 131 of file cachedcontentresultset.cxx.

Member Function Documentation

void CachedContentResultSet::CCRS_Cache::clear ( )
private

Definition at line 136 of file cachedcontentresultset.cxx.

void CachedContentResultSet::CCRS_Cache::clearMappedReminder ( )
private

Definition at line 247 of file cachedcontentresultset.cxx.

const Any & CachedContentResultSet::CCRS_Cache::getAny ( sal_Int32  nRow,
sal_Int32  nColumnIndex 
)
Exceptions
css::sdbc::SQLException
css::uno::RuntimeException

Definition at line 265 of file cachedcontentresultset.cxx.

References Any, and CachedContentResultSet::m_xContentIdentifierMapping.

Referenced by CachedContentResultSet::getObject().

Reference< XContent > CachedContentResultSet::CCRS_Cache::getContent ( sal_Int32  nRow)
Exceptions
css::uno::RuntimeException

Definition at line 339 of file cachedcontentresultset.cxx.

References Any, cppu::getCaughtException(), and CachedContentResultSet::m_xContentIdentifierMapping.

Reference< XContentIdentifier > CachedContentResultSet::CCRS_Cache::getContentIdentifier ( sal_Int32  nRow)
Exceptions
css::uno::RuntimeException

Definition at line 315 of file cachedcontentresultset.cxx.

References Any, cppu::getCaughtException(), and CachedContentResultSet::m_xContentIdentifierMapping.

OUString const & CachedContentResultSet::CCRS_Cache::getContentIdentifierString ( sal_Int32  nRow)
Exceptions
css::uno::RuntimeException

Definition at line 291 of file cachedcontentresultset.cxx.

References Any, cppu::getCaughtException(), and CachedContentResultSet::m_xContentIdentifierMapping.

Sequence< sal_Bool > * CachedContentResultSet::CCRS_Cache::getMappedReminder ( )
private

Definition at line 253 of file cachedcontentresultset.cxx.

sal_Int32 CachedContentResultSet::CCRS_Cache::getMaxRow ( )

Definition at line 165 of file cachedcontentresultset.cxx.

Any & CachedContentResultSet::CCRS_Cache::getRowAny ( sal_Int32  nRow)
private
Exceptions
css::sdbc::SQLException
css::uno::RuntimeException

Definition at line 203 of file cachedcontentresultset.cxx.

bool CachedContentResultSet::CCRS_Cache::hasCausedException ( sal_Int32  nRow)

Definition at line 188 of file cachedcontentresultset.cxx.

Referenced by CachedContentResultSet::getObject().

bool CachedContentResultSet::CCRS_Cache::hasKnownLast ( )

Definition at line 177 of file cachedcontentresultset.cxx.

bool CachedContentResultSet::CCRS_Cache::hasRow ( sal_Int32  nRow)

Definition at line 150 of file cachedcontentresultset.cxx.

Referenced by CachedContentResultSet::getObject().

bool CachedContentResultSet::CCRS_Cache::isRowMapped ( sal_Int32  nRow)
private

Definition at line 234 of file cachedcontentresultset.cxx.

References getLength().

void CachedContentResultSet::CCRS_Cache::loadData ( const css::ucb::FetchResult &  rResult)

Definition at line 143 of file cachedcontentresultset.cxx.

void CachedContentResultSet::CCRS_Cache::remindMapped ( sal_Int32  nRow)
private

Definition at line 220 of file cachedcontentresultset.cxx.

References getLength().

Member Data Documentation

std::unique_ptr<css::uno::Sequence< sal_Bool > > CachedContentResultSet::CCRS_Cache::m_pMappedReminder
private

Definition at line 59 of file cachedcontentresultset.hxx.

std::unique_ptr<css::ucb::FetchResult> CachedContentResultSet::CCRS_Cache::m_pResult
private

Definition at line 56 of file cachedcontentresultset.hxx.

css::uno::Reference< css::ucb::XContentIdentifierMapping > CachedContentResultSet::CCRS_Cache::m_xContentIdentifierMapping
private

Definition at line 58 of file cachedcontentresultset.hxx.


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