2004-07-17 17:19:00 +00:00
|
|
|
/***************************************************************************
|
2005-10-24 06:10:35 +00:00
|
|
|
bjtsub.h
|
|
|
|
----------
|
2004-07-17 17:19:00 +00:00
|
|
|
begin : Sat Jul 17 2004
|
|
|
|
copyright : (C) 2004 by Michael Margraf
|
|
|
|
email : michael.margraf@alumni.tu-berlin.de
|
|
|
|
***************************************************************************/
|
|
|
|
|
|
|
|
/***************************************************************************
|
|
|
|
* *
|
|
|
|
* This program is free software; you can redistribute it and/or modify *
|
|
|
|
* it under the terms of the GNU General Public License as published by *
|
|
|
|
* the Free Software Foundation; either version 2 of the License, or *
|
|
|
|
* (at your option) any later version. *
|
|
|
|
* *
|
|
|
|
***************************************************************************/
|
|
|
|
|
|
|
|
#ifndef BJTSUB_H
|
|
|
|
#define BJTSUB_H
|
|
|
|
|
|
|
|
#include "component.h"
|
|
|
|
|
|
|
|
|
2007-02-19 07:07:50 +00:00
|
|
|
class Basic_BJT : public MultiViewComponent {
|
|
|
|
public:
|
|
|
|
Basic_BJT();
|
|
|
|
~Basic_BJT() {};
|
|
|
|
};
|
|
|
|
|
|
|
|
class BJTsub : public Basic_BJT {
|
2004-07-17 17:19:00 +00:00
|
|
|
public:
|
|
|
|
BJTsub();
|
2006-04-28 06:04:44 +00:00
|
|
|
~BJTsub() {};
|
2004-07-17 17:19:00 +00:00
|
|
|
Component* newOne();
|
2005-06-23 06:06:40 +00:00
|
|
|
static Element* info(QString&, char* &, bool getNewOne=false);
|
|
|
|
static Element* info_pnp(QString&, char* &, bool getNewOne=false);
|
2006-04-28 06:04:44 +00:00
|
|
|
|
|
|
|
protected:
|
2024-12-30 16:48:05 +01:00
|
|
|
QString spice_netlist(spicecompat::SpiceDialect dialect = spicecompat::SPICEDefault);
|
2024-12-16 16:16:48 +01:00
|
|
|
virtual QString cdl_netlist();
|
2006-04-28 06:04:44 +00:00
|
|
|
void createSymbol();
|
2004-07-17 17:19:00 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|