Qucs-GUI  0.0.18
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
logic_1.h
Go to the documentation of this file.
1 /*
2  * logic_1.h - device definitions for logic_1 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 logic_1_H
12 #define logic_1_H
13 
14 #include "component.h"
15 
16 class logic_1 : public Component
17 {
18  public:
19  logic_1();
20  ~logic_1() { };
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 /* logic_1_H */
logic_1()
Definition: logic_1.cpp:22
void createSymbol()
Definition: logic_1.cpp:55
Component * newOne()
Definition: logic_1.cpp:37
~logic_1()
Definition: logic_1.h:20
Superclass of all schematic drawing elements.
Definition: element.h:142
QString vhdlCode(int)
Definition: logic_1.cpp:73
static Element * info(QString &, char *&, bool getNewOne=false)
Definition: logic_1.cpp:46
QString verilogCode(int)
Definition: logic_1.cpp:86