| 41 | } |
| 42 | |
| 43 | map<string,float> Resistor::constructTolcodeMap() |
| 44 | { |
| 45 | map<string,float> tolcodeMap; |
| 46 | tolcodeMap["gray"]=0.05; |
| 47 | tolcodeMap["violet"]=0.1; |
| 48 | tolcodeMap["blue"]=0.25; |
| 49 | tolcodeMap["green"]=0.5; |
| 50 | tolcodeMap["brown"]=1; |
| 51 | tolcodeMap["red"]=2; |
| 52 | tolcodeMap["gold"]=5; |
| 53 | tolcodeMap["silver"]=10; |
| 54 | tolcodeMap["none"]=20; |
| 55 | return(tolcodeMap); |
| 56 | } |
| 57 | |
| 58 | map<float,vector<float> > Resistor::constructStandardResistorMap() |
| 59 | { |
nothing calls this directly
no outgoing calls
no test coverage detected