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

Function ConvertStringToSignedChar

IO/PostgreSQL/vtkPostgreSQLQuery.cxx:622–633  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

620//------------------------------------------------------------------------------
621
622vtkVariant ConvertStringToSignedChar(bool isBinary, const char* rawData)
623{
624 if (isBinary)
625 {
626 return vtkVariant(rawData[0]);
627 }
628 else
629 {
630 vtkVariant converter(rawData);
631 return vtkVariant(converter.ToChar());
632 }
633}
634
635//------------------------------------------------------------------------------
636

Callers 1

DataValueMethod · 0.85

Calls 2

ToCharMethod · 0.80
vtkVariantClass · 0.70

Tested by

no test coverage detected