Class Reference component

A component (=device) which can be placed in the schematic window. More...

Member

void createSymbol(netList *nl)
string description
string extractionMethod
string extractionParameter
string extractionDeviceParameter
string label
string prefix
string layout
void setName(string name)
void setLibrary(string library)
string getLibrary()
string getName()
symbol * getSymbol(int pos=0)
void setModel(string type,string value)
void setNameLibrary(string name,string library)
void setNetlist(string type,string value)
void setSymbol(sheet *symbol)

Detailed Description

a component or device which can be placed in the schematic window

Member Function Documentation


void component::createSymbol(netList *nl)

generate a symbol from the netlist in an automaticway as a simple black box. (introduced with release 20210103)


string component::description

description of the component


string component::extractionMethod

method used to extract the component from the layout. For available methods please see: EditComponent and ExtractionDevice.


string component::extractionParameter

parameter for the extraction method used to extract the component from the layout. For available parameter please see: EditComponent and ExtractionDevice.


string component::extractionDeviceParameter

componant parameter used for extracted devices from the layout. For detail please see: EditComponent and ExtractionDevice.


string component::label

description of the component label


string component::prefix

prefix used for device names


string component::layout

layout or macro to be used for this component


void component::setName(string name)

sets the name of the component


void component::setLibrary(string library)

set the library the component belongs to


string component::getLibrary()

Returns: name of the library


string component::getName()

Returns: name of the component


symbol * component::getSymbol(int pos=0)

Returns: a pointer to the symbol of the component. In case the component has more than one symbol, the different symbol can be acces with the pos parameter. The point can be use to edit the symbol. (introduced with release 20180501)


void component::setModel(string type,string value)

set the model information for a simulation of type. (introduced with release 20210103)


void component::setNameLibrary(string name,string library)

sets the name and the library of the component


void component::setNetlist(string type,string value)

set the netlist information for a simulation of type. (introduced with release 20210103)


void component::setSymbol(sheet *symbol)

extract a symbol of the sheet and sets it to the symbol of this component.