If you want to have all the data delivered at the same time, you can use a buffer:
A call of operator<< would send the characters to that buffer,
When the buffer is full or you flush it you can send all the data at once.
You'll have to add some sort of manipulator to your class so that you can use this: MYCLASS <<"hello" << a_string << "how are you" << flush;