Qucs-GUI  0.0.18
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
VHDL_File Class Reference

#include <vhdlfile.h>

Inheritance diagram for VHDL_File:
MultiViewComponent Component Element

Public Member Functions

 VHDL_File ()
 
 ~VHDL_File ()
 
ComponentnewOne ()
 
bool createSubNetlist (QTextStream *)
 
QString getErrorText ()
 
QString getSubcircuitFile ()
 
- Public Member Functions inherited from MultiViewComponent
 MultiViewComponent ()
 
virtual ~MultiViewComponent ()
 
void recreate (Schematic *)
 
- Public Member Functions inherited from Component
 Component ()
 
virtual ~Component ()
 
QString getNetlist ()
 
QString get_VHDL_Code (int)
 
QString get_Verilog_Code (int)
 
void paint (ViewPainter *)
 
void paintScheme (Schematic *)
 
void print (ViewPainter *, float)
 
void setCenter (int, int, bool relative=false)
 
void getCenter (int &, int &)
 
int textSize (int &, int &)
 
void Bounding (int &, int &, int &, int &)
 
void entireBounds (int &, int &, int &, int &, float)
 
bool getSelected (int, int)
 
int getTextSelected (int, int, float)
 
void rotate ()
 
void mirrorX ()
 
void mirrorY ()
 
QString save ()
 
bool load (const QString &)
 
virtual void setSchematic (Schematic *p)
 
- Public Member Functions inherited from Element
 Element ()
 
virtual ~Element ()
 

Static Public Member Functions

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

Protected Member Functions

QString vhdlCode (int)
 
void createSymbol ()
 
QString loadFile ()
 
- Protected Member Functions inherited from Component
virtual QString netlist ()
 
virtual QString verilogCode (int)
 
int analyseLine (const QString &, int)
 
bool getIntegers (const QString &, int *i1=0, int *i2=0, int *i3=0, int *i4=0, int *i5=0, int *i6=0)
 
bool getPen (const QString &, QPen &, int)
 
bool getBrush (const QString &, QBrush &, int)
 
void copyComponent (Component *)
 
PropertygetProperty (const QString &)
 

Protected Attributes

QString EntityName
 
QString ErrText
 
QString TypeNames
 
QString GenTypes
 
QString GenNames
 
QString GenDefs
 
- Protected Attributes inherited from Component
SchematiccontainingSchematic
 

Additional Inherited Members

- Data Fields inherited from Component
bool mirroredX
 
int rotated
 
Q3PtrList< LineLines
 
Q3PtrList< struct ArcArcs
 
Q3PtrList< AreaRects
 
Q3PtrList< AreaEllips
 
Q3PtrList< PortPorts
 
Q3PtrList< TextTexts
 
Q3PtrList< PropertyProps
 
int isActive
 
int tx
 
int ty
 
bool showName
 
QString Model
 
QString Name
 
QString Description
 
- Data Fields inherited from Element
bool isSelected
 
int Type
 
int cx
 
int cy
 
int x1
 
int y1
 
int x2
 
int y2
 

Detailed Description

Definition at line 26 of file vhdlfile.h.

Constructor & Destructor Documentation

VHDL_File::VHDL_File ( )

Definition at line 30 of file vhdlfile.cpp.

VHDL_File::~VHDL_File ( )
inline

Definition at line 29 of file vhdlfile.h.

Member Function Documentation

bool VHDL_File::createSubNetlist ( QTextStream *  stream)

Definition at line 212 of file vhdlfile.cpp.

void VHDL_File::createSymbol ( )
protectedvirtual

Reimplemented from MultiViewComponent.

Definition at line 125 of file vhdlfile.cpp.

QString VHDL_File::getErrorText ( )
inline

Definition at line 34 of file vhdlfile.h.

QString VHDL_File::getSubcircuitFile ( )
virtual

Reimplemented from Component.

Definition at line 204 of file vhdlfile.cpp.

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

Definition at line 55 of file vhdlfile.cpp.

QString VHDL_File::loadFile ( )
protected

Definition at line 99 of file vhdlfile.cpp.

Component * VHDL_File::newOne ( )
virtual

Reimplemented from Component.

Definition at line 46 of file vhdlfile.cpp.

QString VHDL_File::vhdlCode ( int  )
protectedvirtual

Reimplemented from Component.

Definition at line 69 of file vhdlfile.cpp.

Field Documentation

QString VHDL_File::EntityName
protected

Definition at line 42 of file vhdlfile.h.

QString VHDL_File::ErrText
protected

Definition at line 43 of file vhdlfile.h.

QString VHDL_File::GenDefs
protected

Definition at line 47 of file vhdlfile.h.

QString VHDL_File::GenNames
protected

Definition at line 46 of file vhdlfile.h.

QString VHDL_File::GenTypes
protected

Definition at line 45 of file vhdlfile.h.

QString VHDL_File::TypeNames
protected

Definition at line 44 of file vhdlfile.h.


The documentation for this class was generated from the following files: