QSAS_2_4/QSAS_dist/src/Arithmetic/qcalc/qOperationAdd.cc File Reference

#include "qOperators.h"

Functions

QdObject_var QdAdd (QString &rqstrErrorMsg, QdObject_var qdOperand1, QdObject_var qdOperand2)
 Function that adds two QdObject. This function will be called from the calculator when
add operator has been selected. This function is used as function pointer.

Detailed Description

File in which QdAdd function that calculates the sum of QdObject:
Author:
Nora Bounaira
Version:
2.0
Date:
2004

Function Documentation

QdObject_var QdAdd ( QString &  rqstrErrorMsg,
QdObject_var  qdOperand1,
QdObject_var  qdOperand2 
)

Function that adds two QdObject. This function will be called from the calculator when
add operator has been selected. This function is used as function pointer.

Parameters:
rqstrErrorMsg of QString type. Any error or warning message will be returned in this output parameter
qdOperand1 of QdObject_var type. The first operand of the operation
qdOperand2 of QdObject_var type. The second operand of the operation
Exceptions:
None. Any exception thrown at this level will be caught and the exception text will be returned
Returns:
Returns the result of the operation as a QdObject_var on success and a NULL object on failure


Generated on Fri Jan 8 12:51:21 2010 for QSAS by  doxygen 1.5.7