MCPcopy Create free account
hub / github.com/BespokeSynth/BespokeSynth / SetString

Method SetString

Source/ModuleSaveData.cpp:126–132  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

124}
125
126void ModuleSaveData::SetString(std::string prop, std::string val)
127{
128 SaveVal* save = GetVal(prop);
129 assert(save);
130 save->mType = kString;
131 StringCopy(save->mString, val.c_str(), MAX_TEXTENTRY_LENGTH);
132}
133
134void ModuleSaveData::SetExtents(std::string prop, float min, float max)
135{

Callers 5

LoadControllerLayoutMethod · 0.80
ConnectDeviceMethod · 0.80
SpawnModuleOnTheFlyMethod · 0.80
SetVSTMethod · 0.80
UpdateTargetFunction · 0.80

Calls 1

StringCopyFunction · 0.85

Tested by

no test coverage detected