>you can create a whole new output class and overload <<
Two words: custom manipulator.