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) const
 
bool hasCausedException (sal_Int32 nRow) const
 
sal_Int32 getMaxRow () const
 
bool hasKnownLast () const
 
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)
 
css::uno::Sequence< sal_Bool > & getMappedReminder ()
 

Private Attributes

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

Detailed Description

Definition at line 48 of file cachedcontentresultset.hxx.

Constructor & Destructor Documentation

◆ CCRS_Cache()

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

Definition at line 124 of file cachedcontentresultset.cxx.

◆ ~CCRS_Cache()

CachedContentResultSet::CCRS_Cache::~CCRS_Cache ( )

Definition at line 130 of file cachedcontentresultset.cxx.

Member Function Documentation

◆ clear()

void CachedContentResultSet::CCRS_Cache::clear ( )
private

Definition at line 134 of file cachedcontentresultset.cxx.

◆ getAny()

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

Definition at line 260 of file cachedcontentresultset.cxx.

References Any, and CachedContentResultSet::m_xContentIdentifierMapping.

Referenced by CachedContentResultSet::getObject(), and CachedContentResultSet::rowOriginGet().

◆ getContent()

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

Definition at line 334 of file cachedcontentresultset.cxx.

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

◆ getContentIdentifier()

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

Definition at line 310 of file cachedcontentresultset.cxx.

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

◆ getContentIdentifierString()

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

Definition at line 286 of file cachedcontentresultset.cxx.

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

◆ getMappedReminder()

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

Definition at line 248 of file cachedcontentresultset.cxx.

References nCount.

◆ getMaxRow()

sal_Int32 CachedContentResultSet::CCRS_Cache::getMaxRow ( ) const

Definition at line 163 of file cachedcontentresultset.cxx.

◆ getRowAny()

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

Definition at line 201 of file cachedcontentresultset.cxx.

References Any.

◆ hasCausedException()

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

◆ hasKnownLast()

bool CachedContentResultSet::CCRS_Cache::hasKnownLast ( ) const

Definition at line 175 of file cachedcontentresultset.cxx.

◆ hasRow()

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

◆ isRowMapped()

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

Definition at line 235 of file cachedcontentresultset.cxx.

References getLength().

◆ loadData()

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

Definition at line 141 of file cachedcontentresultset.cxx.

◆ remindMapped()

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

Definition at line 218 of file cachedcontentresultset.cxx.

Member Data Documentation

◆ m_pMappedReminder

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

Definition at line 55 of file cachedcontentresultset.hxx.

◆ m_pResult

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

Definition at line 52 of file cachedcontentresultset.hxx.

◆ m_xContentIdentifierMapping

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

Definition at line 54 of file cachedcontentresultset.hxx.


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