Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

Expression Class Reference

#include </home/clem/local/src/opie/noncore/apps/opie-sheet/sheet.h>

Collaboration diagram for Expression:

Collaboration graph
[legend]
List of all members.

Public Member Functions

QChar chunk0 (void)
 Expression (QString expr1)
bool isSymbol (QChar ch)
bool isMathSymbol (QChar ch)
void GetNext ()
void First ()
void Third ()
void Fourth ()
void Fifth ()
void Sixth ()
void Seventh ()
void Eighth ()
void Ninth ()
bool Parse ()

Public Attributes

QString Body
QList< QStringCompiledBody
QList< int > CompiledBodyType
QString SYMBOL
QString MATHSYMBOL
QArray< int > ArgsOfFunc
int FuncDepth
bool ErrorFound
int n
QString chunk
int SymbGroup
QString InExpr

Constructor & Destructor Documentation

Expression::Expression QString  expr1  ) 
 

Definition at line 2331 of file sheet.cpp.

References ArgsOfFunc, Body, chunk, CompiledBody, CompiledBodyType, ErrorFound, InExpr, MATHSYMBOL, n, NONE_TOKEN, SymbGroup, SYMBOL, and TRUE.


Member Function Documentation

QChar Expression::chunk0 void   ) 
 

Definition at line 2326 of file sheet.cpp.

References chunk, and QString::length().

Referenced by Fifth(), Fourth(), Ninth(), Seventh(), Sixth(), and Third().

void Expression::Eighth  ) 
 

Definition at line 2544 of file sheet.cpp.

References chunk, CompiledBody, CompiledBodyType, GetNext(), Ninth(), NUMBER_TOKEN, STRING_TOKEN, SymbGroup, and VARIABLE_TOKEN.

Referenced by Seventh().

void Expression::Fifth  ) 
 

Definition at line 2495 of file sheet.cpp.

References chunk0(), CompiledBody, CompiledBodyType, FUNCTION_TOKEN, GetNext(), and Sixth().

Referenced by Fourth().

void Expression::First  ) 
 

Definition at line 2439 of file sheet.cpp.

References chunk, ErrorFound, GetNext(), and Third().

Referenced by Parse().

void Expression::Fourth  ) 
 

Definition at line 2477 of file sheet.cpp.

References chunk0(), CompiledBody, CompiledBodyType, Fifth(), FUNCTION_TOKEN, GetNext(), and name.

Referenced by Third().

void Expression::GetNext  ) 
 

Definition at line 2360 of file sheet.cpp.

References chunk, FUNCTION_TOKEN, InExpr, isMathSymbol(), isSymbol(), QString::latin1(), QString::length(), n, NUMBER_TOKEN, printf, STRING_TOKEN, SymbGroup, SYMBOL_TOKEN, and VARIABLE_TOKEN.

Referenced by Eighth(), Fifth(), First(), Fourth(), Ninth(), Seventh(), Sixth(), and Third().

bool Expression::isMathSymbol QChar  ch  ) 
 

Definition at line 2353 of file sheet.cpp.

References QString::length(), and MATHSYMBOL.

Referenced by GetNext().

bool Expression::isSymbol QChar  ch  ) 
 

Definition at line 2346 of file sheet.cpp.

References QString::length(), and SYMBOL.

Referenced by GetNext().

void Expression::Ninth  ) 
 

Definition at line 2567 of file sheet.cpp.

References ArgsOfFunc, chunk, chunk0(), CompiledBody, CompiledBodyType, ErrorFound, FuncDepth, FUNCTION_TOKEN, GetNext(), SymbGroup, and Third().

Referenced by Eighth().

bool Expression::Parse  ) 
 

Definition at line 2604 of file sheet.cpp.

References ArgsOfFunc, Body, CompiledBody, ErrorFound, First(), FuncDepth, InExpr, and n.

Referenced by Sheet::dataParserHelper().

void Expression::Seventh  ) 
 

Definition at line 2532 of file sheet.cpp.

References chunk0(), Eighth(), ErrorFound, GetNext(), SymbGroup, SYMBOL_TOKEN, and Third().

Referenced by Sixth().

void Expression::Sixth  ) 
 

Definition at line 2508 of file sheet.cpp.

References chunk0(), CompiledBody, CompiledBodyType, FUNCTION_TOKEN, GetNext(), Seventh(), SymbGroup, and SYMBOL_TOKEN.

Referenced by Fifth().

void Expression::Third  ) 
 

Definition at line 2446 of file sheet.cpp.

References chunk, chunk0(), CompiledBody, CompiledBodyType, Fourth(), FUNCTION_TOKEN, GetNext(), QString::length(), and name.

Referenced by First(), Ninth(), and Seventh().


Member Data Documentation

QArray<int> Expression::ArgsOfFunc
 

Definition at line 73 of file sheet.h.

Referenced by Expression(), Ninth(), and Parse().

QString Expression::Body
 

Definition at line 68 of file sheet.h.

Referenced by Expression(), and Parse().

QString Expression::chunk
 

Definition at line 77 of file sheet.h.

Referenced by chunk0(), Eighth(), Expression(), First(), GetNext(), Ninth(), and Third().

QList<QString> Expression::CompiledBody
 

Definition at line 69 of file sheet.h.

Referenced by Sheet::dataParserHelper(), Eighth(), Expression(), Fifth(), Fourth(), Ninth(), Parse(), Sixth(), and Third().

QList<int> Expression::CompiledBodyType
 

Definition at line 70 of file sheet.h.

Referenced by Sheet::dataParserHelper(), Eighth(), Expression(), Fifth(), Fourth(), Ninth(), Sixth(), and Third().

bool Expression::ErrorFound
 

Definition at line 75 of file sheet.h.

Referenced by Expression(), First(), Ninth(), Parse(), and Seventh().

int Expression::FuncDepth
 

Definition at line 74 of file sheet.h.

Referenced by Ninth(), and Parse().

QString Expression::InExpr
 

Definition at line 80 of file sheet.h.

Referenced by Expression(), GetNext(), and Parse().

QString Expression::MATHSYMBOL
 

Definition at line 72 of file sheet.h.

Referenced by Expression(), and isMathSymbol().

int Expression::n
 

Definition at line 76 of file sheet.h.

Referenced by Expression(), GetNext(), and Parse().

int Expression::SymbGroup
 

Definition at line 78 of file sheet.h.

Referenced by Eighth(), Expression(), GetNext(), Ninth(), Seventh(), and Sixth().

QString Expression::SYMBOL
 

Definition at line 71 of file sheet.h.

Referenced by Expression(), and isSymbol().


The documentation for this class was generated from the following files:
Generated on Sat Nov 5 17:32:24 2005 for OPIE by  doxygen 1.4.2