SALOME - SMESH
SMESH_ComputeError.hxx File Reference
#include <string>
#include <list>
#include <boost/shared_ptr.hpp>
Include dependency graph for SMESH_ComputeError.hxx:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  SMESH_ComputeError
 Contains algorithm and description of occured error. More...
 

Macros

#define _case2char(err)   case err: return #err;
 

Typedefs

typedef boost::shared_ptr< SMESH_ComputeErrorSMESH_ComputeErrorPtr
 

Enumerations

enum  SMESH_ComputeErrorName {
  COMPERR_OK = -1, COMPERR_BAD_INPUT_MESH = -2, COMPERR_STD_EXCEPTION = -3, COMPERR_OCC_EXCEPTION = -4,
  COMPERR_SLM_EXCEPTION = -5, COMPERR_EXCEPTION = -6, COMPERR_MEMORY_PB = -7, COMPERR_ALGO_FAILED = -8,
  COMPERR_BAD_SHAPE = -9
}
 

Macro Definition Documentation

◆ _case2char

#define _case2char (   err)    case err: return #err;

Definition at line 88 of file SMESH_ComputeError.hxx.

Referenced by SMESH_ComputeError::CommonName().

Typedef Documentation

◆ SMESH_ComputeErrorPtr

typedef boost::shared_ptr<SMESH_ComputeError> SMESH_ComputeErrorPtr

Definition at line 37 of file SMESH_ComputeError.hxx.

Enumeration Type Documentation

◆ SMESH_ComputeErrorName

Enumerator
COMPERR_OK 
COMPERR_BAD_INPUT_MESH 

wrong mesh on lower submesh

COMPERR_STD_EXCEPTION 

some std exception raised

COMPERR_OCC_EXCEPTION 

OCC exception raised.

COMPERR_SLM_EXCEPTION 

SALOME exception raised.

COMPERR_EXCEPTION 

other exception raised

COMPERR_MEMORY_PB 

std::bad_alloc exception

COMPERR_ALGO_FAILED 

algo failed for some reason

COMPERR_BAD_SHAPE 

bad geometry

Definition at line 43 of file SMESH_ComputeError.hxx.