MCPcopy Create free account
hub / github.com/Qucs/qucs / constructTolcodeMap

Method constructTolcodeMap

qucs-rescodes/resistor.cpp:43–56  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

41}
42
43map<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
58map<float,vector<float> > Resistor::constructStandardResistorMap()
59{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected