Changeset 2598 in Sophya for trunk/SophyaLib/SysTools/rpneval.h


Ignore:
Timestamp:
Aug 11, 2004, 3:10:25 PM (21 years ago)
Author:
ansari
Message:

Documentation (ajoutee ou completee) pour les classes du module SysTools - Reza 11 Aout 2004

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaLib/SysTools/rpneval.h

    r2510 r2598  
    1515namespace SOPHYA {
    1616
    17 //! Exception class used by  RPNExpressionEvaluator
    18 
     17/*!
     18  \ingroup SysTools
     19  \brief Exception class used by  RPNExpressionEvaluator
     20  \sa RPNExpressionEvaluator
     21*/
    1922class RPNExprException : public PException {
    2023  public:
     
    3033  explicit RPNExpressionEvaluator(vector<string> & exe, int off=0);
    3134  virtual ~RPNExpressionEvaluator();
     35//! Return the stack top \c (x) as the result of the expression evaluation
    3236  virtual double Evaluate() const;  // Return the value of the stack top
     37//! Alias for Evaluate()
    3338  inline double Value() const { return Evaluate(); }
    3439
    35 protected:
     40private:
    3641  int EvalRPNExpr(vector<string> & args, int off=0);
    3742  inline bool CheckStack(double& x) const
Note: See TracChangeset for help on using the changeset viewer.