Qucs-GUI  0.0.18
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
switch.h
Go to the documentation of this file.
1 /***************************************************************************
2  switch.h
3  ----------
4  begin : Sat Feb 25 2006
5  copyright : (C) 2006 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 SWITCH_H
19 #define SWITCH_H
20 
21 #include "component.h"
22 
23 
24 class Switch : public MultiViewComponent {
25 public:
26  Switch();
27  ~Switch() {};
28  Component* newOne();
29  static Element* info(QString&, char* &, bool getNewOne=false);
30 
31 protected:
32  QString netlist();
33  void createSymbol();
34 };
35 
36 #endif
Component * newOne()
Definition: switch.cpp:48
~Switch()
Definition: switch.h:27
Definition: switch.h:24
static Element * info(QString &, char *&, bool getNewOne=false)
Definition: switch.cpp:57
Superclass of all schematic drawing elements.
Definition: element.h:142
void createSymbol()
Definition: switch.cpp:87
QString netlist()
Definition: switch.cpp:67
Switch()
Definition: switch.cpp:23