void XMLwriter::print(std::string fName) const { plb_ofstream ofile(fName.c_str()); plbIOError( !ofile.is_open(), std::string("Could not open file ") + fName + std::string(" for write access") ); toOutputStream(ofile); }
void XMLwriter::print(std::string fName) const { std::ofstream ofile(fName.c_str()); EPC_MSG_ASSERT(std::string("Could not open file ") + fName + std::string(" for write access. "), !ofile.is_open()); toOutputStream(ofile); }