MADNESS 0.10.1
SafeMPI::Status Class Reference

#include <safempi.h>

Collaboration diagram for SafeMPI::Status:

Public Member Functions

 Status (const Status &other)
 Status (MPI_Status other)
 Status (void)
long long Get_byte_count () const
 The size of a received message of bytes, which may exceed INT_MAX.
int Get_count (const MPI_Datatype datatype) const
int Get_error () const
int Get_source () const
int Get_tag () const
 operator MPI_Status () const
 operator MPI_Status * ()
Status & operator= (const MPI_Status other)
Status & operator= (const Status &other)
void Set_error (int error)
void Set_source (int source)
void Set_tag (int tag)

Private Attributes

MPI_Status status_

Constructor & Destructor Documentation

◆ Status() [1/3]

SafeMPI::Status::Status ( void )
inline

References status_.

Referenced by Status(), operator=(), and operator=().

◆ Status() [2/3]

SafeMPI::Status::Status ( const Status & other)
inline

References Status(), and status_.

◆ Status() [3/3]

SafeMPI::Status::Status ( MPI_Status other)
inline

References status_.

Member Function Documentation

◆ Get_byte_count()

long long SafeMPI::Status::Get_byte_count ( ) const
inline

The size of a received message of bytes, which may exceed INT_MAX.

Returns
the number of bytes received, or -1 if MPI cannot tell: without the large-count functions of MPI 4 ( MPI_Get_count_c ) a count above INT_MAX is not reported

References MADNESS_MPI_TEST, MPI_BYTE, MPI_Get_count(), MPI_UNDEFINED, and status_.

◆ Get_count()

int SafeMPI::Status::Get_count ( const MPI_Datatype datatype) const
inline

◆ Get_error()

int SafeMPI::Status::Get_error ( ) const
inline

References status_.

◆ Get_source()

int SafeMPI::Status::Get_source ( ) const
inline

References status_.

◆ Get_tag()

int SafeMPI::Status::Get_tag ( ) const
inline

References status_.

◆ operator MPI_Status()

SafeMPI::Status::operator MPI_Status ( ) const
inline

References status_.

◆ operator MPI_Status *()

SafeMPI::Status::operator MPI_Status * ( )
inline

References status_.

◆ operator=() [1/2]

Status & SafeMPI::Status::operator= ( const MPI_Status other)
inline

References Status(), and status_.

◆ operator=() [2/2]

Status & SafeMPI::Status::operator= ( const Status & other)
inline

References Status(), and status_.

◆ Set_error()

void SafeMPI::Status::Set_error ( int error)
inline

References error(), and status_.

◆ Set_source()

void SafeMPI::Status::Set_source ( int source)
inline

References source(), and status_.

◆ Set_tag()

void SafeMPI::Status::Set_tag ( int tag)
inline

References status_.

Member Data Documentation

◆ status_


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