MCPcopy Create free account
hub / github.com/Kitware/VTK / GetArgument

Method GetArgument

Testing/Rendering/vtkTesting.cxx:196–204  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

194
195//------------------------------------------------------------------------------
196char* vtkTesting::GetArgument(const char* argName)
197{
198 string argValue = vtkTestingGetArgOrEnvOrDefault(argName, this->Args, "", "");
199
200 char* cArgValue = new char[argValue.size() + 1];
201 strcpy(cArgValue, argValue.c_str());
202
203 return cArgValue;
204}
205//------------------------------------------------------------------------------
206void vtkTesting::CleanArguments()
207{

Callers

nothing calls this directly

Calls 3

sizeMethod · 0.45
c_strMethod · 0.45

Tested by

no test coverage detected