Qucs-GUI  0.0.18
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
verilogfile.h
Go to the documentation of this file.
1 /***************************************************************************
2  verilogfile.h
3  -------------
4  begin : Sat Mar 31 2007
5  copyright : (C) 2007 by Stefan Jahn
6  email : stefa@lkcc.org
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 VERILOGFILE_H
19 #define VERILOGFILE_H
20 
21 #include "component.h"
22 //Added by qt3to4:
23 #include <QTextStream>
24 
25 
27 public:
28  Verilog_File();
30  Component* newOne();
31  static Element* info(QString&, char* &, bool getNewOne=false);
32 
33  bool createSubNetlist(QTextStream *);
34  QString getErrorText() { return ErrText; }
35  QString getSubcircuitFile();
36 
37 protected:
38  QString verilogCode(int);
39  void createSymbol();
40  QString loadFile();
41 
42  QString ModuleName;
43  QString ErrText;
44 };
45 
47 public:
49  Verilog_File_Info(QString, bool isfile = false);
51  QString parsePorts(QString, int);
52 
53 public:
54  QString ModuleName;
55  QString PortNames;
56 };
57 
58 #endif
QString verilogCode(int)
Definition: verilogfile.cpp:69
QString ModuleName
Definition: verilogfile.h:54
void createSymbol()
QString getErrorText()
Definition: verilogfile.h:34
QString parsePorts(QString, int)
static Element * info(QString &, char *&, bool getNewOne=false)
Definition: verilogfile.cpp:55
QString loadFile()
Definition: verilogfile.cpp:89
bool createSubNetlist(QTextStream *)
Superclass of all schematic drawing elements.
Definition: element.h:142
QString getSubcircuitFile()
QString ErrText
Definition: verilogfile.h:43
QString ModuleName
Definition: verilogfile.h:42
Component * newOne()
Definition: verilogfile.cpp:46