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

Method GetValidString

IO/Export/vtkJSONDataSetWriter.cxx:512–522  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

510//------------------------------------------------------------------------------
511
512std::string vtkJSONDataSetWriter::GetValidString(const char* name)
513{
514 if (name != nullptr && strlen(name))
515 {
516 return name;
517 }
518 std::stringstream ss;
519 ss << "invalid_" << this->ValidStringCount++;
520
521 return ss.str();
522}
523VTK_ABI_NAMESPACE_END

Callers 1

WriteArrayMethod · 0.95

Calls 1

strMethod · 0.45

Tested by

no test coverage detected