MCPcopy Create free account
hub / github.com/Kitware/ParaView / SaveSettingsToFile

Method SaveSettingsToFile

Remoting/ServerManager/vtkSMSettings.cxx:1152–1163  ·  view source on GitHub ↗

----------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

1150
1151//----------------------------------------------------------------------------
1152bool vtkSMSettings::SaveSettingsToFile(const std::string& filePath)
1153{
1154 if (this->Internal->SettingCollections.empty())
1155 {
1156 vtkVLogF(PARAVIEW_LOG_APPLICATION_VERBOSITY(), "settings empty, hence not saved.");
1157 return true;
1158 }
1159
1160 this->Internal->SortCollectionsIfNeeded();
1161
1162 return this->SaveSettingsToFile(filePath, this->Internal->SettingCollections[0].Priority);
1163}
1164
1165//----------------------------------------------------------------------------
1166bool vtkSMSettings::SaveSettingsToFile(const std::string& filePath, double priority)

Callers 2

FinalizeMethod · 0.80
TestSaveLoadFileFunction · 0.80

Calls 2

emptyMethod · 0.45

Tested by 1

TestSaveLoadFileFunction · 0.64