MCPcopy Create free account
hub / github.com/LuxCoreRender/LuxCore / Delete

Method Delete

src/luxrays/utils/properties.cpp:954–960  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

952}
953
954void Properties::Delete(const string &propName) {
955 vector<string>::iterator it = find(names.begin(), names.end(), propName);
956 if (it != names.end())
957 names.erase(it);
958
959 props.erase(propName);
960}
961
962void Properties::DeleteAll(const vector<string> &propNames) {
963 BOOST_FOREACH(const string &n, propNames)

Callers 4

RunRemoveUnusedTestMethod · 0.95
RunHaltTestMethod · 0.95
RunHaltEditTestMethod · 0.95

Calls 3

beginMethod · 0.45
endMethod · 0.45
eraseMethod · 0.45

Tested by 4

RunRemoveUnusedTestMethod · 0.76
RunHaltTestMethod · 0.76
RunHaltEditTestMethod · 0.76