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


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. | |
Private Member Functions | |
| DataStream (const DataStream &) | |
| DataStream & | operator= (const DataStream &) |
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.
| DataStream::DataStream | ( | Data & | str | ) |
Constructs a DataStream with a Data to operate on.
| str | A Data to operate on. |
Definition at line 164 of file DataStream.cxx.
References resip::Data::mShareEnum, and resip::Data::Share.
: DataBuffer(str), #ifdef RESIP_USE_STL_STREAMS std::iostream(this) #else ResipFastOStream(this) #endif { // don't call this with a read-only buffer! assert(str.mShareEnum != Data::Share); }
| 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.
{
flush();
}
| resip::DataStream::DataStream | ( | const DataStream & | ) | [private] |
| DataStream& resip::DataStream::operator= | ( | const DataStream & | ) | [private] |
1.7.5.1