[ObjectHandler-cvs] ObjectHandler/ohxl/Functions manual.cpp, 1.3, 1.4
Brought to you by:
ericehlers,
nando
From: Eric E. <eri...@us...> - 2006-10-29 14:11:43
|
Update of /cvsroot/objecthandler/ObjectHandler/ohxl/Functions In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv26246/ohxl/Functions Modified Files: manual.cpp Log Message: ohDependsOn() - throw exception if inputs contain error values Index: manual.cpp =================================================================== RCS file: /cvsroot/objecthandler/ObjectHandler/ohxl/Functions/manual.cpp,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** manual.cpp 18 Oct 2006 13:01:29 -0000 1.3 --- manual.cpp 29 Oct 2006 14:11:38 -0000 1.4 *************** *** 42,47 **** OPER *dummy7, OPER *dummy8, ! OPER *dummy9, ! OPER *trigger) { boost::shared_ptr<ObjHandler::FunctionCall> functionCall; try { --- 42,46 ---- OPER *dummy7, OPER *dummy8, ! OPER *dummy9) { boost::shared_ptr<ObjHandler::FunctionCall> functionCall; try { *************** *** 53,57 **** if (functionCall->IsCalledByFuncWiz()) return 0; - ObjHandler::validateTrigger(trigger); // initialize the QuantLib session ID (if enabled) --- 52,55 ---- *************** *** 64,69 **** // invoke the utility function ! static std::map < std::string, long > iterators; static long returnValue; returnValue = iterators[ObjHandler::FunctionCall::instance().getAddressString()]++; --- 62,77 ---- // invoke the utility function + ObjHandler::validateReference(dummy0, "dummy0"); + ObjHandler::validateReference(dummy1, "dummy1"); + ObjHandler::validateReference(dummy2, "dummy2"); + ObjHandler::validateReference(dummy3, "dummy3"); + ObjHandler::validateReference(dummy4, "dummy4"); + ObjHandler::validateReference(dummy5, "dummy5"); + ObjHandler::validateReference(dummy6, "dummy6"); + ObjHandler::validateReference(dummy7, "dummy7"); + ObjHandler::validateReference(dummy8, "dummy8"); + ObjHandler::validateReference(dummy9, "dummy9"); ! static std::map<std::string, long> iterators; static long returnValue; returnValue = iterators[ObjHandler::FunctionCall::instance().getAddressString()]++; |