My Project  0.0.16
QUCS Mapping
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
vfile.h
Go to the documentation of this file.
1 /*
2  * vfile.h - file based voltage source class definitions
3  *
4  * Copyright (C) 2007 Gunther Kraut <gn.kraut@t-online.de>
5  * Copyright (C) 2007, 2008, 2009 Stefan Jahn <stefan@lkcc.org>
6  *
7  * This is free software; you can redistribute it and/or modify
8  * it under the terms of the GNU General Public License as published by
9  * the Free Software Foundation; either version 2, or (at your option)
10  * any later version.
11  *
12  * This software is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15  * GNU General Public License for more details.
16  *
17  * You should have received a copy of the GNU General Public License
18  * along with this package; see the file COPYING. If not, write to
19  * the Free Software Foundation, Inc., 51 Franklin Street - Fifth Floor,
20  * Boston, MA 02110-1301, USA.
21  *
22  * $Id: vfile.h 1825 2011-03-11 20:42:14Z ela $
23  *
24  */
25 
26 #ifndef __VFILE_H__
27 #define __VFILE_H__
28 
29 class dataset;
30 class interpolator;
31 
32 class vfile : public circuit
33 {
34  public:
35  CREATOR (vfile);
36  ~vfile ();
37  void initSP (void);
38  void initDC (void);
39  void initAC (void);
40  void initTR (void);
41  void calcTR (nr_double_t);
42  void prepare (void);
43 
44 private:
45  dataset * data;
46  int dataType;
47  int interpolType;
48  interpolator * inter;
49 };
50 
51 #endif /* __VFILE_H__ */