[QuantLibAddin-cvs] QuantLibAddin/qlo settings.hpp,NONE,1.1
Brought to you by:
ericehlers,
nando
|
From: Ferdinando A. <na...@us...> - 2006-08-17 10:09:41
|
Update of /cvsroot/quantlibaddin/QuantLibAddin/qlo In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv29770/qlo Added Files: settings.hpp Log Message: avoiding usage of QuantLib deprecated functions --- NEW FILE: settings.hpp --- /* Copyright (C) 2006 Ferdinando Ametrano This file is part of QuantLib, a free-software/open-source library for financial quantitative analysts and developers - http://quantlib.org/ QuantLib is free software: you can redistribute it and/or modify it under the terms of the QuantLib license. You should have received a copy of the license along with this program; if not, please email qua...@li... The license is also available online at http://quantlib.org/html/license.html This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the license for more details. */ /*! \file \brief Implementations of the functions defined in settings.xml for use within the Addins. */ #ifndef qla_settings_hpp #define qla_settings_hpp namespace QuantLibAddin { /*! \group utilities diagnostic and information functions for QuantLibAddin */ /*! set the evaluation date */ inline QuantLib::Date setEvaluationDate(const QuantLib::Date &evalDate) { QuantLib::Settings::instance().evaluationDate() = evalDate; return evalDate; } } #endif |