TIMPI
Public Member Functions | Static Public Attributes | List of all members
TIMPI::NotADataType Class Reference

StandardType<T>'s which do not define a way to MPI_Type T should inherit from this class. More...

#include <data_type.h>

Inheritance diagram for TIMPI::NotADataType:
[legend]

Public Member Functions

 NotADataType ()=default
 
 NotADataType (const NotADataType &other)=default
 
 NotADataType (NotADataType &&other)=default
 
 ~NotADataType ()=default
 
NotADataTypeoperator= (const NotADataType &other)=default
 
NotADataTypeoperator= (NotADataType &&other)=default
 

Static Public Attributes

static const bool is_fixed_type = false
 

Detailed Description

StandardType<T>'s which do not define a way to MPI_Type T should inherit from this class.

This class is primarily defined for backwards compatability because it defines is_fixed_type = false for non-fixed/non-mpi-typed StandardTypes. This class also provides a fairly convenient way to define communication overloads that are antithetical to DataType counterparts. E.g. when doing our parallel algorithms we may build a StandardType and then call communication routines with that type. We want to ensure that we dispatch to different methods when StandardType defines MPI typing vs. when it does not. The DataType vs. NotADataType typing accomplishes that goal

Definition at line 120 of file data_type.h.

Constructor & Destructor Documentation

◆ NotADataType() [1/3]

TIMPI::NotADataType::NotADataType ( )
default

◆ NotADataType() [2/3]

TIMPI::NotADataType::NotADataType ( const NotADataType other)
default

◆ NotADataType() [3/3]

TIMPI::NotADataType::NotADataType ( NotADataType &&  other)
default

◆ ~NotADataType()

TIMPI::NotADataType::~NotADataType ( )
default

Member Function Documentation

◆ operator=() [1/2]

NotADataType& TIMPI::NotADataType::operator= ( const NotADataType other)
default

◆ operator=() [2/2]

NotADataType& TIMPI::NotADataType::operator= ( NotADataType &&  other)
default

Member Data Documentation

◆ is_fixed_type

const bool TIMPI::NotADataType::is_fixed_type = false
static

Definition at line 130 of file data_type.h.


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