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

Method InsertIntoArchive

IO/Export/vtkJSONDataSetWriter.cxx:364–370  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

362 void OpenArchive() override {}
363 void CloseArchive() override {}
364 void InsertIntoArchive(const std::string& filePath, const char* data, std::size_t size) override
365 {
366 vtksys::ofstream file;
367 file.open(filePath.c_str(), ios::out | ios::binary);
368 file.write(data, size);
369 file.close();
370 }
371
372private:
373 vtkSingleFileArchiver() = default;

Callers 2

WriteMethod · 0.45
operator()Method · 0.45

Calls 4

openMethod · 0.45
c_strMethod · 0.45
writeMethod · 0.45
closeMethod · 0.45

Tested by

no test coverage detected