cDynamicExpression::Elem Class Reference

One element in a (reverse Polish) expression. More...

#include <cdynamicexpression.h>

List of all members.

Public Member Functions

void operator= (const Elem &other)
void operator= (bool _b)
void operator= (int _i)
void operator= (short _i)
void operator= (long _l)
void operator= (double _d)
void setUnit (const char *s)
void operator= (const char *_s)
void operator= (cXMLElement *_x)
void operator= (cNEDMathFunction *_f)
void set (cNEDFunction *f, int argc)
void operator= (Functor *f)
void operator= (OpType _op)
void operator= (cExpression *_expr)
int compare (const Elem &other) const

Friends

class cDynamicExpression

Detailed Description

One element in a (reverse Polish) expression.


Member Function Documentation

void cDynamicExpression::Elem::operator= ( Functor f  )  [inline]

Function object, with an interface not unlike cNEDFunction.

This object will be deleted by expression's destructor.

void cDynamicExpression::Elem::setUnit ( const char *  s  )  [inline]

Sets the unit of an Elem previously set to a double value.

The type must already be DBL, or an error gets thrown.


The documentation for this class was generated from the following file:
Generated on Tue Dec 2 11:16:28 2014 for OMNeT++ Simulation Library by  doxygen 1.6.3