Update of /cvsroot/quantlibaddin/QuantLibAddin/qlo
In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv6793/qlo
Modified Files:
termstructures.cpp termstructures.hpp
Log Message:
export QuantLib::SimpleQuote and QuantLib::Handle<QuantLib::SimpleQuote> to QuantLibXL
Index: termstructures.hpp
===================================================================
RCS file: /cvsroot/quantlibaddin/QuantLibAddin/qlo/termstructures.hpp,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -d -r1.10 -r1.11
*** termstructures.hpp 2 Aug 2006 19:16:13 -0000 1.10
--- termstructures.hpp 27 Sep 2006 08:20:27 -0000 1.11
***************
*** 95,98 ****
--- 95,104 ----
};
+ class SimpleQuote : public ObjHandler::LibraryObject<QuantLib::SimpleQuote> {
+ public:
+ SimpleQuote(
+ const QuantLib::Real &value);
+ };
+
}
Index: termstructures.cpp
===================================================================
RCS file: /cvsroot/quantlibaddin/QuantLibAddin/qlo/termstructures.cpp,v
retrieving revision 1.16
retrieving revision 1.17
diff -C2 -d -r1.16 -r1.17
*** termstructures.cpp 2 Aug 2006 19:16:13 -0000 1.16
--- termstructures.cpp 27 Sep 2006 08:20:27 -0000 1.17
***************
*** 151,153 ****
--- 151,160 ----
}
+ SimpleQuote::SimpleQuote(
+ const QuantLib::Real &value)
+ {
+ libraryObject_ = boost::shared_ptr<QuantLib::SimpleQuote>(
+ new QuantLib::SimpleQuote(value));
+ }
+
}
|