A base64::stream is used to wrap a C++ standard I/O stream with a base64::streambuf so that encoding/decoding and the management of the streambuf happens automatically.
More...
#include <zorba/base64_stream.h>
Public Member Functions |
| stream () |
| Constructs a base64::stream.
|
template<typename StreamArgType > |
| stream (StreamArgType stream_arg) |
| Constructs a stream.
|
template<typename StreamArgType > |
| stream (StreamArgType stream_arg, std::ios_base::openmode mode) |
| Constructs a base64::stream.
|
Detailed Description
template<class StreamType>
class zorba::base64::stream< StreamType >
A base64::stream is used to wrap a C++ standard I/O stream with a base64::streambuf so that encoding/decoding and the management of the streambuf happens automatically.
A base64::stream is useful for streams created by you.
- Template Parameters
-
StreamType | The I/O stream class type to wrap. It must be a concrete stream class. |
Definition at line 247 of file base64_stream.h.
Constructor & Destructor Documentation
template<class StreamType >
template<class StreamType >
template<typename StreamArgType >
Constructs a stream.
- Template Parameters
-
StreamArgType | The type of the first argument of StreamType's constructor. |
- Parameters
-
stream_arg | The argument to pass as the first argument to StreamType's constructor. |
Definition at line 274 of file base64_stream.h.
template<class StreamType >
template<typename StreamArgType >
Constructs a base64::stream.
- Template Parameters
-
StreamArgType | The type of the first argument of StreamType's constructor. |
- Parameters
-
stream_arg | The argument to pass as the first argument to StreamType's constructor. |
mode | The open-mode to pass to StreamType's constructor. |
Definition at line 298 of file base64_stream.h.
The documentation for this class was generated from the following file: