LibreOffice Module scaddins (master) 1
|
#include <pricing.hxx>
Public Member Functions | |
ScaPricingAddIn () | |
virtual | ~ScaPricingAddIn () override |
OUString | ScaResId (TranslateId aResId) |
virtual OUString SAL_CALL | getProgrammaticFuntionName (const OUString &aDisplayName) override |
virtual OUString SAL_CALL | getDisplayFunctionName (const OUString &aProgrammaticName) override |
virtual OUString SAL_CALL | getFunctionDescription (const OUString &aProgrammaticName) override |
virtual OUString SAL_CALL | getDisplayArgumentName (const OUString &aProgrammaticName, sal_Int32 nArgument) override |
virtual OUString SAL_CALL | getArgumentDescription (const OUString &aProgrammaticName, sal_Int32 nArgument) override |
virtual OUString SAL_CALL | getProgrammaticCategoryName (const OUString &aProgrammaticName) override |
virtual OUString SAL_CALL | getDisplayCategoryName (const OUString &aProgrammaticName) override |
virtual css::uno::Sequence< css::sheet::LocalizedName > SAL_CALL | getCompatibilityNames (const OUString &aProgrammaticName) override |
virtual void SAL_CALL | setLocale (const css::lang::Locale &eLocale) override |
virtual css::lang::Locale SAL_CALL | getLocale () override |
virtual OUString SAL_CALL | getServiceName () override |
virtual OUString SAL_CALL | getImplementationName () override |
virtual sal_Bool SAL_CALL | supportsService (const OUString &ServiceName) override |
virtual css::uno::Sequence< OUString > SAL_CALL | getSupportedServiceNames () override |
virtual double SAL_CALL | getOptBarrier (double spot, double vol, double r, double rf, double T, double strike, double barrier_low, double barrier_up, double rebate, const OUString &put_call, const OUString &in_out, const OUString &continuous, const css::uno::Any &greek) override |
virtual double SAL_CALL | getOptTouch (double spot, double vol, double r, double rf, double T, double barrier_low, double barrier_up, const OUString &for_dom, const OUString &in_out, const OUString &barriercont, const css::uno::Any &greekstr) override |
virtual double SAL_CALL | getOptProbHit (double spot, double vol, double mu, double T, double barrier_low, double barrier_up) override |
virtual double SAL_CALL | getOptProbInMoney (double spot, double vol, double mu, double T, double barrier_low, double barrier_up, const css::uno::Any &strikeval, const css::uno::Any &put_call) override |
Private Member Functions | |
void | InitDefLocales () |
const css::lang::Locale & | GetLocale (sal_uInt32 nIndex) |
void | InitData () |
OUString | GetFuncDescrStr (const TranslateId *pResId, sal_uInt16 nStrIndex) |
Private Attributes | |
css::lang::Locale | aFuncLoc |
std::unique_ptr< css::lang::Locale[]> | pDefLocales |
std::locale | aResLocale |
std::unique_ptr< sca::pricing::ScaFuncDataList > | pFuncDataList |
Definition at line 117 of file pricing.hxx.
ScaPricingAddIn::ScaPricingAddIn | ( | ) |
Definition at line 91 of file pricing.cxx.
|
overridevirtual |
Definition at line 95 of file pricing.cxx.
|
overridevirtual |
Definition at line 230 of file pricing.cxx.
|
overridevirtual |
Definition at line 281 of file pricing.cxx.
|
overridevirtual |
Definition at line 211 of file pricing.cxx.
|
overridevirtual |
Definition at line 274 of file pricing.cxx.
|
overridevirtual |
Definition at line 179 of file pricing.cxx.
|
private |
css::uno::RuntimeException |
Definition at line 130 of file pricing.cxx.
|
overridevirtual |
Definition at line 199 of file pricing.cxx.
|
overridevirtual |
Definition at line 143 of file pricing.cxx.
References MY_IMPLNAME.
|
overridevirtual |
Definition at line 165 of file pricing.cxx.
|
private |
Definition at line 114 of file pricing.cxx.
|
overridevirtual |
Definition at line 409 of file pricing.cxx.
References sca::pricing::bs::barrier(), and pc.
|
overridevirtual |
Definition at line 465 of file pricing.cxx.
References sca::pricing::bs::prob_hit().
|
overridevirtual |
Definition at line 482 of file pricing.cxx.
References sca::pricing::bs::types::Call, pc, and sca::pricing::bs::prob_in_money().
|
overridevirtual |
Definition at line 437 of file pricing.cxx.
References sca::pricing::bs::touch().
|
overridevirtual |
Definition at line 249 of file pricing.cxx.
References sca::pricing::DateTime, sca::pricing::Finance, sca::pricing::Inf, sca::pricing::Math, sca::pricing::Tech, and sca::pricing::Text.
|
overridevirtual |
Definition at line 172 of file pricing.cxx.
|
overridevirtual |
Definition at line 136 of file pricing.cxx.
References MY_SERVICE.
|
overridevirtual |
Definition at line 153 of file pricing.cxx.
References ADDIN_SERVICE, and MY_SERVICE.
|
private |
Definition at line 122 of file pricing.cxx.
References Translate::Create(), and sca::pricing::InitScaFuncDataList().
|
private |
OUString ScaPricingAddIn::ScaResId | ( | TranslateId | aResId | ) |
Definition at line 504 of file pricing.cxx.
References Translate::get().
|
overridevirtual |
Definition at line 159 of file pricing.cxx.
|
overridevirtual |
Definition at line 148 of file pricing.cxx.
References cppu::supportsService().
|
private |
Definition at line 125 of file pricing.hxx.
|
private |
Definition at line 127 of file pricing.hxx.
|
private |
Definition at line 126 of file pricing.hxx.
|
private |
Definition at line 128 of file pricing.hxx.