Regina Calculation Engine
An output stream buffer that translates between character encodings. More...
|Creates a new stream buffer. More...|
|Destroys this stream buffer. More...|
|IConvStreamBuffer *||open (std::ostream &dest, const char *srcCode, const char *destCode)|
|Opens a new stream buffer that wraps around the given output stream. More...|
|IConvStreamBuffer *||close () throw ()|
|Closes this stream buffer. More...|
|int_type||overflow (int_type c)|
|Sends buffered data to the destination output stream, converting between character sets en route. More...|
|Simply returns EOF (since this is not an input stream). More...|
|Flushes all output buffers. More...|
An output stream buffer that translates between character encodings.
The iconv library is used to do the real work.
Users should not normally instantiate this class directly; instead see IConvStream for a higher-level interface to character conversion.
This class will still work if iconv is not supported on the build machine, though in this case it will simply pass data through without performing any translations.