Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
5be8ac97
Kaydet (Commit)
5be8ac97
authored
Kas 08, 2012
tarafından
Kohei Yoshida
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Function object for printing bucket content. Used only for debugging.
Change-Id: I8090ef9bbcbf335f742c2bb8843dd72a757ef048
üst
388ce838
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
4 deletions
+15
-4
dpcache.cxx
sc/source/core/data/dpcache.cxx
+15
-4
No files found.
sc/source/core/data/dpcache.cxx
Dosyayı görüntüle @
5be8ac97
...
@@ -168,6 +168,21 @@ struct Bucket
...
@@ -168,6 +168,21 @@ struct Bucket
maValue
(
rValue
),
mnOrderIndex
(
nOrder
),
mnDataIndex
(
nData
),
mnValueSortIndex
(
0
)
{}
maValue
(
rValue
),
mnOrderIndex
(
nOrder
),
mnDataIndex
(
nData
),
mnValueSortIndex
(
0
)
{}
};
};
#if DEBUG_PIVOT_TABLE
#include <iostream>
using
std
::
cout
;
using
std
::
endl
;
struct
PrintBucket
:
std
::
unary_function
<
Bucket
,
void
>
{
void
operator
()
(
const
Bucket
&
v
)
const
{
cout
<<
"value: "
<<
v
.
maValue
.
GetValue
()
<<
" order index: "
<<
v
.
mnOrderIndex
<<
" data index: "
<<
v
.
mnDataIndex
<<
" value sort index: "
<<
v
.
mnValueSortIndex
<<
endl
;
}
};
#endif
struct
LessByValue
:
std
::
binary_function
<
Bucket
,
Bucket
,
bool
>
struct
LessByValue
:
std
::
binary_function
<
Bucket
,
Bucket
,
bool
>
{
{
bool
operator
()
(
const
Bucket
&
left
,
const
Bucket
&
right
)
const
bool
operator
()
(
const
Bucket
&
left
,
const
Bucket
&
right
)
const
...
@@ -1100,10 +1115,6 @@ long ScDPCache::GetColumnCount() const
...
@@ -1100,10 +1115,6 @@ long ScDPCache::GetColumnCount() const
#if DEBUG_PIVOT_TABLE
#if DEBUG_PIVOT_TABLE
#include <iostream>
using
std
::
cout
;
using
std
::
endl
;
namespace
{
namespace
{
std
::
ostream
&
operator
<<
(
::
std
::
ostream
&
os
,
const
rtl
::
OUString
&
str
)
std
::
ostream
&
operator
<<
(
::
std
::
ostream
&
os
,
const
rtl
::
OUString
&
str
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment