|
reSIProcate/rutil
9694
|
An ostream that operates on an existing Data. More...
#include <DataStream.hxx>


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. | |
Private Member Functions | |
| oDataStream (const oDataStream &) | |
| oDataStream & | operator= (const oDataStream &) |
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.
| oDataStream::oDataStream | ( | Data & | str | ) |
Constructs a oDataStream with a Data to operate on.
| str | A Data to operate on. |
Definition at line 138 of file DataStream.cxx.
References resip::Data::mShareEnum, and resip::Data::Share.
: DataBuffer(str), EncodeStream(this) { // don't call this with a read-only buffer! assert(str.mShareEnum != Data::Share); }
| 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.
{
flush();
}
| resip::oDataStream::oDataStream | ( | const oDataStream & | ) | [private] |
| oDataStream& resip::oDataStream::operator= | ( | const oDataStream & | ) | [private] |
| void oDataStream::reset | ( | ) |
Clears the underlying Data reference.
Definition at line 152 of file DataStream.cxx.
Referenced by main().
1.7.5.1