My Project  0.0.16
QUCS Mapping
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Protected Member Functions | List of all members
LibComp Class Reference

#include <libcomp.h>

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

Public Member Functions

 LibComp ()
 
 ~LibComp ()
 
ComponentnewOne ()
 
bool createSubNetlist (QTextStream *, QStringList &, int type=1)
 
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 (QPainter *)
 
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 &)
 
- Public Member Functions inherited from Element
 Element ()
 
virtual ~Element ()
 

Protected Member Functions

QString netlist ()
 
QString vhdlCode (int)
 
QString verilogCode (int)
 
void createSymbol ()
 

Additional Inherited Members

- Public Attributes inherited from Component
bool mirroredX
 
int rotated
 
QPtrList< LineLines
 
QPtrList< struct ArcArcs
 
QPtrList< AreaRects
 
QPtrList< AreaEllips
 
QPtrList< PortPorts
 
QPtrList< TextTexts
 
QPtrList< PropertyProps
 
int isActive
 
int tx
 
int ty
 
bool showName
 
QString Model
 
QString Name
 
QString Description
 

Detailed Description

Definition at line 24 of file libcomp.h.

Constructor & Destructor Documentation

LibComp::LibComp ( )

Definition at line 37 of file libcomp.cpp.

Here is the caller graph for this function:

LibComp::~LibComp ( )
inline

Definition at line 27 of file libcomp.h.

Member Function Documentation

bool LibComp::createSubNetlist ( QTextStream *  stream,
QStringList &  FileList,
int  type = 1 
)

Definition at line 233 of file libcomp.cpp.

Here is the call graph for this function:

void LibComp::createSymbol ( )
protectedvirtual

Reimplemented from MultiViewComponent.

Definition at line 66 of file libcomp.cpp.

QString LibComp::getSubcircuitFile ( )
virtual

Reimplemented from Component.

Definition at line 225 of file libcomp.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

QString LibComp::netlist ( )
protectedvirtual

Reimplemented from Component.

Definition at line 279 of file libcomp.cpp.

Component * LibComp::newOne ( )
virtual

Reimplemented from Component.

Definition at line 54 of file libcomp.cpp.

Here is the call graph for this function:

QString LibComp::verilogCode ( int  )
protectedvirtual

Reimplemented from Component.

Definition at line 298 of file libcomp.cpp.

QString LibComp::vhdlCode ( int  )
protectedvirtual

Reimplemented from Component.

Definition at line 313 of file libcomp.cpp.


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