Analitza
#include <variable.h>
Public Member Functions | |
Ci (const QString &b) | |
~Ci () | |
virtual QVariant | accept (AbstractExpressionVisitor *) const |
Ci * | copy () const |
int | depth () const |
bool | isFunction () const |
virtual bool | matches (const Object *pattern, QMap< QString, const Object * > *found) const |
QString | name () const |
bool | operator== (const Ci &var) const |
void | setBVarDepth (int depth) |
void | setFunction (bool f) |
void | setName (const QString &newName) |
QString | toHtml () const |
QString | toMathML () const |
Public Member Functions inherited from Analitza::Object | |
virtual | ~Object () |
bool | isApply () const |
bool | isContainer () const |
virtual bool | isZero () const |
QString | toString () const |
enum ObjectType | type () const |
Additional Inherited Members | |
Public Types inherited from Analitza::Object | |
enum | ObjectType { none =0, value, variable, vector, list, apply, oper, container, matrix, matrixrow, custom } |
Protected Member Functions inherited from Analitza::Object | |
Object (enum ObjectType t) | |
Protected Attributes inherited from Analitza::Object | |
const ObjectType | m_type |
Detailed Description
A variable object, name refers to MathML standard.
Definition at line 34 of file variable.h.
Constructor & Destructor Documentation
|
explicit |
Constructor.
Creates a variable with a b
name
Analitza::Ci::~Ci | ( | ) |
Member Function Documentation
|
virtual |
Returns some string depending on the visior.
Implements Analitza::Object.
|
virtual |
- Returns
- a new and equal instance of the tree.
Implements Analitza::Object.
|
inline |
Definition at line 65 of file variable.h.
|
inline |
Returns whether it is a variable that has to be a function.
Definition at line 52 of file variable.h.
|
virtual |
exp
is the tree that we will compare to, found
is where we will pass the variables store the results.
It will return whether the object follows the pattern
structure.
Implements Analitza::Object.
|
inline |
Returns the variable name.
Definition at line 43 of file variable.h.
|
inline |
Returns whether var
name is equal to this variable one.
Definition at line 46 of file variable.h.
|
inline |
Definition at line 64 of file variable.h.
|
inline |
Sets whether it is a function.
Definition at line 49 of file variable.h.
|
inline |
Definition at line 67 of file variable.h.
QString Analitza::Ci::toHtml | ( | ) | const |
Returns the HTML representation of the variable.
QString Analitza::Ci::toMathML | ( | ) | const |
Returns the MathML representation of the variable.
The documentation for this class was generated from the following file:
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:11:37 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.