MCPcopy Create free account
hub / github.com/OpenPTrack/open_ptrack_v2 / Write

Method Write

opt_utils/src/json.cpp:728–736  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

726 }
727
728 void FileWriter::Write(const Node &root, const Format &format)
729 {
730 Writer writer(root, format);
731 writer.Write();
732
733 std::fstream file(filename.c_str(), std::ios::out | std::ios::trunc);
734 file << writer.GetResult();
735 file.close();
736 }
737
738
739 FileReader::FileReader(const std::string &filename)

Callers 9

CommitMethod · 0.80
synchronizedCallbackFunction · 0.80
toJsonPoseMsgFunction · 0.80
trackingCallbackFunction · 0.80
aliveIDsCallbackFunction · 0.80
trackingCallbackFunction · 0.80
peopleTracksCallbackFunction · 0.80
aliveIDsCallbackFunction · 0.80
WriteFileMethod · 0.80

Calls 1

closeMethod · 0.80

Tested by

no test coverage detected