Analitza
Analitza::CustomObject Class Reference
#include <customobject.h>
Inheritance diagram for Analitza::CustomObject:

Public Types | |
typedef void(* | destructor )(const QVariant &v) |
![]() | |
enum | ObjectType { none =0, value, variable, vector, list, apply, oper, container, matrix, matrixrow, custom } |
Public Member Functions | |
CustomObject (const QVariant &v, destructor f) | |
virtual | ~CustomObject () |
virtual QVariant | accept (AbstractExpressionVisitor *exp) const |
virtual Object * | copy () const |
virtual bool | matches (const Analitza::Object *exp, QMap< QString, const Analitza::Object * > *found) const |
bool | operator== (const CustomObject &obj) const |
QVariant | value () const |
![]() | |
virtual | ~Object () |
bool | isApply () const |
bool | isContainer () const |
virtual bool | isZero () const |
QString | toString () const |
enum ObjectType | type () const |
Additional Inherited Members | |
![]() | |
Object (enum ObjectType t) | |
![]() | |
const ObjectType | m_type |
Detailed Description
Definition at line 39 of file customobject.h.
Member Typedef Documentation
Definition at line 42 of file customobject.h.
Constructor & Destructor Documentation
|
explicit |
|
virtual |
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.
|
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::CustomObject::operator== | ( | const CustomObject & | obj | ) | const |
|
inline |
Definition at line 51 of file customobject.h.
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.