KaMPIng 0.1.1
Flexible and (near) zero-overhead C++ bindings for MPI
Loading...
Searching...
No Matches
kamping::internal::Extractable Class Reference

Base class containing logic to verify whether a buffer's data has already been extracted. This only has effects if an appropiate assertion level is set. More...

#include <data_buffer.hpp>

Inheritance diagram for kamping::internal::Extractable:

Protected Member Functions

void set_extracted ()
 Set the extracted flag to indicate that the status stored in this buffer has been moved out.
 
void kassert_not_extracted (std::string const message) const
 Throws an assertion if the extracted flag is set, i.e. the underlying status has been moved out.
 

Detailed Description

Base class containing logic to verify whether a buffer's data has already been extracted. This only has effects if an appropiate assertion level is set.

Member Function Documentation

◆ kassert_not_extracted()

void kamping::internal::Extractable::kassert_not_extracted ( std::string const message) const
inlineprotected

Throws an assertion if the extracted flag is set, i.e. the underlying status has been moved out.

Parameters
messageThe message for the assertion.

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