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)
Routine de sortie de TRUST dans une region Kokkos.
unsigned get_size() const
const char * get_data() const
returns a pointer to the internal data.
void set_bin(bool bin) override
Change le mode d'ecriture du fichier.
void set_bin(bool bin) override
Change le mode d'ecriture du fichier.
std::unique_ptr< ostream > ostream_