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

Method GetString

Source/ModuleSaveData.cpp:176–182  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

174}
175
176std::string ModuleSaveData::GetString(std::string prop)
177{
178 const SaveVal* save = GetVal(prop);
179 assert(save);
180 assert(save->mType == kString);
181 return save->mString;
182}
183
184int ModuleSaveData::LoadInt(std::string prop, const ofxJSONElement& moduleInfo, int defaultValue, int min, int max, bool isTextField)
185{

Callers 15

SetUpFromSaveDataMethod · 0.80
SetUpFromSaveDataMethod · 0.80
SetUpFromSaveDataMethod · 0.80
SetUpFromSaveDataMethod · 0.80
SetUpFromSaveDataMethod · 0.80
SetUpFromSaveDataMethod · 0.80
SetUpFromSaveDataMethod · 0.80
SetUpFromSaveDataMethod · 0.80
SetUpFromSaveDataMethod · 0.80
SetUpFromSaveDataMethod · 0.80
SetUpFromSaveDataMethod · 0.80
SetUpFromSaveDataMethod · 0.80

Calls

no outgoing calls

Tested by 4

SetUpFromSaveDataMethod · 0.64
SetUpFromSaveDataMethod · 0.64
SetUpFromSaveDataMethod · 0.64
SetUpFromSaveDataMethod · 0.64