|
| DynamicHierarchy () |
|
| DynamicHierarchy (const Expression *const *operands, int numberOfOperands, bool cloneOperands=true) |
|
| DynamicHierarchy (const Expression *operand1, const Expression *operand2, bool cloneOperands=true) |
|
| ~DynamicHierarchy () |
|
| DynamicHierarchy (const DynamicHierarchy &other)=delete |
|
| DynamicHierarchy (DynamicHierarchy &&other)=delete |
|
DynamicHierarchy & | operator= (const DynamicHierarchy &other)=delete |
|
DynamicHierarchy & | operator= (DynamicHierarchy &&other)=delete |
|
int | numberOfOperands () const override |
|
const Expression *const * | operands () const override |
|
void | removeOperand (const Expression *e, bool deleteAfterRemoval=true) |
|
void | addOperands (const Expression *const *operands, int numberOfOperands) |
|
void | addOperand (Expression *operand) |
|
void | addOperandAtIndex (Expression *operand, int index) |
|
void | mergeOperands (DynamicHierarchy *d) |
|
void | sortOperands (ExpressionOrder order, bool canBeInterrupted) |
|
Expression * | squashUnaryHierarchy () |
|
virtual | ~Expression ()=default |
|
virtual Expression * | clone () const =0 |
|
virtual Type | type () const =0 |
|
const Expression * | operand (int i) const |
|
Expression * | editableOperand (int i) |
|
Expression * | replaceWith (Expression *newOperand, bool deleteAfterReplace=true) |
|
void | replaceOperand (const Expression *oldOperand, Expression *newOperand, bool deleteOldOperand=true) |
|
void | detachOperand (const Expression *e) |
|
void | detachOperands () |
|
void | swapOperands (int i, int j) |
|
Expression * | parent () const |
|
void | setParent (Expression *parent) |
|
bool | hasAncestor (const Expression *e) const |
|
virtual Sign | sign () const |
|
bool | recursivelyMatches (ExpressionTest test, Context &context) const |
|
bool | isApproximate (Context &context) const |
|
virtual float | characteristicXRange (Context &context, AngleUnit angleUnit=AngleUnit::Default) const |
|
virtual int | polynomialDegree (char symbolName) const |
|
bool | isIdenticalTo (const Expression *e) const |
|
ExpressionLayout * | createLayout (PrintFloat::Mode floatDisplayMode=PrintFloat::Mode::Default, ComplexFormat complexFormat=ComplexFormat::Default) const |
|
virtual int | writeTextInBuffer (char *buffer, int bufferSize, int numberOfSignificantDigits=PrintFloat::k_numberOfStoredSignificantDigits) const =0 |
|
template<typename T > |
Expression * | approximate (Context &context, AngleUnit angleUnit=AngleUnit::Default) const |
|
template<typename T > |
T | approximateToScalar (Context &context, AngleUnit angleUnit=AngleUnit::Default) const |
|
Definition at line 10 of file dynamic_hierarchy.h.