Symbian
 Developer Library

DEVELOPER LIBRARY

[Index] [Glossary] [Previous] [Next]



Location: SHGFMEVL.h
Link against: sheng.lib

Class CShgFormulaEvaluator

class CShgFormulaEvaluator : public CBase

Support

Supported from 5.0

Description

This is internal and not intended for use.

Derivation

CBaseBase class for all classes to be instantiated on the heap
CShgFormulaEvaluatorThis is internal and not intended for use

Defined in CShgFormulaEvaluator:
Anonymous, BeginStatFunctionL(), CShgFormulaEvaluator(), CalculateDatabaseTableL(), CellInfoType(), CellReader(), ConvertedSingleCellRangeToValueL(), DoEvaluateFormulaL(), DoTable1L(), DoTable2L(), EBlank, EBool, ECellInfoTypeAddress, ECellInfoTypeCol, ECellInfoTypeContents, ECellInfoTypeFirst, ECellInfoTypeLast, ECellInfoTypeNotSet, ECellInfoTypeRow, EError, EInt, EMaxStringLength, ERange, EReal, EText, EndStatFunctionL(), EndStatFunctionL(), EndStatFunctionL(), EndStatFunctionL(), EvaluateFormulaL(), FShgFunction, FunctionForToken(), GetValL(), IsNextArgumentL(), LexRange(), LoadArgumentsL(), LoadArgumentsL(), LoadArgumentsL(), LoadArgumentsL(), LoadArgumentsL(), LoadHBufL(), LoadHBufL(), LoadHBufLC(), LoadHBufOrRealL(), LoadIntL(), LoadIntL(), LoadRealL(), LoadRealL(), LoadShgRangeRefL(), LoadShgRangeRefL(), NewL(), PushCellL(), PushShgCellRefValueL(), PushShgCellRefValueL(), SStatTotal, TCellInfoType, TFunction, TOperandType, TryConvertRangeToValueL(), TryConvertSingleCellRangeToValueL(), WorkSheet(), iCellReader, iCurrentToken, iFormulaViewer, iFpeExceptionThread, iNameSet, iRandSeed, iRelativeCell, iSheetEngine, iStack, iStatCount, iStatEndFunction, iStatLitFunction, iStatProduct, iStatRangeFunction, iStatSquares, iStatTotal, iTokenPtr, iWorkBook, ~CShgFormulaEvaluator()

Inherited from CBase:
operator new()


Internal members


Construction and destruction


NewL()

static CShgFormulaEvaluator* NewL(const CShgNameSet* aNameSet, const CShgWorkBook* aWorkBook, CSheetEngine* aSheetEngine, CShgFormulaViewer* aFormulaViewer);

Description

This member is internal and not intended for use.


CShgFormulaEvaluator()

CShgFormulaEvaluator(const CShgNameSet* aNameSet, const CShgWorkBook* aWorkBook, CSheetEngine* aSheetEngine, CShgFormulaViewer* aFormulaViewer);

Description

This member is internal and not intended for use.


~CShgFormulaEvaluator()

~CShgFormulaEvaluator();

Description

This member is internal and not intended for use.


Member Classes


Class TFunction

class TFunction;

Description

This member is internal and not intended for use.

Defined in CShgFormulaEvaluator::TFunction:
iArgTypes, iCheckArguments, iFunction, iNoArguments, iType


iFunction

FShgFunction iFunction;

Description

This member is internal and not intended for use.


iType

TUint8 iType;

Description

This member is internal and not intended for use.


iNoArguments

TUint8 iNoArguments;

Description

This member is internal and not intended for use.


iArgTypes

TUint8 iArgTypes;

Description

This member is internal and not intended for use.


iCheckArguments

TUint8 iCheckArguments;

Description

This member is internal and not intended for use.


iWorkBook

const CShgWorkBook* iWorkBook;

Description

This member is internal and not intended for use.


iCellReader

protected: const MShgCellReader* iCellReader;

Description

This member is internal and not intended for use.


iNameSet

protected: const CShgNameSet* const iNameSet;

Description

This member is internal and not intended for use.


iSheetEngine

protected: CSheetEngine* iSheetEngine;

Description

This member is internal and not intended for use.


iFormulaViewer

protected: CShgFormulaViewer* iFormulaViewer;

Description

This member is internal and not intended for use.


iStack

protected: CShgEvaluatorStack* iStack;

Description

This member is internal and not intended for use.


iFpeExceptionThread

protected: RThread iFpeExceptionThread;

Description

This member is internal and not intended for use.


iStatTotal

protected: SStatTotal iStatTotal;

Description

This member is internal and not intended for use.


iStatProduct

protected: TReal iStatProduct;

Description

This member is internal and not intended for use.


iStatSquares

protected: TReal iStatSquares;

Description

This member is internal and not intended for use.


iStatCount

protected: TInt iStatCount;

Description

This member is internal and not intended for use.


iStatLitFunction

protected: TStatFunction iStatLitFunction;

Description

This member is internal and not intended for use.


iStatRangeFunction

protected: TStatFunction iStatRangeFunction;

Description

This member is internal and not intended for use.


iStatEndFunction

protected: TStatFunction iStatEndFunction;

Description

This member is internal and not intended for use.


iRandSeed

protected: TInt64 iRandSeed;

Description

This member is internal and not intended for use.


iTokenPtr

protected: const TUint8* iTokenPtr;

Description

This member is internal and not intended for use.


iCurrentToken

protected: TFormulaToken iCurrentToken;

Description

This member is internal and not intended for use.


iRelativeCell

protected: TCellRef iRelativeCell;

Description

This member is internal and not intended for use.


Member Enumerations


Enum TCellInfoType

TCellInfoType

Description

This member is internal and not intended for use.

ECellInfoTypeNotSet

This member is internal and not intended for use.

ECellInfoTypeFirst

This member is internal and not intended for use.

ECellInfoTypeAddress

This member is internal and not intended for use.

ECellInfoTypeRow

This member is internal and not intended for use.

ECellInfoTypeCol

This member is internal and not intended for use.

ECellInfoTypeContents

This member is internal and not intended for use.

ECellInfoTypeLast

This member is internal and not intended for use.


Enum Anonymous

N/A

Description

This member is internal and not intended for use.

EMaxStringLength

This member is internal and not intended for use.


Enum TOperandType

protected: TOperandType

Description

This member is internal and not intended for use.

EBlank

This member is internal and not intended for use.

EInt

This member is internal and not intended for use.

EBool

This member is internal and not intended for use.

EError

This member is internal and not intended for use.

EReal

This member is internal and not intended for use.

EText

This member is internal and not intended for use.

ERange

This member is internal and not intended for use.


Member functions


EvaluateFormulaL()

void EvaluateFormulaL(TShgCell& aCell, const TUint8* aFormula, const MShgCellReader* aCellReader);

Description

This member is internal and not intended for use.


CalculateDatabaseTableL()

TShgError CalculateDatabaseTableL(const TDesC& aRangeText, const TDesC& aCell1, const TDesC& aCell2);

Description

This member is internal and not intended for use.


DoEvaluateFormulaL()

private: void DoEvaluateFormulaL();

Description

This member is internal and not intended for use.


ConvertedSingleCellRangeToValueL()

private: void ConvertedSingleCellRangeToValueL();

Description

This member is internal and not intended for use.


TryConvertSingleCellRangeToValueL()

private: void TryConvertSingleCellRangeToValueL();

Description

This member is internal and not intended for use.


TryConvertRangeToValueL()

private: void TryConvertRangeToValueL();

Description

This member is internal and not intended for use.


LexRange()

void LexRange(TInt& aWorkSheetNo, TRangeRef& aRangeRef);

Description

This member is internal and not intended for use.


CellReader()

const MShgCellReader* CellReader();

Description

This member is internal and not intended for use.


IsNextArgumentL()

TBool IsNextArgumentL(TOperandType aType);

Description

This member is internal and not intended for use.


PushShgCellRefValueL()

void PushShgCellRefValueL(const TShgCellRef& aShgCellRef);

Description

This member is internal and not intended for use.


PushShgCellRefValueL()

void PushShgCellRefValueL(TInt aWorkSheetNo, const TCellRef& aCellRef);

Description

This member is internal and not intended for use.


PushCellL()

void PushCellL(const TShgCell* aCell);

Description

This member is internal and not intended for use.


LoadIntL()

TInt LoadIntL(TInt& aInt);

Description

This member is internal and not intended for use.


LoadIntL()

TInt LoadIntL(TInt& aInt, TInt aArgsLeft);

Description

This member is internal and not intended for use.


LoadRealL()

TInt LoadRealL(TReal& aReal);

Description

This member is internal and not intended for use.


LoadRealL()

TInt LoadRealL(TReal& aReal, TInt aArgsLeft);

Description

This member is internal and not intended for use.


LoadHBufL()

TInt LoadHBufL(HBufC*& aHBuf);

Description

This member is internal and not intended for use.


LoadHBufL()

TInt LoadHBufL(HBufC*& aHBuf, TInt aArgsLeft);

Description

This member is internal and not intended for use.


LoadHBufLC()

TInt LoadHBufLC(HBufC*& aHBuf);

Description

This member is internal and not intended for use.


LoadHBufOrRealL()

TInt LoadHBufOrRealL(HBufC*& aHBuf, TReal& aReal);

Description

This member is internal and not intended for use.


LoadShgRangeRefL()

TInt LoadShgRangeRefL(TShgRangeRef& aRangeRef);

Description

This member is internal and not intended for use.


LoadShgRangeRefL()

TInt LoadShgRangeRefL(TShgRangeRef& aRangeRef, TInt aArgsLeft);

Description

This member is internal and not intended for use.


LoadArgumentsL()

TInt LoadArgumentsL(TInt& aInt1, TInt& aInt2);

Description

This member is internal and not intended for use.


LoadArgumentsL()

TInt LoadArgumentsL(TInt& aInt1, TInt& aInt2, TInt& aInt3);

Description

This member is internal and not intended for use.


LoadArgumentsL()

TInt LoadArgumentsL(TReal& aReal1, TReal& aReal2);

Description

This member is internal and not intended for use.


LoadArgumentsL()

TInt LoadArgumentsL(TReal& aReal1, TReal& aReal2, TReal& aReal3);

Description

This member is internal and not intended for use.


LoadArgumentsL()

TInt LoadArgumentsL(TReal& aReal1, TReal& aReal2, TReal& aReal3, TReal& aReal4);

Description

This member is internal and not intended for use.


WorkSheet()

const CShgWorkSheet* WorkSheet(TInt aWorkSheetNo) const;

Description

This member is internal and not intended for use.


FunctionForToken()

private: static FShgFunction FunctionForToken(TFormulaToken aToken);

Description

This member is internal and not intended for use.


GetValL()

private: TBool GetValL(TReal& aCellContents, const TShgCell* aCell);

Description

This member is internal and not intended for use.


CellInfoType()

protected: const TPtrC CellInfoType(TCellInfoType aCellInfoType) const;

Description

This member is internal and not intended for use.


DoTable1L()

protected: TShgError DoTable1L(const TShgRangeRef* aRangeRef, const TCellRef& aCoord1);

Description

This member is internal and not intended for use.


DoTable2L()

protected: TShgError DoTable2L(const TShgRangeRef* aRangeRef, const TCellRef& aCoord1, const TCellRef& aCoord2);

Description

This member is internal and not intended for use.


BeginStatFunctionL()

protected: void BeginStatFunctionL();

Description

This member is internal and not intended for use.


EndStatFunctionL()

protected: TBool EndStatFunctionL();

Description

This member is internal and not intended for use.


EndStatFunctionL()

protected: TBool EndStatFunctionL(TReal aResult, TInt aCount);

Description

This member is internal and not intended for use.


EndStatFunctionL()

protected: TBool EndStatFunctionL(HBufC* aResult);

Description

This member is internal and not intended for use.


EndStatFunctionL()

protected: TBool EndStatFunctionL(TBool aResult);

Description

This member is internal and not intended for use.


Member Structures


Struct SStatTotal

struct SStatTotal;

Description

This member is internal and not intended for use.

Defined in CShgFormulaEvaluator::SStatTotal:
;, EBool, EReal, EText, TType, iReal, iText, iType


iType

protected: TType iType;

Description

This member is internal and not intended for use.

Member Enumerations


Enum TType

protected: TType

Description

This member is internal and not intended for use.

EBool

This member is internal and not intended for use.

EReal

This member is internal and not intended for use.

EText

This member is internal and not intended for use.

Member Unions


Union ;

union ;;

Description

This member is internal and not intended for use.


iReal

protected: TReal64 iReal;

Description

This member is internal and not intended for use.


iText

protected: HBufC* iText;

Description

This member is internal and not intended for use.


Member Type Definitions


Typedef FShgFunction

typedef void(* FShgFunction)(CShgFormulaEvaluator*, CShgEvaluatorStack*);

Description

This member is internal and not intended for use.