Version: 8.3.0
SMESH_ComputeError.hxx File Reference
#include "SMESH_Utils.hxx"
#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 an algorithm and description of an occurred error. More...
 

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, COMPERR_CANCELED = -11, COMPERR_NO_MESH_ON_SHAPE = -12,
  COMPERR_BAD_PARMETERS = -13, COMPERR_LAST_ALGO_ERROR = -100, EDITERR_NO_MEDIUM_ON_GEOM = -101
}
 

Typedef Documentation

typedef boost::shared_ptr<SMESH_ComputeError> SMESH_ComputeErrorPtr

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

COMPERR_CANCELED 

compute canceled

COMPERR_NO_MESH_ON_SHAPE 

no mesh elements assigned to sub-shape

COMPERR_BAD_PARMETERS 

incorrect hypotheses parameters

COMPERR_LAST_ALGO_ERROR 

terminator of mesh computation errors

EDITERR_NO_MEDIUM_ON_GEOM