Back to index

salome-smesh  6.5.0
Classes | Defines | Typedefs | Enumerations
SMESH_ComputeError.hxx File Reference
#include <string>
#include <list>
#include <boost/shared_ptr.hpp>
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

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

Defines

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

Typedefs

typedef boost::shared_ptr
< SMESH_ComputeError
SMESH_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, COMPERR_WARNING = -10
}

Define Documentation

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

Definition at line 86 of file SMESH_ComputeError.hxx.


Typedef Documentation

typedef boost::shared_ptr<SMESH_ComputeError> SMESH_ComputeErrorPtr

Definition at line 33 of file SMESH_ComputeError.hxx.


Enumeration Type Documentation

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

COMPERR_WARNING 

algo reports error but sub-mesh is computed anyway

Definition at line 39 of file SMESH_ComputeError.hxx.

{
  // If you modify it, pls update SMESH_ComputeError::CommonName() below.
  // Positive values are for algo specific errors
  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,  
  COMPERR_WARNING        = -10  
};