MCPcopy Create free account
hub / github.com/DBraun/DawDreamer / addArray

Method addArray

JuceLibraryCode/modules/juce_core/text/juce_StringArray.cpp:159–174  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

157}
158
159void StringArray::addArray (const StringArray& otherArray, int startIndex, int numElementsToAdd)
160{
161 jassert (this != &otherArray); // can't add from our own elements!
162
163 if (startIndex < 0)
164 {
165 jassertfalse;
166 startIndex = 0;
167 }
168
169 if (numElementsToAdd < 0 || startIndex + numElementsToAdd > otherArray.size())
170 numElementsToAdd = otherArray.size() - startIndex;
171
172 while (--numElementsToAdd >= 0)
173 strings.add (otherArray.strings.getReference (startIndex++));
174}
175
176void StringArray::mergeArray (const StringArray& otherArray, bool ignoreCase)
177{

Callers 15

addParameterGroupMethod · 0.45
sortMethod · 0.45
createTreeMethod · 0.45
getFormatsMethod · 0.45
readMethod · 0.45
addMethod · 0.45
appendMethod · 0.45
addGlyphArrangementMethod · 0.45
getAllCommandsMethod · 0.45

Calls 2

sizeMethod · 0.45
addMethod · 0.45

Tested by

no test coverage detected