LibreOffice Module sccomp (master) 1
|
#include <SolverComponent.hxx>
Public Member Functions | |
SolverComponent () | |
virtual | ~SolverComponent () override |
virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL | getPropertySetInfo () override |
virtual ::cppu::IPropertyArrayHelper &SAL_CALL | getInfoHelper () override |
virtual ::cppu::IPropertyArrayHelper * | createArrayHelper () const override |
virtual css::uno::Reference< css::sheet::XSpreadsheetDocument > SAL_CALL | getDocument () override |
virtual void SAL_CALL | setDocument (const css::uno::Reference< css::sheet::XSpreadsheetDocument > &_document) override |
virtual css::table::CellAddress SAL_CALL | getObjective () override |
virtual void SAL_CALL | setObjective (const css::table::CellAddress &_objective) override |
virtual css::uno::Sequence< css::table::CellAddress > SAL_CALL | getVariables () override |
virtual void SAL_CALL | setVariables (const css::uno::Sequence< css::table::CellAddress > &_variables) override |
virtual css::uno::Sequence< css::sheet::SolverConstraint > SAL_CALL | getConstraints () override |
virtual void SAL_CALL | setConstraints (const css::uno::Sequence< css::sheet::SolverConstraint > &_constraints) override |
virtual sal_Bool SAL_CALL | getMaximize () override |
virtual void SAL_CALL | setMaximize (sal_Bool _maximize) override |
virtual sal_Bool SAL_CALL | getSuccess () override |
virtual double SAL_CALL | getResultValue () override |
virtual css::uno::Sequence< double > SAL_CALL | getSolution () override |
virtual void SAL_CALL | solve () override=0 |
virtual OUString SAL_CALL | getComponentDescription () override=0 |
virtual OUString SAL_CALL | getStatusDescription () override |
virtual OUString SAL_CALL | getPropertyDescription (const OUString &aPropertyName) override |
virtual OUString SAL_CALL | getImplementationName () override=0 |
virtual sal_Bool SAL_CALL | supportsService (const OUString &ServiceName) override |
virtual css::uno::Sequence< OUString > SAL_CALL | getSupportedServiceNames () override |
Public Member Functions inherited from comphelper::OMutexAndBroadcastHelper | |
OMutexAndBroadcastHelper () | |
::osl::Mutex & | GetMutex () |
::cppu::OBroadcastHelper & | GetBroadcastHelper () |
const ::cppu::OBroadcastHelper & | GetBroadcastHelper () const |
Public Member Functions inherited from comphelper::OPropertyContainer | |
virtual | ~OPropertyContainer () |
Public Member Functions inherited from comphelper::OPropertyArrayUsageHelper< SolverComponent > | |
OPropertyArrayUsageHelper () | |
virtual | ~OPropertyArrayUsageHelper () |
::cppu::IPropertyArrayHelper * | getArrayHelper () |
Static Protected Member Functions | |
static OUString | GetResourceString (TranslateId aId) |
static css::uno::Reference< css::table::XCell > | GetCell (const css::uno::Reference< css::sheet::XSpreadsheetDocument > &xDoc, const css::table::CellAddress &rPos) |
static void | SetValue (const css::uno::Reference< css::sheet::XSpreadsheetDocument > &xDoc, const css::table::CellAddress &rPos, double fValue) |
static double | GetValue (const css::uno::Reference< css::sheet::XSpreadsheetDocument > &xDoc, const css::table::CellAddress &rPos) |
Static Protected Member Functions inherited from comphelper::OPropertyContainer | |
static css::uno::Sequence< css::uno::Type > | getBaseTypes () |
Static Protected Member Functions inherited from comphelper::OPropertyArrayUsageHelper< SolverComponent > | |
static std::mutex & | theMutex () |
Protected Attributes | |
css::uno::Reference< css::sheet::XSpreadsheetDocument > | mxDoc |
css::table::CellAddress | maObjective |
css::uno::Sequence< css::table::CellAddress > | maVariables |
css::uno::Sequence< css::sheet::SolverConstraint > | maConstraints |
bool | mbMaximize |
bool | mbNonNegative |
bool | mbInteger |
sal_Int32 | mnTimeout |
sal_Int32 | mnEpsilonLevel |
bool | mbLimitBBDepth |
bool | mbSuccess |
double | mfResultValue |
css::uno::Sequence< double > | maSolution |
OUString | maStatus |
Protected Attributes inherited from comphelper::OMutexAndBroadcastHelper | |
::osl::Mutex | m_aMutex |
::cppu::OBroadcastHelper | m_aBHelper |
Additional Inherited Members | |
Protected Member Functions inherited from comphelper::OPropertyContainer | |
OPropertyContainer (::cppu::OBroadcastHelper &_rBHelper) | |
virtual sal_Bool SAL_CALL | convertFastPropertyValue (css::uno::Any &rConvertedValue, css::uno::Any &rOldValue, sal_Int32 nHandle, const css::uno::Any &rValue) override |
virtual void SAL_CALL | setFastPropertyValue_NoBroadcast (sal_Int32 nHandle, const css::uno::Any &rValue) override |
virtual void SAL_CALL | getFastPropertyValue (css::uno::Any &rValue, sal_Int32 nHandle) const override |
virtual css::uno::Any SAL_CALL | getFastPropertyValue (sal_Int32 nHandle) override final |
virtual void | getFastPropertyValue (std::unique_lock< std::mutex > &rGuard, css::uno::Any &rValue, sal_Int32 nHandle) const =0 |
virtual void SAL_CALL | setFastPropertyValue (sal_Int32 nHandle, const css::uno::Any &rValue) override final |
Protected Member Functions inherited from comphelper::OPropertyContainerHelper | |
OPropertyContainerHelper () | |
~OPropertyContainerHelper () | |
void | registerProperty (const OUString &_rName, sal_Int32 _nHandle, sal_Int32 _nAttributes, void *_pPointerToMember, const css::uno::Type &_rMemberType) |
void | registerMayBeVoidProperty (const OUString &_rName, sal_Int32 _nHandle, sal_Int32 _nAttributes, css::uno::Any *_pPointerToMember, const css::uno::Type &_rExpectedType) |
void | registerPropertyNoMember (const OUString &_rName, sal_Int32 _nHandle, sal_Int32 _nAttributes, const css::uno::Type &_rType, css::uno::Any const &_pInitialValue) |
void | revokeProperty (sal_Int32 _nHandle) |
bool | isRegisteredProperty (sal_Int32 _nHandle) const |
bool | isRegisteredProperty (const OUString &_rName) const |
bool | convertFastPropertyValue (css::uno::Any &rConvertedValue, css::uno::Any &rOldValue, sal_Int32 nHandle, const css::uno::Any &rValue) |
void | setFastPropertyValue (sal_Int32 nHandle, const css::uno::Any &rValue) |
void | getFastPropertyValue (css::uno::Any &rValue, sal_Int32 nHandle) const |
void | describeProperties (css::uno::Sequence< css::beans::Property > &_rProps) const |
const css::beans::Property & | getProperty (const OUString &_rName) const |
virtual ::cppu::IPropertyArrayHelper * | createArrayHelper () const =0 |
Static Protected Attributes inherited from comphelper::OPropertyArrayUsageHelper< SolverComponent > | |
static sal_Int32 | s_nRefCount |
::cppu::IPropertyArrayHelper * | s_pProps |
Definition at line 62 of file SolverComponent.hxx.
SolverComponent::SolverComponent | ( | ) |
Definition at line 91 of file SolverComponent.cxx.
References mbInteger, mbLimitBBDepth, mbNonNegative, mbSuccess, mnEpsilonLevel, mnTimeout, comphelper::OPropertyContainerHelper::registerProperty(), STR_EPSILONLEVEL, STR_INTEGER, STR_LIMITBBDEPTH, STR_NONNEGATIVE, and STR_TIMEOUT.
|
overridevirtual |
Definition at line 110 of file SolverComponent.cxx.
|
overridevirtual |
Implements comphelper::OPropertyArrayUsageHelper< SolverComponent >.
Definition at line 117 of file SolverComponent.cxx.
|
staticprotected |
Definition at line 71 of file SolverComponent.cxx.
Referenced by GetValue(), and SetValue().
|
overridepure virtual |
|
overridevirtual |
Definition at line 205 of file SolverComponent.cxx.
References maConstraints.
|
overridevirtual |
Definition at line 175 of file SolverComponent.cxx.
References mxDoc.
|
overridepure virtual |
|
override |
Definition at line 124 of file SolverComponent.cxx.
References comphelper::OPropertyArrayUsageHelper< SolverComponent >::getArrayHelper().
Referenced by getPropertyDescription(), and getPropertySetInfo().
|
overridevirtual |
Definition at line 215 of file SolverComponent.cxx.
References mbMaximize.
|
overridevirtual |
Definition at line 185 of file SolverComponent.cxx.
References maObjective.
|
overridevirtual |
Definition at line 141 of file SolverComponent.cxx.
References cppu::IPropertyArrayHelper::getHandleByName(), getInfoHelper(), GetResourceString(), and nHandle.
|
overridevirtual |
Definition at line 129 of file SolverComponent.cxx.
References getInfoHelper().
|
staticprotected |
Definition at line 44 of file SolverComponent.cxx.
References Translate::Create(), and Translate::get().
Referenced by getPropertyDescription().
|
overridevirtual |
Definition at line 232 of file SolverComponent.cxx.
References mfResultValue.
|
overridevirtual |
Definition at line 237 of file SolverComponent.cxx.
References maSolution.
|
overridevirtual |
Definition at line 136 of file SolverComponent.cxx.
References maStatus.
|
overridevirtual |
Definition at line 227 of file SolverComponent.cxx.
References mbSuccess.
|
overridevirtual |
Definition at line 249 of file SolverComponent.cxx.
|
staticprotected |
Definition at line 85 of file SolverComponent.cxx.
References GetCell().
|
overridevirtual |
Definition at line 195 of file SolverComponent.cxx.
References maVariables.
|
overridevirtual |
Definition at line 210 of file SolverComponent.cxx.
References maConstraints.
|
overridevirtual |
Definition at line 180 of file SolverComponent.cxx.
References mxDoc.
|
overridevirtual |
Definition at line 220 of file SolverComponent.cxx.
References mbMaximize.
|
overridevirtual |
Definition at line 190 of file SolverComponent.cxx.
References maObjective.
|
staticprotected |
Definition at line 79 of file SolverComponent.cxx.
References GetCell().
|
overridevirtual |
Definition at line 200 of file SolverComponent.cxx.
References maVariables.
|
overridepure virtual |
|
overridevirtual |
Definition at line 244 of file SolverComponent.cxx.
References cppu::supportsService().
|
protected |
Definition at line 72 of file SolverComponent.hxx.
Referenced by getConstraints(), and setConstraints().
|
protected |
Definition at line 70 of file SolverComponent.hxx.
Referenced by getObjective(), and setObjective().
|
protected |
Definition at line 83 of file SolverComponent.hxx.
Referenced by getSolution().
|
protected |
Definition at line 84 of file SolverComponent.hxx.
Referenced by getStatusDescription().
|
protected |
Definition at line 71 of file SolverComponent.hxx.
Referenced by getVariables(), and setVariables().
|
protected |
Definition at line 76 of file SolverComponent.hxx.
Referenced by SolverComponent().
|
protected |
Definition at line 79 of file SolverComponent.hxx.
Referenced by SolverComponent().
|
protected |
Definition at line 73 of file SolverComponent.hxx.
Referenced by getMaximize(), and setMaximize().
|
protected |
Definition at line 75 of file SolverComponent.hxx.
Referenced by SolverComponent().
|
protected |
Definition at line 81 of file SolverComponent.hxx.
Referenced by getSuccess().
|
protected |
Definition at line 82 of file SolverComponent.hxx.
Referenced by getResultValue().
|
protected |
Definition at line 78 of file SolverComponent.hxx.
Referenced by SolverComponent().
|
protected |
Definition at line 77 of file SolverComponent.hxx.
Referenced by SolverComponent().
|
protected |
Definition at line 69 of file SolverComponent.hxx.
Referenced by getDocument(), and setDocument().