Develop and Download Open Source Software

Browse Subversion Repository

Contents of /trunk/circuits/QPauliX.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1 - (show annotations) (download) (as text)
Wed Aug 3 10:14:23 2011 UTC (12 years, 8 months ago) by kaityo
File MIME type: text/x-chdr
File size: 833 byte(s)
First commit
1 //---------------------------------------------------------------------------
2 #ifndef QPauliXH
3 #define QPauliXH
4 //---------------------------------------------------------------------------
5 #include "QCircuit.h"
6 //---------------------------------------------------------------------------
7 class QPauliX : public QCircuit {
8
9 public:
10 QPauliX(int x, int y);
11
12 virtual int GetType(void) { return QC_PAULIX; }
13 virtual string GetTypeStr(void) { return "QPauliX"; }
14
15 void Draw(QDraw * qDraw);
16 void DrawPS(QPSDraw * psDraw);
17 string GetCalcText(void);
18 string GetSaveText(void);
19 void Reverse(int y);
20 TRect GetOccupiedRect();
21 QCircuit *Clone() {QPauliX *qx = new QPauliX(X, Y); return (QCircuit*)qx;};
22 };
23 //---------------------------------------------------------------------------
24 #endif

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26