LibreOffice Module sc (master) 1
Classes | Public Member Functions | Private Types | Private Attributes | List of all members
ScDPResultVisibilityData Class Reference

This class collects visible members of each dimension and uses that information to create filtering criteria (e.g. More...

#include <dptabres.hxx>

Collaboration diagram for ScDPResultVisibilityData:
[legend]

Classes

struct  MemberHash
 

Public Member Functions

 ScDPResultVisibilityData (ScDPSource *pSource)
 
 ~ScDPResultVisibilityData ()
 
void addVisibleMember (const OUString &rDimName, const ScDPItemData &rMemberItem)
 
void fillFieldFilters (::std::vector< ScDPFilteredCache::Criterion > &rFilters) const
 

Private Types

typedef std::unordered_set< ScDPItemData, MemberHashVisibleMemberType
 
typedef std::unordered_map< OUString, VisibleMemberTypeDimMemberType
 

Private Attributes

DimMemberType maDimensions
 
ScDPSourcempSource
 

Detailed Description

This class collects visible members of each dimension and uses that information to create filtering criteria (e.g.

for drill-down data).

Definition at line 648 of file dptabres.hxx.

Member Typedef Documentation

◆ DimMemberType

typedef std::unordered_map<OUString, VisibleMemberType> ScDPResultVisibilityData::DimMemberType
private

Definition at line 663 of file dptabres.hxx.

◆ VisibleMemberType

Definition at line 662 of file dptabres.hxx.

Constructor & Destructor Documentation

◆ ScDPResultVisibilityData()

ScDPResultVisibilityData::ScDPResultVisibilityData ( ScDPSource pSource)

Definition at line 3891 of file dptabres.cxx.

◆ ~ScDPResultVisibilityData()

ScDPResultVisibilityData::~ScDPResultVisibilityData ( )

Definition at line 3897 of file dptabres.cxx.

Member Function Documentation

◆ addVisibleMember()

void ScDPResultVisibilityData::addVisibleMember ( const OUString &  rDimName,
const ScDPItemData rMemberItem 
)

Definition at line 3901 of file dptabres.cxx.

References maDimensions.

Referenced by ScDPResultDimension::FillVisibilityData().

◆ fillFieldFilters()

void ScDPResultVisibilityData::fillFieldFilters ( ::std::vector< ScDPFilteredCache::Criterion > &  rFilters) const

Member Data Documentation

◆ maDimensions

DimMemberType ScDPResultVisibilityData::maDimensions
private

Definition at line 664 of file dptabres.hxx.

Referenced by addVisibleMember(), and fillFieldFilters().

◆ mpSource

ScDPSource* ScDPResultVisibilityData::mpSource
private

Definition at line 666 of file dptabres.hxx.

Referenced by fillFieldFilters().


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