Qucs-GUI  0.0.18
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
subcircuit.h
Go to the documentation of this file.
1 /***************************************************************************
2  subcircuit.h
3  --------------
4  begin : Sat Aug 23 2003
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 SUBCIRCUIT_H
19 #define SUBCIRCUIT_H
20 
21 #include "component.h"
22 
23 
25 public:
26  Subcircuit();
28  Component* newOne();
29  static Element* info(QString&, char* &, bool getNewOne=false);
30 
31  QString getSubcircuitFile();
32 
33 protected:
34  QString netlist();
35  QString vhdlCode(int);
36  QString verilogCode(int);
37  void createSymbol();
38  void remakeSymbol(int No);
39  int loadSymbol(const QString&);
40 };
41 
42 #endif
QString netlist()
Definition: subcircuit.cpp:202
Component * newOne()
Definition: subcircuit.cpp:54
QString getSubcircuitFile()
Definition: subcircuit.cpp:275
void createSymbol()
Definition: subcircuit.cpp:79
void remakeSymbol(int No)
Definition: subcircuit.cpp:106
Superclass of all schematic drawing elements.
Definition: element.h:142
QString verilogCode(int)
Definition: subcircuit.cpp:248
static Element * info(QString &, char *&, bool getNewOne=false)
Definition: subcircuit.cpp:63
int loadSymbol(const QString &)
Definition: subcircuit.cpp:139
QString vhdlCode(int)
Definition: subcircuit.cpp:221