28 #ifndef SMESH_ComputeError_HeaderFile
29 #define SMESH_ComputeError_HeaderFile
33 #include <boost/shared_ptr.hpp>
73 std::string comment =
"",
78 std::string comment =
"",
80 :myName(error),myComment(comment),myAlgo(algo) {}
88 #define _case2char(err) case err: return #err;
std::list< const SMDS_MeshElement * > myBadElements
to explain COMPERR_BAD_INPUT_MESH
some std exception raised
int myName
SMESH_ComputeErrorName or anything algo specific.
boost::shared_ptr< SMESH_ComputeError > SMESH_ComputeErrorPtr
std::string CommonName() const
SMESH_ComputeError(int error=COMPERR_OK, std::string comment="", const SMESH_Algo *algo=0)
Contains algorithm and description of occured error.
static SMESH_ComputeErrorPtr New(int error=COMPERR_OK, std::string comment="", const SMESH_Algo *algo=0)
algo failed for some reason
const SMESH_Algo * myAlgo
wrong mesh on lower submesh