blob: 11efe2305bb0988a1169aeac00bb13a4fa759fcf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#pragma once
#include "IComponent.h"
class Capacitor : public IComponent {
private:
double capacity;
bool bIsElectrolitic; // electrolytic but misspelled
public:
Capacitor(double capacity, bool isElectrolitic);
virtual double getValue();
virtual bool isElectrolitic();
virtual void accept(Visitor&);
};
|