Update of /cvsroot/quantlibaddin/QuantLibAddin/qlo
In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv25913/qlo
Modified Files:
termstructures.cpp termstructures.hpp
Log Message:
renaming/refactoring Quote functions
Index: termstructures.hpp
===================================================================
RCS file: /cvsroot/quantlibaddin/QuantLibAddin/qlo/termstructures.hpp,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -d -r1.11 -r1.12
*** termstructures.hpp 27 Sep 2006 08:20:27 -0000 1.11
--- termstructures.hpp 3 Oct 2006 17:24:58 -0000 1.12
***************
*** 95,102 ****
};
! class SimpleQuote : public ObjHandler::LibraryObject<QuantLib::SimpleQuote> {
public:
! SimpleQuote(
! const QuantLib::Real &value);
};
--- 95,104 ----
};
! class Quote : public ObjHandler::LibraryObject<QuantLib::Quote> {
! };
!
! class SimpleQuote : public Quote {
public:
! SimpleQuote(QuantLib::Real value);
};
***************
*** 104,106 ****
#endif
-
--- 106,107 ----
Index: termstructures.cpp
===================================================================
RCS file: /cvsroot/quantlibaddin/QuantLibAddin/qlo/termstructures.cpp,v
retrieving revision 1.17
retrieving revision 1.18
diff -C2 -d -r1.17 -r1.18
*** termstructures.cpp 27 Sep 2006 08:20:27 -0000 1.17
--- termstructures.cpp 3 Oct 2006 17:24:58 -0000 1.18
***************
*** 151,158 ****
}
! SimpleQuote::SimpleQuote(
! const QuantLib::Real &value)
! {
! libraryObject_ = boost::shared_ptr<QuantLib::SimpleQuote>(
new QuantLib::SimpleQuote(value));
}
--- 151,156 ----
}
! SimpleQuote::SimpleQuote(QuantLib::Real value) {
! libraryObject_ = boost::shared_ptr<QuantLib::Quote>(
new QuantLib::SimpleQuote(value));
}
|