Analitza
Analitza::List Class Reference
#include <list.h>
Inheritance diagram for Analitza::List:
Public Member Functions | |
List (const List &v) | |
List () | |
virtual | ~List () |
virtual QVariant | accept (AbstractExpressionVisitor *e) const |
void | appendBranch (Object *) |
Object * | at (int i) const |
iterator | begin () |
const_iterator | constBegin () const |
const_iterator | constEnd () const |
virtual List * | copy () const |
iterator | end () |
iterator | erase (const iterator &it) |
bool | isEmpty () const |
virtual bool | isZero () const |
virtual bool | matches (const Object *pattern, QMap< QString, const Object * > *found) const |
bool | operator== (const List &v) const |
void | setAt (int i, Object *o) |
int | size () const |
QList< Object * > | values () const |
Public Member Functions inherited from Analitza::Object | |
virtual | ~Object () |
bool | isApply () const |
bool | isContainer () 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
Constructor & Destructor Documentation
Analitza::List::List | ( | const List & | v | ) |
Analitza::List::List | ( | ) |
|
virtual |
Member Function Documentation
|
virtual |
Returns some string depending on the visior.
Implements Analitza::Object.
void Analitza::List::appendBranch | ( | Object * | ) |
|
inline |
|
inline |
|
virtual |
- Returns
- a new and equal instance of the tree.
Implements Analitza::Object.
|
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::List::operator== | ( | const List & | v | ) | const |
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.