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

#include "Capacitor.h"

Inheritance diagram for Capacitor:
CircuitElement

Public Member Functions

 Capacitor (std::string capacity, std::string itemName, std::string editorName, ot::UID Uid, std::string netlistName)
 
 ~Capacitor ()
 
std::string type () const override
 
const std::string getCapacity () const
 
std::string setCapacity (std::string capacity)
 
- 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

◆ Capacitor()

Capacitor::Capacitor ( std::string capacity,
std::string itemName,
std::string editorName,
ot::UID Uid,
std::string netlistName )

◆ ~Capacitor()

Capacitor::~Capacitor ( )

Member Function Documentation

◆ getCapacity()

const std::string Capacitor::getCapacity ( ) const
inline

◆ setCapacity()

std::string Capacitor::setCapacity ( std::string capacity)
inline

◆ type()

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

Implements CircuitElement.


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