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

Analitza

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

#include <variable.h>

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

Public Member Functions

 Ci (const QString &b)
 
 ~Ci ()
 
virtual QVariant accept (AbstractExpressionVisitor *) const
 
Ci * copy () const
 
int depth () const
 
bool isFunction () const
 
virtual bool matches (const Object *pattern, QMap< QString, const Object * > *found) const
 
QString name () const
 
bool operator== (const Ci &var) const
 
void setBVarDepth (int depth)
 
void setFunction (bool f)
 
void setName (const QString &newName)
 
QString toHtml () const
 
QString toMathML () 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

- 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

A variable object, name refers to MathML standard.

Definition at line 34 of file variable.h.

Constructor & Destructor Documentation

Analitza::Ci::Ci ( const QString &  b)
explicit

Constructor.

Creates a variable with a b name

Analitza::Ci::~Ci ( )

Member Function Documentation

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

Returns some string depending on the visior.

Implements Analitza::Object.

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

Implements Analitza::Object.

int Analitza::Ci::depth ( ) const
inline

Definition at line 65 of file variable.h.

bool Analitza::Ci::isFunction ( ) const
inline

Returns whether it is a variable that has to be a function.

Definition at line 52 of file variable.h.

virtual bool Analitza::Ci::matches ( const Object *  exp,
QMap< QString, const 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.

QString Analitza::Ci::name ( ) const
inline

Returns the variable name.

Definition at line 43 of file variable.h.

bool Analitza::Ci::operator== ( const Ci &  var) const
inline

Returns whether var name is equal to this variable one.

Definition at line 46 of file variable.h.

void Analitza::Ci::setBVarDepth ( int  depth)
inline

Definition at line 64 of file variable.h.

void Analitza::Ci::setFunction ( bool  f)
inline

Sets whether it is a function.

Definition at line 49 of file variable.h.

void Analitza::Ci::setName ( const QString &  newName)
inline

Definition at line 67 of file variable.h.

QString Analitza::Ci::toHtml ( ) const

Returns the HTML representation of the variable.

QString Analitza::Ci::toMathML ( ) const

Returns the MathML representation of the variable.


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