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

Function GenerateRandomHexaString

Testing/Core/vtkTestUtilities.cxx:1341–1348  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

1339
1340//----------------------------------------------------------------------------
1341std::string GenerateRandomHexaString()
1342{
1343 static std::minstd_rand gen;
1344 int n = gen();
1345 std::stringstream ss;
1346 ss << std::hex << n;
1347 return ss.str();
1348}
1349
1350//----------------------------------------------------------------------------
1351void GenerateNewRandomArrayName(std::string nameRoot, vtkAbstractArray* array1,

Callers 1

Calls 1

strMethod · 0.45

Tested by

no test coverage detected