CppADCodeGen  HEAD
A C++ Algorithmic Differentiation Package with Source Code Generation
archiver.hpp
1 #ifndef CPPAD_CG_ARCHIVER_INCLUDED
2 #define CPPAD_CG_ARCHIVER_INCLUDED
3 /* --------------------------------------------------------------------------
4  * CppADCodeGen: C++ Algorithmic Differentiation with Source Code Generation:
5  * Copyright (C) 2013 Ciengis
6  *
7  * CppADCodeGen is distributed under multiple licenses:
8  *
9  * - Eclipse Public License Version 1.0 (EPL1), and
10  * - GNU General Public License Version 3 (GPL3).
11  *
12  * EPL1 terms and conditions can be found in the file "epl-v10.txt", while
13  * terms and conditions for the GPL3 can be found in the file "gpl3.txt".
14  * ----------------------------------------------------------------------------
15  * Author: Joao Leal
16  */
17 
18 #include <typeinfo>
19 
20 namespace CppAD {
21 namespace cg {
22 
26 class Archiver {
27 public:
28  virtual bool isVerbose() const = 0;
29 
30  virtual void setVerbose(bool verbose) = 0;
31 
32  virtual void create(const std::string& library,
33  const std::set<std::string>& objectFiles,
34  JobTimer* timer = nullptr) = 0;
35 
36  inline virtual ~Archiver() {
37  };
38 };
39 
40 } // END cg namespace
41 } // END CppAD namespace
42 
43 #endif