#include <compute.h>

Public Member Functions | |
| COperation (CValue *pLeftOperand, CValue *pRightOperand) | |
| virtual CValue * | GetCopy () const =0 |
| virtual float | Compute (const CVector3f &Point) const =0 |
| virtual CValue * | Derive (TYPE_VARIABLE Type) const =0 |
| virtual void | Print (std::ostream &) const =0 |
| virtual void | Compile (std::vector< char > &v, int &i) const =0 |
| virtual | ~COperation () |
Protected Attributes | |
| CValue * | m_pLeftOperand |
| CValue * | m_pRightOperand |
Definition at line 129 of file compute.h.
COperation simple constructor.
Definition at line 135 of file compute.h.
References m_pLeftOperand, and m_pRightOperand.
| virtual COperation::~COperation | ( | ) | [inline, virtual] |
The desctructor of the COperation objects.
Definition at line 172 of file compute.h.
References m_pLeftOperand, and m_pRightOperand.
| virtual CValue* COperation::GetCopy | ( | ) | const [pure virtual] |
| virtual float COperation::Compute | ( | const CVector3f & | Point | ) | const [pure virtual] |
| virtual CValue* COperation::Derive | ( | TYPE_VARIABLE | Type | ) | const [pure virtual] |
| virtual void COperation::Print | ( | std::ostream & | ) | const [pure virtual] |
| virtual void COperation::Compile | ( | std::vector< char > & | v, | |
| int & | i | |||
| ) | const [pure virtual] |
CValue* COperation::m_pLeftOperand [protected] |
Pointer to the left operand.
Definition at line 181 of file compute.h.
Referenced by CPow::Compile(), CLn::Compile(), CExp::Compile(), CTan::Compile(), CCos::Compile(), CSin::Compile(), CSqrt::Compile(), COpposite::Compile(), CDivision::Compile(), CProduct::Compile(), CSubstraction::Compile(), CAddition::Compile(), CPow::Compute(), CLn::Compute(), CExp::Compute(), CTan::Compute(), CCos::Compute(), CSin::Compute(), CSqrt::Compute(), COpposite::Compute(), CDivision::Compute(), CProduct::Compute(), CSubstraction::Compute(), CAddition::Compute(), COperation(), CLn::Derive(), CPow::Derive(), CExp::Derive(), CTan::Derive(), CCos::Derive(), CSin::Derive(), CSqrt::Derive(), COpposite::Derive(), CDivision::Derive(), CProduct::Derive(), CSubstraction::Derive(), CAddition::Derive(), CPow::GetCopy(), CLn::GetCopy(), CExp::GetCopy(), CTan::GetCopy(), CCos::GetCopy(), CSin::GetCopy(), CSqrt::GetCopy(), COpposite::GetCopy(), CDivision::GetCopy(), CProduct::GetCopy(), CSubstraction::GetCopy(), CAddition::GetCopy(), CPow::Print(), CLn::Print(), CExp::Print(), CTan::Print(), CCos::Print(), CSin::Print(), CSqrt::Print(), COpposite::Print(), CDivision::Print(), CProduct::Print(), CSubstraction::Print(), CAddition::Print(), and ~COperation().
CValue* COperation::m_pRightOperand [protected] |
Pointer to the right operand.
Definition at line 182 of file compute.h.
Referenced by CPow::Compile(), CDivision::Compile(), CProduct::Compile(), CSubstraction::Compile(), CAddition::Compile(), CPow::Compute(), CDivision::Compute(), CProduct::Compute(), CSubstraction::Compute(), CAddition::Compute(), COperation(), CPow::Derive(), CDivision::Derive(), CProduct::Derive(), CSubstraction::Derive(), CAddition::Derive(), CPow::GetCopy(), CDivision::GetCopy(), CProduct::GetCopy(), CSubstraction::GetCopy(), CAddition::GetCopy(), CPow::Print(), CDivision::Print(), CProduct::Print(), CSubstraction::Print(), CAddition::Print(), and ~COperation().
1.5.4