Qucs-GUI  0.0.19
Public Member Functions | Static Public Member Functions | Data Fields | Protected Member Functions | Private Slots | Private Member Functions | Private Attributes
SpiceFile Class Reference

#include <spicefile.h>

Inheritance diagram for SpiceFile:
Inheritance graph
[legend]
Collaboration diagram for SpiceFile:
Collaboration graph
[legend]

Public Member Functions

 SpiceFile ()
 ~SpiceFile ()
ComponentnewOne ()
bool createSubNetlist (QTextStream *)
QString getErrorText ()
QString getSubcircuitFile ()

Static Public Member Functions

static Elementinfo (QString &, char *&, bool getNewOne=false)

Data Fields

bool withSim

Protected Member Functions

QString netlist ()
void createSymbol ()

Private Slots

void slotGetNetlist ()
void slotGetError ()
void slotExited ()
void slotSkipOut ()
void slotSkipErr ()
void slotGetPrepOut ()
void slotGetPrepErr ()

Private Member Functions

bool recreateSubNetlist (QString *, QString *)

Private Attributes

bool makeSubcircuit
bool insertSim
bool changed
QProcess * QucsConv
QProcess * SpicePrep
QString NetText
QString ErrText
QString NetLine
QString SimText
QTextStream * outstream
QTextStream * filstream
QTextStream * prestream
QDateTime lastLoaded

Detailed Description

Definition at line 29 of file spicefile.h.


Constructor & Destructor Documentation

Definition at line 41 of file spicefile.cpp.

Here is the caller graph for this function:

SpiceFile::~SpiceFile ( ) [inline]

Definition at line 33 of file spicefile.h.


Member Function Documentation

bool SpiceFile::createSubNetlist ( QTextStream *  stream)

Definition at line 265 of file spicefile.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void SpiceFile::createSymbol ( ) [protected, virtual]

Reimplemented from MultiViewComponent.

Definition at line 82 of file spicefile.cpp.

QString SpiceFile::getErrorText ( ) [inline]

Definition at line 39 of file spicefile.h.

Here is the caller graph for this function:

QString SpiceFile::getSubcircuitFile ( ) [virtual]
Todo:
improve GUI/CLI error/warning

Reimplemented from Component.

Definition at line 167 of file spicefile.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

Element * SpiceFile::info ( QString &  Name,
char *&  BitmapFile,
bool  getNewOne = false 
) [static]

Definition at line 68 of file spicefile.cpp.

Here is the call graph for this function:

QString SpiceFile::netlist ( ) [protected, virtual]

Reimplemented from Component.

Definition at line 152 of file spicefile.cpp.

Here is the call graph for this function:

Component * SpiceFile::newOne ( ) [virtual]

Reimplemented from Component.

Definition at line 60 of file spicefile.cpp.

Here is the call graph for this function:

bool SpiceFile::recreateSubNetlist ( QString *  SpiceFile,
QString *  FileName 
) [private]

these slots might write into NetText, ErrText, outstream, filstream

Definition at line 320 of file spicefile.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void SpiceFile::slotExited ( ) [private, slot]

Definition at line 538 of file spicefile.cpp.

Here is the caller graph for this function:

void SpiceFile::slotGetError ( ) [private, slot]

Definition at line 502 of file spicefile.cpp.

Here is the caller graph for this function:

void SpiceFile::slotGetNetlist ( ) [private, slot]

Definition at line 508 of file spicefile.cpp.

Here is the caller graph for this function:

void SpiceFile::slotGetPrepErr ( ) [private, slot]

Definition at line 490 of file spicefile.cpp.

Here is the caller graph for this function:

void SpiceFile::slotGetPrepOut ( ) [private, slot]

Definition at line 496 of file spicefile.cpp.

Here is the caller graph for this function:

void SpiceFile::slotSkipErr ( ) [private, slot]

Definition at line 478 of file spicefile.cpp.

void SpiceFile::slotSkipOut ( ) [private, slot]

Definition at line 484 of file spicefile.cpp.

Here is the caller graph for this function:


Field Documentation

bool SpiceFile::changed [private]

Definition at line 45 of file spicefile.h.

QString SpiceFile::ErrText [private]

Definition at line 47 of file spicefile.h.

QTextStream * SpiceFile::filstream [private]

Definition at line 48 of file spicefile.h.

bool SpiceFile::insertSim [private]

Definition at line 44 of file spicefile.h.

QDateTime SpiceFile::lastLoaded [private]

Definition at line 49 of file spicefile.h.

bool SpiceFile::makeSubcircuit [private]

Definition at line 43 of file spicefile.h.

QString SpiceFile::NetLine [private]

Definition at line 47 of file spicefile.h.

QString SpiceFile::NetText [private]

Definition at line 47 of file spicefile.h.

QTextStream* SpiceFile::outstream [private]

Definition at line 48 of file spicefile.h.

QTextStream * SpiceFile::prestream [private]

Definition at line 48 of file spicefile.h.

QProcess* SpiceFile::QucsConv [private]

Definition at line 46 of file spicefile.h.

QString SpiceFile::SimText [private]

Definition at line 47 of file spicefile.h.

QProcess * SpiceFile::SpicePrep [private]

Definition at line 46 of file spicefile.h.

Definition at line 37 of file spicefile.h.


The documentation for this class was generated from the following files:
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines