diff options
author | Kohei Yoshida <kohei.yoshida@gmail.com> | 2012-10-31 21:56:19 -0400 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@gmail.com> | 2012-10-31 22:12:46 -0400 |
commit | 2a2a2c42814a2b3d00c85f7ba48fcc0f9f04a111 (patch) | |
tree | 4662a2554ea12ea3df88dbd32cfb586a3c8184fe /sc/inc/dpgroup.hxx | |
parent | 6a06befd20b01290a61e8157bd72c20eddcd15a0 (diff) |
Rename ScDPCacheTable to ScDPFilteredCache.
I always wanted to do this. The new name reflects what it really does
better than the old one.
Change-Id: I3c90cce06d482f1453936ff3916eef9663bb417b
Diffstat (limited to 'sc/inc/dpgroup.hxx')
-rw-r--r-- | sc/inc/dpgroup.hxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/sc/inc/dpgroup.hxx b/sc/inc/dpgroup.hxx index afa3933efe48..1fb4aec84611 100644 --- a/sc/inc/dpgroup.hxx +++ b/sc/inc/dpgroup.hxx @@ -57,7 +57,7 @@ public: bool HasElement( const ScDPItemData& rData ) const; bool HasCommonElement( const ScDPGroupItem& rOther ) const; - void FillGroupFilter( ScDPCacheTable::GroupFilter& rFilter ) const; + void FillGroupFilter( ScDPFilteredCache::GroupFilter& rFilter ) const; }; typedef ::std::vector<ScDPGroupItem> ScDPGroupItemVec; @@ -84,7 +84,7 @@ public: long GetGroupDim() const { return nGroupDim; } const rtl::OUString& GetName() const { return aGroupName; } - const std::vector< SCROW >& GetColumnEntries( const ScDPCacheTable& rCacheTable ) const; + const std::vector< SCROW >& GetColumnEntries( const ScDPFilteredCache& rCacheTable ) const; const ScDPGroupItem* GetGroupForData( const ScDPItemData& rData ) const; // rData = entry in original dim. const ScDPGroupItem* GetGroupForName( const ScDPItemData& rName ) const; // rName = entry in group dim. const ScDPGroupItem* GetGroupByIndex( size_t nIndex ) const; @@ -145,7 +145,7 @@ class ScDPGroupTableData : public ScDPTableData bool IsNumGroupDimension( long nDimension ) const; void GetNumGroupInfo(long nDimension, ScDPNumGroupInfo& rInfo); - void ModifyFilterCriteria(::std::vector<ScDPCacheTable::Criterion>& rCriteria); + void ModifyFilterCriteria(::std::vector<ScDPFilteredCache::Criterion>& rCriteria); public: // takes ownership of pSource @@ -176,12 +176,12 @@ public: virtual bool IsRepeatIfEmpty(); virtual void CreateCacheTable(); - virtual void FilterCacheTable(const ::std::vector<ScDPCacheTable::Criterion>& rCriteria, const ::boost::unordered_set<sal_Int32>& rDataDims); - virtual void GetDrillDownData(const ::std::vector<ScDPCacheTable::Criterion>& rCriteria, + virtual void FilterCacheTable(const ::std::vector<ScDPFilteredCache::Criterion>& rCriteria, const ::boost::unordered_set<sal_Int32>& rDataDims); + virtual void GetDrillDownData(const ::std::vector<ScDPFilteredCache::Criterion>& rCriteria, const ::boost::unordered_set<sal_Int32>& rCatDims, ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Any > >& rData); virtual void CalcResults(CalcInfo& rInfo, bool bAutoShow); - virtual const ScDPCacheTable& GetCacheTable() const; + virtual const ScDPFilteredCache& GetCacheTable() const; virtual void ReloadCacheTable(); virtual sal_Bool IsBaseForGroup(long nDim) const; |