#include <dune/common/parallel/mpipack.hh>
◆ MPIPack() [1/3]
◆ MPIPack() [2/3]
◆ MPIPack() [3/3]
Dune::MPIPack::MPIPack |
( |
MPIPack && | | ) |
|
|
default |
◆ enlarge()
void Dune::MPIPack::enlarge |
( |
int | s | ) |
|
|
inline |
Enlarges the internal buffer.
◆ eof()
bool Dune::MPIPack::eof |
( |
| ) |
const |
|
inline |
Checks whether the end of the buffer is reached.
◆ getPackSize()
Returns the size of the data needed to store the data in an MPIPack. See MPI_Pack_size
.
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ pack()
Packs the data into the object. Enlarges the internal buffer if necessary.
- Exceptions
-
◆ read()
MPIPack & Dune::MPIPack::read |
( |
T & | t | ) |
|
|
inline |
Unpacks data from the object.
- Exceptions
-
◆ resize()
void Dune::MPIPack::resize |
( |
size_t | size | ) |
|
|
inline |
Resizes the internal buffer.
- Parameters
-
size | new size of internal buffer |
◆ seek()
Sets the position in the buffer where the next pack/unpack operation should take place.
◆ size()
size_t Dune::MPIPack::size |
( |
| ) |
const |
|
inline |
Returns the size of the internal buffer.
◆ tell()
int Dune::MPIPack::tell |
( |
| ) |
const |
|
inline |
Gets the position in the buffer where the next pack/unpack operation should take place.
◆ unpack() [1/2]
Unpacks data from the object.
- Exceptions
-
◆ unpack() [2/2]
Unpacks data from the object.
- Exceptions
-
◆ write()
Packs the data into the object. Enlarges the internal buffer if necessary.
- Exceptions
-
The documentation for this class was generated from the following file: