Version: 6.3.1
Data Structures | Defines | Typedefs | Enumerations

src/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...

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
}

Define Documentation

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

Definition at line 86 of file SMESH_ComputeError.hxx.

Referenced by SMESH_ComputeError.CommonName().


Typedef Documentation

typedef boost::shared_ptr<SMESH_ComputeError> SMESH_ComputeErrorPtr

Definition at line 35 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

Definition at line 41 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   
};
Copyright © 2007-2011 CEA/DEN, EDF R&D, OPEN CASCADE
Copyright © 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS