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

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

#include <DataStream.hxx>

Inheritance diagram for resip::oDataStream:
[legend]

Public Member Functions

 oDataStream (Data &str)
 Constructs a oDataStream with a Data to operate on.
 
 ~oDataStream ()
 Calls flush on itself to force the update to the Data reference passed into the constructor.
 
void reset ()
 Clears the underlying Data reference.
 

Detailed Description

An ostream that operates on an existing Data.

The data is appended to the reference passed to the constructor. The data is valid after DataStream's destructor is called.

Definition at line 103 of file DataStream.hxx.

Constructor & Destructor Documentation

◆ oDataStream()

oDataStream::oDataStream ( Data &  str)

Constructs a oDataStream with a Data to operate on.

Parameters
strA Data to operate on.

Definition at line 138 of file DataStream.cxx.

◆ ~oDataStream()

oDataStream::~oDataStream ( )

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

Definition at line 146 of file DataStream.cxx.

Member Function Documentation

◆ reset()

void oDataStream::reset ( )

Clears the underlying Data reference.

Definition at line 152 of file DataStream.cxx.


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