|
std::string | getName () |
| returns the name of the source.
|
|
std::string | getNegative () |
| returns the negative connector of the source.
|
|
std::string | getPositive () |
| returns the positive connector of the source.
|
|
std::string | getValue () |
| returns the value of the source.
|
|
|
| Source (std::string name, std::string pos, std::string neg, std::string value) |
| creates a new source. More...
|
|
This abstract class is a base class for SPICE::Current and SPICE::Voltage sources.
◆ Source()
Source |
( |
std::string |
name, |
|
|
std::string |
pos, |
|
|
std::string |
neg, |
|
|
std::string |
value |
|
) |
| |
|
inlineprotected |
creates a new source.
- Parameters
-
name | the name of the source. |
pos | the positive connector of the source. |
neg | the negative connector of the source. |
value | the value of the source. |