Doxygen 1.9.1
Toolkit for Adaptive Stochastic Modeling and Non-Intrusive ApproximatioN: Tasmanian v8.2 (development)
TasGrid::VectorToStreamBuffer Class Reference

Coverts a vector to basic stream-buffer. More...

#include <tsgMPIScatterGrid.hpp>

Inheritance diagram for TasGrid::VectorToStreamBuffer:
Collaboration diagram for TasGrid::VectorToStreamBuffer:

Public Member Functions

 VectorToStreamBuffer (std::vector< char > &data)
 Make a stream-buffer from the data vector.
 

Detailed Description

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.


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