LibreOffice Module chart2 (master) 1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
chart::EquidistantTickIter Class Reference

#include <Tickmarks_Equidistant.hxx>

Inheritance diagram for chart::EquidistantTickIter:
[legend]
Collaboration diagram for chart::EquidistantTickIter:
[legend]

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 TickInfofirstInfo () override
 
virtual TickInfonextInfo () override
 
- Public Member Functions inherited from chart::TickIter
virtual ~TickIter ()
 
virtual TickInfofirstInfo ()=0
 
virtual TickInfonextInfo ()=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
 
TickInfoArraysTypem_pInfoTicks
 
const ExplicitIncrementDatam_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
 

Detailed Description

Definition at line 29 of file Tickmarks_Equidistant.hxx.

Constructor & Destructor Documentation

◆ EquidistantTickIter() [1/2]

chart::EquidistantTickIter::EquidistantTickIter ( const css::uno::Sequence< css::uno::Sequence< double > > &  rTicks,
const ExplicitIncrementData rIncrement,
sal_Int32  nMaxDepth 
)

◆ EquidistantTickIter() [2/2]

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.

◆ ~EquidistantTickIter()

chart::EquidistantTickIter::~EquidistantTickIter ( )
overridevirtual

Definition at line 484 of file Tickmarks_Equidistant.cxx.

Member Function Documentation

◆ firstInfo()

TickInfo * chart::EquidistantTickIter::firstInfo ( )
overridevirtual

◆ firstValue()

double * chart::EquidistantTickIter::firstValue ( )

◆ getIntervalCount()

sal_Int32 chart::EquidistantTickIter::getIntervalCount ( sal_Int32  nDepth)
private

◆ getMaxDepth()

sal_Int32 chart::EquidistantTickIter::getMaxDepth ( ) const
inlineprivate

Definition at line 74 of file Tickmarks_Equidistant.hxx.

References m_pSimpleTicks.

Referenced by initIter().

◆ getStartDepth()

sal_Int32 chart::EquidistantTickIter::getStartDepth ( ) const
private

Definition at line 488 of file Tickmarks_Equidistant.cxx.

References getTickCount(), getTickValue(), m_nMaxDepth, and nCount.

Referenced by gotoFirst().

◆ getTickCount()

sal_Int32 chart::EquidistantTickIter::getTickCount ( sal_Int32  nDepth) const
inlineprivate

Definition at line 67 of file Tickmarks_Equidistant.hxx.

References m_pInfoTicks, and m_pSimpleTicks.

Referenced by getStartDepth(), and initIter().

◆ getTickValue()

double chart::EquidistantTickIter::getTickValue ( sal_Int32  nDepth,
sal_Int32  nIndex 
) const
inlineprivate

◆ gotoFirst()

bool chart::EquidistantTickIter::gotoFirst ( )
private

◆ gotoNext()

bool chart::EquidistantTickIter::gotoNext ( )
private

◆ initIter()

void chart::EquidistantTickIter::initIter ( sal_Int32  nMaxDepth)
private

◆ isAtLastPartTick()

bool chart::EquidistantTickIter::isAtLastPartTick ( )
private

◆ nextInfo()

TickInfo * chart::EquidistantTickIter::nextInfo ( )
overridevirtual

◆ nextValue()

double * chart::EquidistantTickIter::nextValue ( )

Member Data Documentation

◆ m_fCurrentValue

double chart::EquidistantTickIter::m_fCurrentValue
private

Definition at line 97 of file Tickmarks_Equidistant.hxx.

Referenced by firstValue(), and nextValue().

◆ m_nCurrentDepth

sal_Int32 chart::EquidistantTickIter::m_nCurrentDepth
private

◆ m_nCurrentPos

sal_Int32 chart::EquidistantTickIter::m_nCurrentPos
private

Definition at line 96 of file Tickmarks_Equidistant.hxx.

Referenced by gotoFirst(), and gotoNext().

◆ m_nMaxDepth

sal_Int32 chart::EquidistantTickIter::m_nMaxDepth
private

Definition at line 86 of file Tickmarks_Equidistant.hxx.

Referenced by getStartDepth(), gotoFirst(), gotoNext(), and initIter().

◆ m_nTickCount

sal_Int32 chart::EquidistantTickIter::m_nTickCount
private

Definition at line 87 of file Tickmarks_Equidistant.hxx.

Referenced by getIntervalCount(), gotoFirst(), gotoNext(), and initIter().

◆ m_pbIntervalFinished

std::unique_ptr<bool[]> chart::EquidistantTickIter::m_pbIntervalFinished
private

Definition at line 94 of file Tickmarks_Equidistant.hxx.

Referenced by gotoNext(), initIter(), and isAtLastPartTick().

◆ m_pInfoTicks

TickInfoArraysType* chart::EquidistantTickIter::m_pInfoTicks
private

Definition at line 84 of file Tickmarks_Equidistant.hxx.

Referenced by firstInfo(), getTickCount(), getTickValue(), and nextInfo().

◆ m_pnPositions

std::unique_ptr<sal_Int32[]> chart::EquidistantTickIter::m_pnPositions
private

◆ m_pnPreParentCount

std::unique_ptr<sal_Int32[]> chart::EquidistantTickIter::m_pnPreParentCount
private

Definition at line 91 of file Tickmarks_Equidistant.hxx.

Referenced by initIter(), and isAtLastPartTick().

◆ m_pSimpleTicks

const css::uno::Sequence< css::uno::Sequence< double > >* chart::EquidistantTickIter::m_pSimpleTicks
private

Definition at line 83 of file Tickmarks_Equidistant.hxx.

Referenced by getMaxDepth(), getTickCount(), and getTickValue().

◆ m_rIncrement

const ExplicitIncrementData& chart::EquidistantTickIter::m_rIncrement
private

Definition at line 85 of file Tickmarks_Equidistant.hxx.

Referenced by getIntervalCount().


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