LibreOffice Module scaddins (master) 1
Public Member Functions | Protected Member Functions | Private Attributes | List of all members
sca::analysis::ScaDoubleList Class Reference

#include <analysishelper.hxx>

Inheritance diagram for sca::analysis::ScaDoubleList:
[legend]

Public Member Functions

virtual ~ScaDoubleList ()
 
sal_uInt32 Count () const
 
double Get (sal_uInt32 n) const
 
void Append (const css::uno::Sequence< css::uno::Sequence< double > > &rValueArr)
 
void Append (const css::uno::Sequence< css::uno::Sequence< sal_Int32 > > &rValueArr)
 
void Append (ScaAnyConverter &rAnyConv, const css::uno::Reference< css::beans::XPropertySet > &xOpt, const css::uno::Sequence< css::uno::Any > &rAnySeq)
 
virtual bool CheckInsert (double fValue) const
 

Protected Member Functions

void ListAppend (double fValue)
 
void Append (double fValue)
 
void Append (const ScaAnyConverter &rAnyConv, const css::uno::Any &rAny, bool bIgnoreEmpty)
 
void Append (const ScaAnyConverter &rAnyConv, const css::uno::Sequence< css::uno::Any > &rAnySeq, bool bIgnoreEmpty)
 
void Append (const ScaAnyConverter &rAnyConv, const css::uno::Sequence< css::uno::Sequence< css::uno::Any > > &rAnySeq, bool bIgnoreEmpty)
 

Private Attributes

std::vector< double > maVector
 

Detailed Description

Definition at line 292 of file analysishelper.hxx.

Constructor & Destructor Documentation

◆ ~ScaDoubleList()

virtual sca::analysis::ScaDoubleList::~ScaDoubleList ( )
inlinevirtual

Definition at line 335 of file analysishelper.hxx.

Member Function Documentation

◆ Append() [1/7]

void sca::analysis::ScaDoubleList::Append ( const css::uno::Sequence< css::uno::Sequence< double > > &  rValueArr)
Exceptions
css::uno::RuntimeException
css::lang::IllegalArgumentException

◆ Append() [2/7]

void sca::analysis::ScaDoubleList::Append ( const css::uno::Sequence< css::uno::Sequence< sal_Int32 > > &  rValueArr)
Exceptions
css::uno::RuntimeException
css::lang::IllegalArgumentException

◆ Append() [3/7]

void sca::analysis::ScaDoubleList::Append ( const ScaAnyConverter rAnyConv,
const css::uno::Any &  rAny,
bool  bIgnoreEmpty 
)
protected
Parameters
rAnyConvmust be an initialized ScaAnyConmverter
bIgnoreEmptyhandling of empty Any's/strings: false = inserted as 0.0; true = omitted
Exceptions
css::uno::RuntimeException
css::lang::IllegalArgumentException

◆ Append() [4/7]

void sca::analysis::ScaDoubleList::Append ( const ScaAnyConverter rAnyConv,
const css::uno::Sequence< css::uno::Any > &  rAnySeq,
bool  bIgnoreEmpty 
)
protected
Parameters
rAnyConvmust be an initialized ScaAnyConmverter
bIgnoreEmptyhandling of empty Any's/strings: false = inserted as 0.0; true = omitted
Exceptions
css::uno::RuntimeException
css::lang::IllegalArgumentException

◆ Append() [5/7]

void sca::analysis::ScaDoubleList::Append ( const ScaAnyConverter rAnyConv,
const css::uno::Sequence< css::uno::Sequence< css::uno::Any > > &  rAnySeq,
bool  bIgnoreEmpty 
)
protected
Parameters
rAnyConvmust be an initialized ScaAnyConmverter
bIgnoreEmptyhandling of empty Any's/strings: false = inserted as 0.0; true = omitted
Exceptions
css::uno::RuntimeException
css::lang::IllegalArgumentException

◆ Append() [6/7]

void sca::analysis::ScaDoubleList::Append ( double  fValue)
inlineprotected
Exceptions
css::uno::RuntimeException
css::lang::IllegalArgumentException

Definition at line 301 of file analysishelper.hxx.

References CheckInsert(), and ListAppend().

Referenced by AnalysisAddIn::getFvschedule(), AnalysisAddIn::getGcd(), AnalysisAddIn::getLcm(), AnalysisAddIn::getMultinomial(), AnalysisAddIn::getXirr(), and AnalysisAddIn::getXnpv().

◆ Append() [7/7]

void sca::analysis::ScaDoubleList::Append ( ScaAnyConverter rAnyConv,
const css::uno::Reference< css::beans::XPropertySet > &  xOpt,
const css::uno::Sequence< css::uno::Any > &  rAnySeq 
)
Parameters
rAnyConvis an initialized or uninitialized ScaAnyConverter
bIgnoreEmptyhandling of empty Any's/strings: false = inserted as 0.0; true = omitted
Exceptions
css::uno::RuntimeException
css::lang::IllegalArgumentException

◆ CheckInsert()

bool sca::analysis::ScaDoubleList::CheckInsert ( double  fValue) const
virtual
Exceptions
css::uno::RuntimeException
css::lang::IllegalArgumentException

Reimplemented in sca::analysis::ScaDoubleListGT0, and sca::analysis::ScaDoubleListGE0.

Definition at line 1550 of file analysishelper.cxx.

Referenced by Append().

◆ Count()

sal_uInt32 sca::analysis::ScaDoubleList::Count ( ) const
inline

◆ Get()

double sca::analysis::ScaDoubleList::Get ( sal_uInt32  n) const
inline

◆ ListAppend()

void sca::analysis::ScaDoubleList::ListAppend ( double  fValue)
inlineprotected

Definition at line 297 of file analysishelper.hxx.

References maVector.

Referenced by Append().

Member Data Documentation

◆ maVector

std::vector<double> sca::analysis::ScaDoubleList::maVector
private

Definition at line 295 of file analysishelper.hxx.

Referenced by Count(), Get(), and ListAppend().


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