LibreOffice Module sc (master) 1
Public Member Functions | Private Attributes | List of all members
ScDPFilteredCache::GroupFilter Class Referencefinal

multi-item (group) filter. More...

#include <dpfilteredcache.hxx>

Inheritance diagram for ScDPFilteredCache::GroupFilter:
[legend]
Collaboration diagram for ScDPFilteredCache::GroupFilter:
[legend]

Public Member Functions

 GroupFilter ()
 
virtual bool match (const ScDPItemData &rCellData) const override
 returns true if the matching condition is met for a single cell value, or false otherwise. More...
 
virtual std::vector< ScDPItemDatagetMatchValues () const override
 
void addMatchItem (const ScDPItemData &rItem)
 
size_t getMatchItemCount () const
 
- Public Member Functions inherited from ScDPFilteredCache::FilterBase
virtual ~FilterBase ()
 
virtual bool match (const ScDPItemData &rCellData) const =0
 returns true if the matching condition is met for a single cell value, or false otherwise. More...
 
virtual std::vector< ScDPItemDatagetMatchValues () const =0
 

Private Attributes

::std::vector< ScDPItemDatamaItems
 

Detailed Description

multi-item (group) filter.

Definition at line 80 of file dpfilteredcache.hxx.

Constructor & Destructor Documentation

◆ GroupFilter()

ScDPFilteredCache::GroupFilter::GroupFilter ( )

Definition at line 47 of file dpfilteredcache.cxx.

Member Function Documentation

◆ addMatchItem()

void ScDPFilteredCache::GroupFilter::addMatchItem ( const ScDPItemData rItem)

◆ getMatchItemCount()

size_t ScDPFilteredCache::GroupFilter::getMatchItemCount ( ) const

◆ getMatchValues()

std::vector< ScDPItemData > ScDPFilteredCache::GroupFilter::getMatchValues ( ) const
overridevirtual

Implements ScDPFilteredCache::FilterBase.

Definition at line 56 of file dpfilteredcache.cxx.

◆ match()

bool ScDPFilteredCache::GroupFilter::match ( const ScDPItemData rCellData) const
overridevirtual

returns true if the matching condition is met for a single cell value, or false otherwise.

Implements ScDPFilteredCache::FilterBase.

Definition at line 51 of file dpfilteredcache.cxx.

Member Data Documentation

◆ maItems

::std::vector<ScDPItemData> ScDPFilteredCache::GroupFilter::maItems
private

Definition at line 90 of file dpfilteredcache.hxx.


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