|
SALOME - SMESH
|
Contains algorithm and description of occured error. More...
#include <SMESH_ComputeError.hxx>

Public Member Functions | |
| SMESH_ComputeError (int error=COMPERR_OK, std::string comment="", const SMESH_Algo *algo=0) | |
| bool | IsOK () |
| bool | IsCommon () |
| std::string | CommonName () const |
Static Public Member Functions | |
| static SMESH_ComputeErrorPtr | New (int error=COMPERR_OK, std::string comment="", const SMESH_Algo *algo=0) |
Data Fields | |
| int | myName |
| SMESH_ComputeErrorName or anything algo specific. | |
| std::string | myComment |
| const SMESH_Algo * | myAlgo |
| std::list< const SMDS_MeshElement * > | myBadElements |
| to explain COMPERR_BAD_INPUT_MESH | |
Contains algorithm and description of occured error.
| SMESH_ComputeError::SMESH_ComputeError | ( | int | error = COMPERR_OK, |
| std::string | comment = "", |
||
| const SMESH_Algo * | algo = 0 |
||
| ) |
Definition at line 77 of file SMESH_ComputeError.hxx.
Referenced by New().

| static SMESH_ComputeErrorPtr SMESH_ComputeError::New | ( | int | error = COMPERR_OK, |
| std::string | comment = "", |
||
| const SMESH_Algo * | algo = 0 |
||
| ) | [static] |
Definition at line 72 of file SMESH_ComputeError.hxx.
References SMESH_ComputeError().
Referenced by StdMeshers_PrismAsBlock::error().


| bool SMESH_ComputeError::IsOK | ( | ) |
Definition at line 82 of file SMESH_ComputeError.hxx.
References myName, and COMPERR_OK.
| bool SMESH_ComputeError::IsCommon | ( | ) |
Definition at line 83 of file SMESH_ComputeError.hxx.
References myName.
| std::string SMESH_ComputeError::CommonName | ( | ) | const |
Definition at line 90 of file SMESH_ComputeError.hxx.
References myName, _case2char, COMPERR_OK, COMPERR_BAD_INPUT_MESH, COMPERR_STD_EXCEPTION, COMPERR_OCC_EXCEPTION, COMPERR_SLM_EXCEPTION, COMPERR_EXCEPTION, COMPERR_MEMORY_PB, and COMPERR_ALGO_FAILED.
SMESH_ComputeErrorName or anything algo specific.
Definition at line 66 of file SMESH_ComputeError.hxx.
Referenced by IsOK(), IsCommon(), and CommonName().
Definition at line 67 of file SMESH_ComputeError.hxx.
Definition at line 68 of file SMESH_ComputeError.hxx.
to explain COMPERR_BAD_INPUT_MESH
Definition at line 70 of file SMESH_ComputeError.hxx.