Develop and Download Open Source Software

Browse Subversion Repository

Contents of /trunk/circuits/QPauliZ.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, 9 months ago) by kaityo
File MIME type: text/x-chdr
File size: 830 byte(s)
First commit
1 //---------------------------------------------------------------------------
2 #ifndef QPauliZH
3 #define QPauliZH
4 //---------------------------------------------------------------------------
5 #include "QCircuit.h"
6 //---------------------------------------------------------------------------
7 class QPauliZ : public QCircuit {
8 public :
9 QPauliZ(int x, int y);
10
11 virtual int GetType(void) { return QC_PAULIZ; }
12 virtual string GetTypeStr(void) { return "QPauliZ"; }
13
14 void Draw(QDraw *qDraw);
15 void DrawPS(QPSDraw *psDraw);
16 string GetCalcText(void);
17 string GetSaveText(void);
18 void Reverse(int y);
19 TRect GetOccupiedRect();
20 QCircuit *Clone() {QPauliZ *qz = new QPauliZ(X, Y); return (QCircuit*)qz;};
21 };
22 //---------------------------------------------------------------------------
23 #endif

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