Analitza
Analitza::Apply Class Reference
#include <apply.h>
Inheritance diagram for Analitza::Apply:
Public Member Functions | |
Apply () | |
virtual | ~Apply () |
virtual QVariant | accept (AbstractExpressionVisitor *exp) const |
void | addBVar (Analitza::Ci *bvar) |
void | appendBranch (Object *o) |
Object * | at (int p) const |
iterator | begin () |
QVector< Ci * > | bvarCi () const |
QStringList | bvarStrings () const |
const_iterator | constBegin () const |
const_iterator | constEnd () const |
virtual Apply * | copy () const |
int | countValues () const |
Object * | dlimit () const |
Object *& | dlimit () |
Object * | domain () const |
Object *& | domain () |
iterator | end () |
const Operator & | firstOperator () const |
iterator | firstValue () |
const_iterator | firstValue () const |
bool | hasBoundings () const |
bool | hasBVars () const |
void | insertBranch (Apply::iterator before, Object *o) |
bool | isEmpty () const |
bool | isUnary () const |
virtual bool | matches (const Analitza::Object *exp, QMap< QString, const Analitza::Object * > *found) const |
bool | operator== (const Apply &a) const |
void | prependBranch (Object *o) |
Object * | ulimit () const |
Object *& | ulimit () |
QVector< Object * > | values () 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 |
Public Attributes | |
QVector< Object * > | m_params |
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
This class is the one that will correspond to MathML apply tags.
Stores and helps to retrieve any data it has inside like bvars, operators and values.
Constructor & Destructor Documentation
Analitza::Apply::Apply | ( | ) |
|
virtual |
Member Function Documentation
|
virtual |
Returns some string depending on the visior.
Implements Analitza::Object.
void Analitza::Apply::addBVar | ( | Analitza::Ci * | bvar | ) |
Adds bvar
into the list of bvars.
void Analitza::Apply::appendBranch | ( | Object * | o | ) |
Object* Analitza::Apply::at | ( | int | p | ) | const |
QStringList Analitza::Apply::bvarStrings | ( | ) | const |
Returns the apply's bvars names.
|
virtual |
- Returns
- a new and equal instance of the tree.
Implements Analitza::Object.
|
inline |
|
inline |
- Deprecated:
- should use begin() now
bool Analitza::Apply::hasBoundings | ( | ) | const |
- Returns
- if there's any bounding specified
|
inline |
|
inline |
|
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.
bool Analitza::Apply::operator== | ( | const Apply & | a | ) | const |
void Analitza::Apply::prependBranch | ( | Object * | o | ) |
Member Data Documentation
The documentation for this class was generated from the following file:
This file is part of the KDE documentation.
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
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.