#include "QFormulaUtils.h"

QFormulaUtils


class description - header file - source file - inheritance tree (.pdf)

class QFormulaUtils

Inheritance Chart:
QFormulaUtils

    public:
QFormulaUtils() QFormulaUtils(const QFormulaUtils&) ~QFormulaUtils() static TClass* Class() static Int_t IndexVar(const Char_t* formula, const Char_t* variable, Int_t start = 0) virtual TClass* IsA() const QFormulaUtils& operator=(const QFormulaUtils&) static Int_t ReplaceVar(TString* formula, const Char_t* oldvar, const Char_t* newvar) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b)

Data Members




Class Description

Int_t IndexVar(const Char_t* formula, const Char_t* variable, Int_t start)
This function reads formula, starting at position start, and looks for
variable string. It returns the index of the variable name occurrence if
found. It returns -1 if not. A variable name is considered to be any
alphanumeric expression that can also contain '_'.
Int_t ReplaceVar(TString *formula, const Char_t* oldvar, const Char_t* newvar)
This function replaces in formula all the occurences of variable with name
oldvar by expression contained in newvar. It returns the number of replaced
occurences.

Author: Pierre-Luc Drouin
Last update: Fri Nov 17 16:35:11 2006


ROOT page - Class index - Class Hierarchy - Top of the page

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.