index.hpp
Go to the documentation of this file.
1 /* -*- mode: c++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 
3 /*
4  Copyright (C) 2006, 2007 Ferdinando Ametrano
5  Copyright (C) 2006 Katiuscia Manzoni
6  Copyright (C) 2005 Eric Ehlers
7  Copyright (C) 2005 Plamen Neykov
8 
9  This file is part of QuantLib, a free-software/open-source library
10  for financial quantitative analysts and developers - http://quantlib.org/
11 
12  QuantLib is free software: you can redistribute it and/or modify it
13  under the terms of the QuantLib license. You should have received a
14  copy of the license along with this program; if not, please email
15  <quantlib-dev@lists.sf.net>. The license is also available online at
16  <http://quantlib.org/license.shtml>.
17 
18  This program is distributed in the hope that it will be useful, but WITHOUT
19  ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
20  FOR A PARTICULAR PURPOSE. See the license for more details.
21 */
22 
23 #ifndef qla_index_hpp
24 #define qla_index_hpp
25 
26 #include <oh/libraryobject.hpp>
27 
28 #include <ql/types.hpp>
29 
30 namespace QuantLib {
31  class Date;
32  class Index;
33 }
34 
35 namespace QuantLibAddin {
36 
37  class Index : public ObjectHandler::LibraryObject<QuantLib::Index> {
38  public:
39  void addFixings(const std::vector<QuantLib::Date>& dates,
40  const std::vector<QuantLib::Real>& values,
41  bool forceOverwrite, bool updateValuObject = true);
42  public:
43  OH_LIB_CTOR(Index, QuantLib::Index);
44  };
45 
46 }
47 
48 #endif
Definition: index.hpp:37
Definition: abcd.hpp:38
Definition: abcd.hpp:30
OH_LIB_CTOR(Index, QuantLib::Index)
void addFixings(const std::vector< QuantLib::Date > &dates, const std::vector< QuantLib::Real > &values, bool forceOverwrite, bool updateValuObject=true)