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

Method EncodeString

IO/Core/vtkWriter.cxx:110–116  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

108}
109
110void vtkWriter::EncodeString(char* resname, const char* name)
111{
112 std::ostringstream str;
113 vtkWriter::EncodeWriteString(&str, name);
114 const auto string = str.str();
115 std::copy_n(string.c_str(), string.size() + 1, resname);
116}
117
118void vtkWriter::EncodeString(char* resname, const char* name, bool doublePercent)
119{

Callers 9

WriteScalarDataMethod · 0.45
WriteVectorDataMethod · 0.45
WriteNormalDataMethod · 0.45
WriteTCoordDataMethod · 0.45
WriteTensorDataMethod · 0.45
WriteGlobalIdDataMethod · 0.45
WritePedigreeIdDataMethod · 0.45
WriteEdgeFlagsDataMethod · 0.45
WriteFieldDataMethod · 0.45

Calls 3

strMethod · 0.45
c_strMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected