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

Analitza

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

#include <list.h>

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

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

Definition at line 34 of file list.h.

Constructor & Destructor Documentation

Analitza::List::List ( const List &  v)
Analitza::List::List ( )
virtual Analitza::List::~List ( )
virtual

Member Function Documentation

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

Returns some string depending on the visior.

Implements Analitza::Object.

void Analitza::List::appendBranch ( Object *  )
Object* Analitza::List::at ( int  i) const
inline

Definition at line 54 of file list.h.

iterator Analitza::List::begin ( )
inline

Definition at line 49 of file list.h.

const_iterator Analitza::List::constBegin ( ) const
inline

Definition at line 51 of file list.h.

const_iterator Analitza::List::constEnd ( ) const
inline

Definition at line 52 of file list.h.

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

Implements Analitza::Object.

iterator Analitza::List::end ( )
inline

Definition at line 50 of file list.h.

iterator Analitza::List::erase ( const iterator &  it)
inline

Definition at line 47 of file list.h.

bool Analitza::List::isEmpty ( ) const
inline

Definition at line 64 of file list.h.

virtual bool Analitza::List::isZero ( ) const
virtual

Reimplemented from Analitza::Object.

virtual bool Analitza::List::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.

bool Analitza::List::operator== ( const List &  v) const
void Analitza::List::setAt ( int  i,
Object *  o 
)
inline

Definition at line 55 of file list.h.

int Analitza::List::size ( ) const
inline

Definition at line 45 of file list.h.

QList<Object*> Analitza::List::values ( ) const
inline

Definition at line 56 of file list.h.


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