Analitza
#include <container.h>
Public Types | |
enum | ContainerType { none =0, math, declare, lambda, bvar, uplimit, downlimit, piece, piecewise, otherwise, domainofapplication } |
Public Types inherited from Analitza::Object | |
enum | ObjectType { none =0, value, variable, vector, list, apply, oper, container, matrix, matrixrow, custom } |
Static Public Member Functions | |
static ContainerType | toContainerType (const QString &tag) |
Public Attributes | |
QList< Object * > | m_params |
Additional Inherited Members | |
Protected Member Functions inherited from Analitza::Object | |
Object (enum ObjectType t) | |
Protected Attributes inherited from Analitza::Object | |
const ObjectType | m_type |
Detailed Description
Container represents special tags of MathML called containers.
This class is the one that will correspond to MathML container. e.g. apply, mathml, bvar, uplimit...
Definition at line 44 of file container.h.
Member Enumeration Documentation
Is used to describe Container objects in reference to the MathML standard.
Definition at line 49 of file container.h.
Constructor & Destructor Documentation
|
inline |
Analitza::Container::Container | ( | const Container & | c | ) |
Copy constructor, copies all of the branches derivated on it.
|
inlinevirtual |
Member Function Documentation
|
virtual |
Returns some string depending on the visior.
Implements Analitza::Object.
|
inline |
Returns the begin iterator on the contained object list.
Definition at line 102 of file container.h.
Returns a QStringList where we have all of the bvar in the container.
int Analitza::Container::bvarCount | ( | ) | const |
- Returns
- how many bvars are there in the container
QStringList Analitza::Container::bvarStrings | ( | ) | const |
Returns a QStringList where we have all of the bvar in the container.
|
inline |
Returns the begin iterator on the contained object list.
Definition at line 105 of file container.h.
|
inline |
Returns the end iterator on the contained object list.
Definition at line 108 of file container.h.
|
inline |
Returns the type of the container.
Definition at line 81 of file container.h.
|
virtual |
- Returns
- a new and equal instance of the tree.
Implements Analitza::Object.
|
inline |
Returns the end iterator on the contained object list.
Definition at line 111 of file container.h.
const Container* Analitza::Container::extractType | ( | Container::ContainerType | t | ) | const |
|
inline |
Adds a o
branch right after before
of the Container.
Definition at line 93 of file container.h.
|
inline |
Returns whether it is an empty container.
Definition at line 114 of file container.h.
bool Analitza::Container::isNumber | ( | ) | const |
- Returns
- Returns whether it provides a numerical result instead of information.
|
virtual |
Reimplemented from Analitza::Object.
|
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::Container::operator== | ( | const Container & | c | ) | const |
Returns whether c
is equal or not.
|
inline |
Sets the container type to c
.
Definition at line 78 of file container.h.
QString Analitza::Container::tagName | ( | ) | const |
- Returns
- Returns the string associated to the container type.
|
static |
Converts a tag
to a containerType.
Member Data Documentation
Definition at line 134 of file container.h.
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.