reSIProcate
SIP stack, Dialog Usage Manager and related libraries
Loading...
Searching...
No Matches
resip::DataStream Class Reference

An iostream that operates on an existing Data. More...

#include <DataStream.hxx>

Inheritance diagram for resip::DataStream:
[legend]

Public Member Functions

 DataStream (Data &str)
 Constructs a DataStream with a Data to operate on.
 
 ~DataStream ()
 Calls flush on itself to force the update to the Data reference passed into the constructor.
 

Detailed Description

An iostream that operates on an existing Data.

The data written to the stream is appended to the reference passed to the constructor. The data is valid after DataStream's destructor is called. Data read from the stream is read from the reference passed to the constructor.

Definition at line 56 of file DataStream.hxx.

Constructor & Destructor Documentation

◆ DataStream()

DataStream::DataStream ( Data &  str)

Constructs a DataStream with a Data to operate on.

Parameters
strA Data to operate on.

Definition at line 164 of file DataStream.cxx.

◆ ~DataStream()

DataStream::~DataStream ( )

Calls flush on itself to force the update to the Data reference passed into the constructor.

Definition at line 176 of file DataStream.cxx.


The documentation for this class was generated from the following files: