Qucs-GUI  0.0.18
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
comp_1bit.h
Go to the documentation of this file.
1 /*
2  * comp_1bit.h - device definitions for comp_1bit module
3  *
4  * This is free software; you can redistribute it and/or modify
5  * it under the terms of the GNU General Public License as published by
6  * the Free Software Foundation; either version 2, or (at your option)
7  * any later version.
8  *
9  */
10 
11 #ifndef comp_1bit_H
12 #define comp_1bit_H
13 
14 #include "component.h"
15 
16 class comp_1bit : public Component
17 {
18  public:
19  comp_1bit();
20  ~comp_1bit() { };
21  Component* newOne();
22  static Element* info(QString&, char* &, bool getNewOne=false);
23  protected:
24  void createSymbol();
25  QString vhdlCode(int);
26  QString verilogCode(int);
27 };
28 
29 #endif /* comp_1bit_H */
~comp_1bit()
Definition: comp_1bit.h:20
static Element * info(QString &, char *&, bool getNewOne=false)
Definition: comp_1bit.cpp:49
QString verilogCode(int)
Definition: comp_1bit.cpp:112
Superclass of all schematic drawing elements.
Definition: element.h:142
QString vhdlCode(int)
Definition: comp_1bit.cpp:89
Component * newOne()
Definition: comp_1bit.cpp:41
void createSymbol()
Definition: comp_1bit.cpp:58