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

Analitza

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

#include <vector.h>

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

Public Member Functions

 Vector (const Vector &v)
 
 Vector (int size)
 
virtual ~Vector ()
 
virtual QVariant accept (AbstractExpressionVisitor *e) const
 
void appendBranch (Object *)
 
Object * at (int i) const
 
iterator begin ()
 
const_iterator constBegin () const
 
const_iterator constEnd () const
 
Vector * copy () const
 
iterator end ()
 
iterator erase (const iterator &it)
 
virtual bool isZero () const
 
virtual bool matches (const Object *pattern, QMap< QString, const Object * > *found) const
 
bool operator== (const Vector &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
 

Protected Member Functions

 Vector (Analitza::Object::ObjectType t, int size)
 
- Protected Member Functions inherited from Analitza::Object
 Object (enum ObjectType t)
 

Additional Inherited Members

- Public Types inherited from Analitza::Object
enum  ObjectType {
  none =0, value, variable, vector,
  list, apply, oper, container,
  matrix, matrixrow, custom
}
 
- Protected Attributes inherited from Analitza::Object
const ObjectType m_type
 

Detailed Description

Definition at line 34 of file vector.h.

Constructor & Destructor Documentation

Analitza::Vector::Vector ( const Vector &  v)
Analitza::Vector::Vector ( int  size)
virtual Analitza::Vector::~Vector ( )
virtual
Analitza::Vector::Vector ( Analitza::Object::ObjectType  t,
int  size 
)
protected

Member Function Documentation

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

Returns some string depending on the visior.

Implements Analitza::Object.

Reimplemented in Analitza::MatrixRow.

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

Definition at line 54 of file vector.h.

iterator Analitza::Vector::begin ( )
inline

Definition at line 49 of file vector.h.

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

Definition at line 51 of file vector.h.

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

Definition at line 52 of file vector.h.

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

Implements Analitza::Object.

iterator Analitza::Vector::end ( )
inline

Definition at line 50 of file vector.h.

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

Definition at line 47 of file vector.h.

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

Reimplemented from Analitza::Object.

virtual bool Analitza::Vector::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::Vector::operator== ( const Vector &  v) const
void Analitza::Vector::setAt ( int  i,
Object *  o 
)
inline

Definition at line 55 of file vector.h.

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

Definition at line 45 of file vector.h.

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

Definition at line 56 of file vector.h.


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