OpenTwin 0.1
OpenTwin
 
Loading...
Searching...
No Matches
Diode Class Reference

#include "Diode.h"

Inheritance diagram for Diode:
CircuitElement

Public Member Functions

 Diode (std::string value, std::string itemName, std::string editorName, ot::UID Uid, std::string netlistName)
 
 ~Diode ()
 
std::string type () const override
 
const std::string getValue () const
 
std::string setValue (std::string value)
 
- Public Member Functions inherited from CircuitElement
 CircuitElement (std::string itemName, std::string editorName, ot::UID Uid, std::string netlistName)
 
virtual ~CircuitElement ()
 
std::string getItemName ()
 
std::string getEditorName ()
 
ot::UID getUID ()
 
std::map< std::string, Connection > & getList ()
 
std::string getNetlistName ()
 
std::string getCustomName ()
 
void setItemName (std::string name)
 
void setEditorName (std::string name)
 
void setUID (ot::UID id)
 
void setNetlistName (std::string name)
 
void setCustomName (std::string name)
 
void addConnection (std::string connactable, const Connection &obj)
 

Additional Inherited Members

- Protected Attributes inherited from CircuitElement
std::string m_itemName
 
std::string m_editorName
 
ot::UID m_Uid
 
std::string m_netlistName
 
std::string m_customName
 
std::map< std::string, Connectionm_listOfConnections
 

Constructor & Destructor Documentation

◆ Diode()

Diode::Diode ( std::string value,
std::string itemName,
std::string editorName,
ot::UID Uid,
std::string netlistName )

◆ ~Diode()

Diode::~Diode ( )

Member Function Documentation

◆ getValue()

const std::string Diode::getValue ( ) const
inline

◆ setValue()

std::string Diode::setValue ( std::string value)
inline

◆ type()

std::string Diode::type ( ) const
inlineoverridevirtual

Implements CircuitElement.


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