MCPcopy Create free account
hub / github.com/davideberly/GeometricTools / Remove

Method Remove

GTE/Graphics/ProgramDefines.cpp:28–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26}
27
28void ProgramDefines::Remove(std::string const& name)
29{
30 for (auto iter = mDefinitions.begin(); iter != mDefinitions.end(); ++iter)
31 {
32 if (name == iter->first)
33 {
34 mDefinitions.erase(iter);
35 break;
36 }
37 }
38}
39
40void ProgramDefines::Clear()
41{

Callers 1

RemoveTriangleMethod · 0.45

Calls 2

beginMethod · 0.80
endMethod · 0.80

Tested by

no test coverage detected