• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdeedu API Reference
  • KDE Home
  • Contact Us
 

Analitza

  • Analitza
  • CustomObject
Public Types | Public Member Functions | List of all members
Analitza::CustomObject Class Reference
Analitza

#include <customobject.h>

Inheritance diagram for Analitza::CustomObject:
Inheritance graph
[legend]

Public Types

typedef void(* destructor )(const QVariant &v)
 
- Public Types inherited from Analitza::Object
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
 
- 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

- Protected Member Functions inherited from Analitza::Object
 Object (enum ObjectType t)
 
- Protected Attributes inherited from Analitza::Object
const ObjectType m_type
 

Detailed Description

Definition at line 39 of file customobject.h.

Member Typedef Documentation

typedef void(* Analitza::CustomObject::destructor)(const QVariant &v)

Definition at line 42 of file customobject.h.

Constructor & Destructor Documentation

Analitza::CustomObject::CustomObject ( const QVariant &  v,
destructor  f 
)
explicit
virtual Analitza::CustomObject::~CustomObject ( )
virtual

Member Function Documentation

virtual QVariant Analitza::CustomObject::accept ( AbstractExpressionVisitor *  exp) const
virtual

Returns some string depending on the visior.

Implements Analitza::Object.

virtual Object* Analitza::CustomObject::copy ( ) const
virtual
Returns
a new and equal instance of the tree.

Implements Analitza::Object.

virtual bool Analitza::CustomObject::matches ( const Analitza::Object *  exp,
QMap< QString, const Analitza::Object * > *  found 
) const
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
QVariant Analitza::CustomObject::value ( ) const
inline

Definition at line 51 of file customobject.h.


The documentation for this class was generated from the following file:
  • customobject.h
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

KDE's Doxygen guidelines are available online.

Analitza

Skip menu "Analitza"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Modules
  • Related Pages

kdeedu API Reference

Skip menu "kdeedu API Reference"
  • Analitza
  •     lib
  • kalgebra
  • kalzium
  •   libscience
  • kanagram
  • kig
  •   lib
  • klettres
  • marble
  • parley
  • rocs
  •   App
  •   RocsCore
  •   VisualEditor
  •   stepcore

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal