MCPcopy Create free account
hub / github.com/OpenDDS/OpenDDS / write

Method write

dds/DCPS/FileSystemStorage.cpp:478–484  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

476}
477
478bool File::write(std::ofstream& stream)
479{
480 CwdGuard cg(physical_dir_);
481 stream.open(ACE_TEXT_ALWAYS_CHAR(physical_file_.c_str()),
482 ios::binary | ios::out);
483 return !stream.bad() && !stream.fail();
484}
485
486bool File::read(std::ifstream& stream)
487{

Callers

nothing calls this directly

Calls 1

openMethod · 0.45

Tested by

no test coverage detected