Qucs-GUI  0.0.18
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
mosfet.h
Go to the documentation of this file.
1 /***************************************************************************
2  mosfet.h
3  ----------
4  begin : Fri Jun 4 2004
5  copyright : (C) 2003 by Michael Margraf
6  email : michael.margraf@alumni.tu-berlin.de
7  ***************************************************************************/
8 
9 /***************************************************************************
10  * *
11  * This program is free software; you can redistribute it and/or modify *
12  * it under the terms of the GNU General Public License as published by *
13  * the Free Software Foundation; either version 2 of the License, or *
14  * (at your option) any later version. *
15  * *
16  ***************************************************************************/
17 
18 #ifndef MOSFET_H
19 #define MOSFET_H
20 
21 #include "mosfet_sub.h"
22 
23 
24 class MOSFET : public Basic_MOSFET {
25 public:
26  MOSFET();
27  ~MOSFET() {};
28  Component* newOne();
29  static Element* info(QString&, char* &, bool getNewOne=false);
30  static Element* info_p(QString&, char* &, bool getNewOne=false);
31  static Element* info_depl(QString&, char* &, bool getNewOne=false);
32 
33 protected:
34  void createSymbol();
35  QString netlist();
36 };
37 
38 #endif
static Element * info_p(QString &, char *&, bool getNewOne=false)
Definition: mosfet.cpp:53
static Element * info_depl(QString &, char *&, bool getNewOne=false)
Definition: mosfet.cpp:69
QString netlist()
Definition: mosfet.cpp:123
Definition: mosfet.h:24
Superclass of all schematic drawing elements.
Definition: element.h:142
~MOSFET()
Definition: mosfet.h:27
MOSFET()
Definition: mosfet.cpp:22
static Element * info(QString &, char *&, bool getNewOne=false)
Definition: mosfet.cpp:43
Component * newOne()
Definition: mosfet.cpp:33
void createSymbol()
Definition: mosfet.cpp:85