LibreOffice Module chart2 (master) 1
|
#include <Tickmarks_Equidistant.hxx>
Public Member Functions | |
EquidistantTickIter (const css::uno::Sequence< css::uno::Sequence< double > > &rTicks, const ExplicitIncrementData &rIncrement, sal_Int32 nMaxDepth) | |
EquidistantTickIter (TickInfoArraysType &rTickInfos, const ExplicitIncrementData &rIncrement, sal_Int32 nMaxDepth) | |
virtual | ~EquidistantTickIter () override |
double * | firstValue () |
double * | nextValue () |
virtual TickInfo * | firstInfo () override |
virtual TickInfo * | nextInfo () override |
Public Member Functions inherited from chart::TickIter | |
virtual | ~TickIter () |
virtual TickInfo * | firstInfo ()=0 |
virtual TickInfo * | nextInfo ()=0 |
Private Member Functions | |
sal_Int32 | getIntervalCount (sal_Int32 nDepth) |
bool | isAtLastPartTick () |
void | initIter (sal_Int32 nMaxDepth) |
sal_Int32 | getStartDepth () const |
bool | gotoFirst () |
bool | gotoNext () |
double | getTickValue (sal_Int32 nDepth, sal_Int32 nIndex) const |
sal_Int32 | getTickCount (sal_Int32 nDepth) const |
sal_Int32 | getMaxDepth () const |
Private Attributes | |
const css::uno::Sequence< css::uno::Sequence< double > > * | m_pSimpleTicks |
TickInfoArraysType * | m_pInfoTicks |
const ExplicitIncrementData & | m_rIncrement |
sal_Int32 | m_nMaxDepth |
sal_Int32 | m_nTickCount |
std::unique_ptr< sal_Int32[]> | m_pnPositions |
std::unique_ptr< sal_Int32[]> | m_pnPreParentCount |
std::unique_ptr< bool[]> | m_pbIntervalFinished |
sal_Int32 | m_nCurrentDepth |
sal_Int32 | m_nCurrentPos |
double | m_fCurrentValue |
Definition at line 29 of file Tickmarks_Equidistant.hxx.
chart::EquidistantTickIter::EquidistantTickIter | ( | const css::uno::Sequence< css::uno::Sequence< double > > & | rTicks, |
const ExplicitIncrementData & | rIncrement, | ||
sal_Int32 | nMaxDepth | ||
) |
chart::EquidistantTickIter::EquidistantTickIter | ( | TickInfoArraysType & | rTickInfos, |
const ExplicitIncrementData & | rIncrement, | ||
sal_Int32 | nMaxDepth | ||
) |
Definition at line 428 of file Tickmarks_Equidistant.cxx.
References initIter(), and m_nCurrentPos.
|
overridevirtual |
Definition at line 484 of file Tickmarks_Equidistant.cxx.
|
overridevirtual |
Implements chart::TickIter.
Definition at line 519 of file Tickmarks_Equidistant.cxx.
References gotoFirst(), m_nCurrentDepth, m_pInfoTicks, and m_pnPositions.
Referenced by chart::VPolarGrid::createLinePointSequence_ForAngleAxis(), chart::VPolarRadiusAxis::createShapes(), and chart::VPolarAngleAxis::createTextShapes_ForAngleAxis().
double * chart::EquidistantTickIter::firstValue | ( | ) |
Definition at line 509 of file Tickmarks_Equidistant.cxx.
References getTickValue(), gotoFirst(), m_fCurrentValue, m_nCurrentDepth, and m_pnPositions.
Referenced by chart::EquidistantTickFactory::addSubTicks().
|
private |
Definition at line 526 of file Tickmarks_Equidistant.cxx.
References m_nTickCount, m_rIncrement, and chart::ExplicitIncrementData::SubIncrements.
Referenced by isAtLastPartTick().
|
inlineprivate |
Definition at line 74 of file Tickmarks_Equidistant.hxx.
References m_pSimpleTicks.
Referenced by initIter().
|
private |
Definition at line 488 of file Tickmarks_Equidistant.cxx.
References getTickCount(), getTickValue(), m_nMaxDepth, and nCount.
Referenced by gotoFirst().
|
inlineprivate |
Definition at line 67 of file Tickmarks_Equidistant.hxx.
References m_pInfoTicks, and m_pSimpleTicks.
Referenced by getStartDepth(), and initIter().
|
inlineprivate |
Definition at line 56 of file Tickmarks_Equidistant.hxx.
References m_pInfoTicks, m_pSimpleTicks, o3tl::make_unsigned(), nIndex, and size.
Referenced by firstValue(), getStartDepth(), initIter(), and nextValue().
|
private |
Definition at line 556 of file Tickmarks_Equidistant.cxx.
References getStartDepth(), m_nCurrentDepth, m_nCurrentPos, m_nMaxDepth, m_nTickCount, and m_pnPositions.
Referenced by firstInfo(), and firstValue().
|
private |
Definition at line 572 of file Tickmarks_Equidistant.cxx.
References isAtLastPartTick(), m_nCurrentDepth, m_nCurrentPos, m_nMaxDepth, m_nTickCount, m_pbIntervalFinished, and m_pnPositions.
Referenced by nextInfo(), and nextValue().
|
private |
Definition at line 441 of file Tickmarks_Equidistant.cxx.
References getMaxDepth(), getTickCount(), getTickValue(), m_nMaxDepth, m_nTickCount, m_pbIntervalFinished, m_pnPositions, m_pnPreParentCount, and nCount.
Referenced by EquidistantTickIter().
|
private |
Definition at line 537 of file Tickmarks_Equidistant.cxx.
References getIntervalCount(), m_nCurrentDepth, m_pbIntervalFinished, m_pnPositions, m_pnPreParentCount, and nPos.
Referenced by gotoNext().
|
overridevirtual |
Implements chart::TickIter.
Definition at line 613 of file Tickmarks_Equidistant.cxx.
References gotoNext(), m_nCurrentDepth, m_pInfoTicks, m_pnPositions, and size.
Referenced by chart::VPolarGrid::createLinePointSequence_ForAngleAxis(), chart::VPolarRadiusAxis::createShapes(), and chart::VPolarAngleAxis::createTextShapes_ForAngleAxis().
double * chart::EquidistantTickIter::nextValue | ( | ) |
Definition at line 603 of file Tickmarks_Equidistant.cxx.
References getTickValue(), gotoNext(), m_fCurrentValue, m_nCurrentDepth, and m_pnPositions.
Referenced by chart::EquidistantTickFactory::addSubTicks().
|
private |
Definition at line 97 of file Tickmarks_Equidistant.hxx.
Referenced by firstValue(), and nextValue().
|
private |
Definition at line 95 of file Tickmarks_Equidistant.hxx.
Referenced by firstInfo(), firstValue(), gotoFirst(), gotoNext(), isAtLastPartTick(), nextInfo(), and nextValue().
|
private |
Definition at line 96 of file Tickmarks_Equidistant.hxx.
Referenced by gotoFirst(), and gotoNext().
|
private |
Definition at line 86 of file Tickmarks_Equidistant.hxx.
Referenced by getStartDepth(), gotoFirst(), gotoNext(), and initIter().
|
private |
Definition at line 87 of file Tickmarks_Equidistant.hxx.
Referenced by getIntervalCount(), gotoFirst(), gotoNext(), and initIter().
|
private |
Definition at line 94 of file Tickmarks_Equidistant.hxx.
Referenced by gotoNext(), initIter(), and isAtLastPartTick().
|
private |
Definition at line 84 of file Tickmarks_Equidistant.hxx.
Referenced by firstInfo(), getTickCount(), getTickValue(), and nextInfo().
|
private |
Definition at line 89 of file Tickmarks_Equidistant.hxx.
Referenced by firstInfo(), firstValue(), gotoFirst(), gotoNext(), initIter(), isAtLastPartTick(), nextInfo(), and nextValue().
|
private |
Definition at line 91 of file Tickmarks_Equidistant.hxx.
Referenced by initIter(), and isAtLastPartTick().
|
private |
Definition at line 83 of file Tickmarks_Equidistant.hxx.
Referenced by getMaxDepth(), getTickCount(), and getTickValue().
|
private |
Definition at line 85 of file Tickmarks_Equidistant.hxx.
Referenced by getIntervalCount().