Doxygen
1.9.1
|
Coverts a vector to basic stream-buffer. More...
#include <tsgMPIScatterGrid.hpp>
Public Member Functions | |
VectorToStreamBuffer (std::vector< char > &data) | |
Make a stream-buffer from the data vector. | |
Coverts a vector to basic stream-buffer.
The stream-buffer is the data portion of the stream, this class converts a char-vector to such buffer. The stream buffer will simply assume the begin, end and data-type pointers from the vector, therefore, using iterator invalidating operations on the vector that invalidate will also invalidate the stream-buffer.