#include <cellfuncobj.hxx>


Public Member Functions | |
| CellFuncObj (::scsolver::CalcInterface *pCalc) | |
| virtual | ~CellFuncObj () throw () |
| virtual const ::std::vector < double > & | getVars () const |
| virtual void | setVars (const std::vector< double > &vars) const |
| virtual void | setVar (size_t index, double var) const |
| virtual double | eval () const |
| virtual const std::string | getFuncString () const |
| void | setTargetCell (const ::com::sun::star::table::CellAddress &addr) |
| void | appendDecVarCell (const ::com::sun::star::table::CellAddress &addr) |
Private Member Functions | |
| CellFuncObj () | |
Private Attributes | |
| ::std::vector< double > | mFakeVars |
| ::std::auto_ptr < CellFuncObjImpl > | m_pImpl |
Definition at line 49 of file cellfuncobj.hxx.
| scsolver::numeric::CellFuncObj::CellFuncObj | ( | ::scsolver::CalcInterface * | pCalc | ) |
| scsolver::numeric::CellFuncObj::~CellFuncObj | ( | ) | throw () [virtual] |
Definition at line 66 of file cellfuncobj.cxx.
| scsolver::numeric::CellFuncObj::CellFuncObj | ( | ) | [private] |
| const vector< double > & scsolver::numeric::CellFuncObj::getVars | ( | ) | const [virtual] |
Reimplemented from scsolver::numeric::BaseFuncObj.
Definition at line 70 of file cellfuncobj.cxx.
References mFakeVars.
| virtual void scsolver::numeric::CellFuncObj::setVars | ( | const std::vector< double > & | vars | ) | const [virtual] |
| void scsolver::numeric::CellFuncObj::setVar | ( | size_t | index, | |
| double | var | |||
| ) | const [virtual] |
Reimplemented from scsolver::numeric::BaseFuncObj.
Definition at line 89 of file cellfuncobj.cxx.
References m_pImpl.
| double scsolver::numeric::CellFuncObj::eval | ( | ) | const [virtual] |
Implements scsolver::numeric::BaseFuncObj.
Definition at line 97 of file cellfuncobj.cxx.
References m_pImpl.
| const std::string scsolver::numeric::CellFuncObj::getFuncString | ( | ) | const [virtual] |
Return a display-friendly function string.
Implements scsolver::numeric::BaseFuncObj.
Definition at line 102 of file cellfuncobj.cxx.
References m_pImpl.
| void scsolver::numeric::CellFuncObj::setTargetCell | ( | const ::com::sun::star::table::CellAddress & | addr | ) |
Referenced by scsolver::NlpModelBuilderImpl::getModel().
| void scsolver::numeric::CellFuncObj::appendDecVarCell | ( | const ::com::sun::star::table::CellAddress & | addr | ) |
Referenced by scsolver::NlpModelBuilderImpl::getModel().
::std::vector<double> scsolver::numeric::CellFuncObj::mFakeVars [private] |
::std::auto_ptr<CellFuncObjImpl> scsolver::numeric::CellFuncObj::m_pImpl [private] |
1.5.3