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

Method constructRevTolcodeMap

qucs-rescodes/resistor.cpp:103–116  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

101}
102
103map<float,string> Resistor::constructRevTolcodeMap()
104{
105 map<float,string> revTolcodeMap;
106 revTolcodeMap[0.05]="gray";
107 revTolcodeMap[0.1]="violet";
108 revTolcodeMap[0.25]="blue";
109 revTolcodeMap[0.5]="green";
110 revTolcodeMap[1]="brown";
111 revTolcodeMap[2]="red";
112 revTolcodeMap[5]="gold";
113 revTolcodeMap[10]="silver";
114 revTolcodeMap[20]="none";
115 return(revTolcodeMap);
116}
117
118map<float,int> Resistor::constructNoOfResBandsMap()
119{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected