15#include <Sortie_Brute.h>
17#include <EntreeSortie.h>
20using std::ostringstream;
28 ostream_ = std::make_unique<std::ostringstream>();
39 const ostringstream& os =
static_cast< const ostringstream&
>(
get_ostream());
40 string_ = std::string(os.str());
46 const ostringstream& os =
static_cast< const ostringstream&
>(
get_ostream());
47 return (
unsigned)os.str().size();
54 Cerr <<
"Error in Sortie_Brute::set_bin(bool bin) : only binary format supported. Use SChaine otherwise." << finl;
static void exit(int exit_code=-1)
Exit routine for TRUST within a Kokkos region.
unsigned get_size() const
const char * get_data() const
returns a pointer to the internal data.
void set_bin(bool bin) override
Changes the write mode of the file.
void set_bin(bool bin) override
Changes the write mode of the file.
std::unique_ptr< ostream > ostream_