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

Method constructRevColcodeMap

qucs-rescodes/resistor.cpp:85–101  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

83}
84
85map<int,string> Resistor::constructRevColcodeMap()
86{
87 map<int,string> revColcodeMap;
88 revColcodeMap[-2]="silver";
89 revColcodeMap[-1]="gold";
90 revColcodeMap[0]="black";
91 revColcodeMap[1]="brown";
92 revColcodeMap[2]="red";
93 revColcodeMap[3]="orange";
94 revColcodeMap[4]="yellow";
95 revColcodeMap[5]="green";
96 revColcodeMap[6]="blue";
97 revColcodeMap[7]="violet";
98 revColcodeMap[8]="gray";
99 revColcodeMap[9]="white";
100 return(revColcodeMap);
101}
102
103map<float,string> Resistor::constructRevTolcodeMap()
104{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected