SpeedCrunch  0.11
Public Types | Public Member Functions
Function Class Reference

#include <functions.h>

List of all members.

Public Types

typedef QVector< HNumberArgumentList
typedef HNumber(* FunctionImpl )(Function *, const ArgumentList &)

Public Member Functions

 Function (const QString &identifier, FunctionImpl ptr, QObject *parent=0)
const QString & identifier () const
const QString & name () const
const QString & usage () const
Error error () const
HNumber exec (const ArgumentList &)
void setName (const QString &name)
void setUsage (const QString &usage)
void setError (Error error)

Member Typedef Documentation

typedef QVector<HNumber> Function::ArgumentList

Constructor & Destructor Documentation

Function::Function ( const QString &  identifier,
FunctionImpl  ptr,
QObject *  parent = 0 
) [inline]

Member Function Documentation

Error Function::error ( ) const [inline]
HNumber Function::exec ( const ArgumentList args)
const QString& Function::identifier ( ) const [inline]
const QString& Function::name ( ) const [inline]
void Function::setError ( Error  error) [inline]
void Function::setName ( const QString &  name) [inline]
void Function::setUsage ( const QString &  usage) [inline]
const QString& Function::usage ( ) const [inline]

The documentation for this class was generated from the following files: