MCPcopy Create free account
hub / github.com/OctoMap/octomap / writeBinary

Method writeBinary

octomap/src/AbstractOccupancyOcTree.cpp:50–58  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

48 }
49
50 bool AbstractOccupancyOcTree::writeBinary(const std::string& filename){
51 std::ofstream binary_outfile( filename.c_str(), std::ios_base::binary);
52
53 if (!binary_outfile.is_open()){
54 OCTOMAP_ERROR_STR("Filestream to "<< filename << " not open, nothing written.");
55 return false;
56 }
57 return writeBinary(binary_outfile);
58 }
59
60 bool AbstractOccupancyOcTree::writeBinaryConst(const std::string& filename) const{
61 std::ofstream binary_outfile( filename.c_str(), std::ios_base::binary);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected