muParserX 2.0.0
Loading...
Searching...
No Matches
Public Member Functions | List of all members
mup::OprtDiv Class Reference

Callback object for implementing the division of noncomplex values. More...

#include <mpOprtNonCmplx.h>

Inheritance diagram for mup::OprtDiv:
Inheritance graph
[legend]
Collaboration diagram for mup::OprtDiv:
Collaboration graph
[legend]

Public Member Functions

virtual void Eval (ptr_val_type &ret, const ptr_val_type *a_pArg, int) override
 Implements the Division operator.
 
- Public Member Functions inherited from mup::ICallback
int GetArgc () const
 Returns the mĀ“number of arguments required by this callback.
 
void SetParent (parent_type *a_pParent)
 Assign a parser object to the callback.
 
- Public Member Functions inherited from mup::IToken
ECmdCode GetCode () const
 return the token code.
 
const string_typeGetIdent () const
 Return the token identifier string.
 

Additional Inherited Members

- Protected Member Functions inherited from mup::ICallback
parent_typeGetParent ()
 Returns a pointer to the parser object owning this callback.
 
- Protected Member Functions inherited from mup::IToken
virtual ~IToken ()
 Destructor (trivial).
 
 IToken (const IToken &ref)
 Copy constructor.
 

Detailed Description

Callback object for implementing the division of noncomplex values.

Member Function Documentation

◆ Eval()

void mup::OprtDiv::Eval ( ptr_val_type ret,
const ptr_val_type a_pArg,
int  num 
)
overridevirtual

Implements the Division operator.

Exceptions
ParserErrorin case one of the arguments if nonnumeric or an array.

Implements mup::ICallback.


muParserX documentation - (C) 2010 Ingo Berg