MCPcopy Create free account
hub / github.com/RomanKubiak/ctrlr / copyFrom

Method copyFrom

Source/UIComponents/CtrlrValueMap.cpp:166–179  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

164}
165
166void CtrlrValueMap::copyFrom (const CtrlrValueMap &map)
167{
168 values = map.getMap();
169 numericValues = map.getNumericValues();
170 currentValue = map.getCurrentNonMappedValue();
171
172 additionalData.clear();
173
174 HashMap<int,String>::Iterator i(map.getAdditionalData());
175 while (i.next())
176 {
177 additionalData.set (i.getKey(), i.getValue());
178 }
179}
180
181bool CtrlrValueMap::mappedValueExists (const int mappedValue)
182{

Callers 8

comboContentChangedMethod · 0.45
sliderContentChangedMethod · 0.45
sliderContentChangedMethod · 0.45
buttonContentChangedMethod · 0.45
buttonContentChangedMethod · 0.45
buttonContentChangedMethod · 0.45
listboxContentChangedMethod · 0.45
addBlockMethod · 0.45

Calls 7

getAdditionalDataMethod · 0.80
getKeyMethod · 0.80
clearMethod · 0.45
nextMethod · 0.45
setMethod · 0.45
getValueMethod · 0.45

Tested by

no test coverage detected