C++ mpi module for stochmagnet_main Package
Public Member Functions | Static Public Member Functions | List of all members
MPI_Error Class Reference

This class manages error. More...

#include <MPI_Error.h>

Inheritance diagram for MPI_Error:
Inheritance graph
[legend]
Collaboration diagram for MPI_Error:
Collaboration graph
[legend]

Public Member Functions

 MPI_Error ()
 create a class
 
virtual ~MPI_Error (void)
 destroy the class
 
tString toString (const tMPIError &err)
 get the string representation of the error More...
 
virtual tString toString () const override
 get the string representation of the error
 
- Public Member Functions inherited from CORE_Object
template<class T >
std::shared_ptr< T > getSharedPointer ()
 return the shared pointer for this More...
 
template<class T >
std::shared_ptr< const T > getConstSharedPointer () const
 return a const shared pointer for this More...
 
virtual tMemSize getMemorySize () const
 return the memory size of the class and the memory size of all its attributes/associations More...
 
virtual tMemSize getContentsMemorySize () const
 return nthe memory size of the included associations More...
 
template<class T >
tBoolean isInstanceOf () const
 test if the clas T is an instance of this class More...
 
tString getClassName () const
 return the name of the class More...
 
tString getPointerString () const
 retrun the pointer of the class as a string More...
 
tString getIdentityString () const
 retrun the string identification of the class More...
 

Static Public Member Functions

static tString ToString (const tMPIError &err)
 get the string representation of the error More...
 
- Static Public Member Functions inherited from CORE_Object
static tBoolean EnableMemoryStack (const tBoolean &isMemoryChecked)
 enable the memory stack More...
 
static void EnableMemoryStack ()
 enable the memory stack
 
static void DisableMemoryStack ()
 disable the memory stack
 
static tBoolean IsMemoryStackEnabled ()
 return trur if the memory stack is enabled
 
static tString MemoryStackToString ()
 get the memory stack in string More...
 
static tIndex GetRegisteredClassesNumber ()
 get the memory stack in string More...
 

Additional Inherited Members

- Protected Member Functions inherited from MPI_Object
 MPI_Object (void)
 create
 
virtual ~MPI_Object (void)
 destroy
 
- Protected Member Functions inherited from CORE_Object
 CORE_Object ()
 build an instance of the object
 
virtual ~CORE_Object ()
 destroy the instance of object std

 

Detailed Description

This class manages error.

Author
Stephane Despreaux
Version
2.0

Member Function Documentation

◆ ToString()

static tString MPI_Error::ToString ( const tMPIError &  err)
inlinestatic

get the string representation of the error

Parameters
[in]errmpi error code

◆ toString()

tString MPI_Error::toString ( const tMPIError &  err)
inline

get the string representation of the error

Parameters
[in]errmpi error code

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