|
C3D Toolkit
Kernel - 118069, Vision - 2.16.7.1844
|
Operation with three arguments as node of syntax tree. More...
#include <pars_equation_tree.h>
Inheritance diagram for BTreeOperation3Args:
Collaboration diagram for BTreeOperation3Args:Public Member Functions | |
| BteNodeType | IsA () const override |
| Get type of a tree node. | |
| BTreeNode * | Duplicate () const override |
| Create a copy of the object. | |
| bool | IsLine () const override |
| Function is linear. | |
| EquTreeResCode | GetValue (double &fVal) const override |
| Calculate value. More... | |
| EquTreeResCode | GetStringValue (c3d::string_t &sVal) const override |
| Calculate string value. More... | |
| EquTreeResCode | CalculateDerives (double &, double &, double &, double &, const VarsDerives &) const override |
| Calculate a value and derivatives. More... | |
| void | GetUsedVariables (SSArray< ItTreeVariable * > &, SSArray< ItUserFunc * > &) const override |
| Get the used variables. More... | |
| bool | SetValue (double, const std::set< ItTreeVariable * > &) override |
| Set value. More... | |
| void | ReplaceParVariable (const c3d::string_t &varName, ItTreeVariable &newVar) override |
| Replace all variables with name 'varName' by variable 'newVar' | |
| void | ReplaceParVariable (const ItTreeVariable &, const BTreeNode &) override |
| Replace a node. More... | |
| bool | GetDefRange (DefRange &, ItTreeVariable &, bool stopOnBreak) const override |
| Domain. More... | |
| BTreeNodeSPtr | FixVars (const RPArray< ItTreeVariable > &unfixed, IFC_Array< ItUserFunc > &newFuncs, EquTreeResCode &) const override |
| Fixed variables. More... | |
| BTreeNodeSPtr | GetCalcEquivalent () const override |
| Get equivalent node. | |
| void | GetString (c3d::string_t &str) const override |
| Get string. More... | |
| bool | IsEqual (const BTreeNode &other, const EqualVarsMap &equVars) const override |
| Whether the node is equal to the given node. More... | |
| bool | IsEqual (const BTreeOperation3Args &other, const EqualVarsMap &equVars) const override |
| Whether the node is equal to the given node. More... | |
| size_t | SizeOf () const override |
| Get size in bytes. | |
Public Member Functions inherited from BTreeNode | |
| EquTreeResCode | CalculateDerives (const ItCoord *coord, double &v, double &fd, double &sd, double &td) const |
| Calculate a value and derivatives. More... | |
| virtual void | ReplaceIntVariable (const c3d::string_t &, ItIntervalTreeVariable &) |
| Replace variables. More... | |
| bool | GetExtremumPoints (const c3d::DoublePair &interval, ItTreeVariable &var, c3d::DoubleVector &points) |
| Get value of parameter of extremum. More... | |
| virtual bool | IsEqual (const BTreeConst &, const EqualVarsMap &) const |
| Whether the node is equal to the given node. More... | |
| virtual bool | IsEqual (const BTreeIdent &, const EqualVarsMap &) const |
| Whether the node is equal to the given node. More... | |
| virtual bool | IsEqual (const BTreeFunction &, const EqualVarsMap &) const |
| Whether the node is equal to the given node. More... | |
| virtual bool | IsEqual (const BTreeOperation &, const EqualVarsMap &) const |
| Whether the node is equal to the given node. More... | |
| virtual bool | IsEqual (const BTreeOperation1Arg &, const EqualVarsMap &) const |
| Whether the node is equal to the given node. More... | |
| virtual bool | IsEqual (const BTreeUserFunc &, const EqualVarsMap &) const |
| Whether the node is equal to the given node. More... | |
Public Member Functions inherited from TapeBase | |
| TapeBase (RegistrableRec regs=noRegistrable) | |
| Constructor. | |
| TapeBase (const TapeBase &) | |
| Copy-constructor. | |
| virtual | ~TapeBase () |
| Destructor. | |
| RegistrableRec | GetRegistrable () const |
| Whether the stream class is registrable. | |
| void | SetRegistrable (RegistrableRec regs=registrable) const |
| Set the state of registration of the stream class. | |
| virtual const char * | GetPureName (const VersionContainer &) const |
| Get the class name. | |
| virtual bool | IsFamilyRegistrable () const |
| Whether the object belongs to a registrable family. | |
Public Member Functions inherited from MbRefItem | |
| virtual MbeRefType | RefType () const |
| Registration type (for copying, duplication). | |
| void | AddRegistrator (MbRegDuplicate *reg) const |
| Add the register. | |
| void | RemoveRegistrator (MbRegDuplicate *reg) const |
| Remove the register. | |
| refcount_t | GetUseCount () const |
| Get count of references (get count of owners of an object). | |
| refcount_t | AddRef () const |
| Increase count of references by one. | |
| refcount_t | DecRef () const |
| Decrease count of references by one. | |
| refcount_t | Release () const |
| Decrease count of references by one and if count of references became zero, then remove itself. | |
Additional Inherited Members | |
Public Types inherited from BTreeNode | |
| typedef std::map< ItTreeVariable *, ItTreeVariable * > | EqualVarsMap |
| A set of pairs of variables. | |
| typedef std::map< const ItCoord *, DerivesValues > | VarsDerives |
| A set of pairs: coordinate - value and derivatives. | |
Public Attributes inherited from BTreeNode | |
| BteNodeType | type |
| A type of node. | |
Protected Member Functions inherited from BTreeNode | |
| BTreeNode () | |
| Default constructor. | |
Protected Member Functions inherited from MbRefItem | |
| MbRefItem () | |
| Constructor without parameters. | |
Protected Attributes inherited from BTreeNode | |
| VarsDerives | varDers |
| Working variables. | |
Operation with three arguments as node of syntax tree.
Node of binary tree denoting operation with three arguments.
|
overridevirtual |
Calculate value.
Calculate value of node.
| [out] | fValue | - Value. |
Implements BTreeNode.
|
overridevirtual |
Calculate string value.
Calculate string value of node.
| [out] | varName | - Value. |
Reimplemented from BTreeNode.
|
overridevirtual |
Calculate a value and derivatives.
Calculate a value and derivatives.
| [out] | fValue | - Value. |
| [out] | derive1 | - The first derivative. |
| [out] | derive2 | - The second derivative. |
| [out] | derive3 | - The third derivative. |
| [in] | ders | - Set of values and derivatives. |
Implements BTreeNode.
|
overridevirtual |
Get the used variables.
Get the used variables.
| [out] | arr | - Variables. |
| [out] | funcs | - User functions. |
Implements BTreeNode.
|
inlineoverridevirtual |
Set value.
Set 'v' value to a tree node.
| [in] | v | - Desirable value. |
| [in] | unfixedDVars | - Variables which values can be changed. |
Implements BTreeNode.
|
overridevirtual |
Replace a node.
Replace a node with a copy of a new one if the given variable is used.
| [out] | var | - Variable. |
| [out] | subTree | - New node. |
Implements BTreeNode.
|
overridevirtual |
Domain.
Domain.
| [in,out] | defRange | - Domain. |
| [out] | var | - Variable. |
| [in] | stopOnBreak | - Not to search the discontinuities in the definition domain. |
Implements BTreeNode.
|
overridevirtual |
Fixed variables.
Fixed variables.
| [in] | unfixedVars | - A set of unfixed variables. If variable was found in set, then fix the copy. |
| [in] | newFuncs | - User functions. |
| [out] | code | - Result codes of string parsing. |
Implements BTreeNode.
|
overridevirtual |
|
inlineoverridevirtual |
Whether the node is equal to the given node.
Whether the node is equal to the given node.
| [in] | other | - Node for comparison. |
| [in] | varsMap | - A set of pairs of equal variables. |
Implements BTreeNode.
|
overridevirtual |
Whether the node is equal to the given node.
Whether the node is equal to the given node.
Reimplemented from BTreeNode.