Ice 3.8
C++ API Reference
Loading...
Searching...
No Matches
Ice::StreamHelper< T, st > Struct Template Reference

A helper template class for writing (marshaling) and reading (unmarshaling) values to and from a stream of Slice-encoded bytes. More...

#include <Ice/Ice.h>

Static Public Member Functions

static void print (std::ostream &stream, T v)
 Prints a value to the stream.
static void read (InputStream *stream, T &v)
 Reads a value from the stream.
static void write (OutputStream *stream, T v)
 Writes a value to the stream.

Detailed Description

template<typename T, StreamHelperCategory st>
struct Ice::StreamHelper< T, st >

A helper template class for writing (marshaling) and reading (unmarshaling) values to and from a stream of Slice-encoded bytes.

This helper also prints Slice-defined types.

Template Parameters
TThe type of the value.
stThe stream helper category.

Definition at line 43 of file StreamHelpers.h.


The documentation for this struct was generated from the following file: