SALOME - SMESH
SMESH_ComputeError Struct Reference

Contains algorithm and description of occured error. More...

#include <SMESH_ComputeError.hxx>

Collaboration diagram for SMESH_ComputeError:
Collaboration graph

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. More...
 
std::string myComment
 
const SMESH_AlgomyAlgo
 
std::list< const SMDS_MeshElement * > myBadElements
 to explain COMPERR_BAD_INPUT_MESH More...
 

Detailed Description

Contains algorithm and description of occured error.

Definition at line 64 of file SMESH_ComputeError.hxx.

Constructor & Destructor Documentation

◆ SMESH_ComputeError()

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().

Here is the caller graph for this function:

Member Function Documentation

◆ 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().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ IsOK()

bool SMESH_ComputeError::IsOK ( )

Definition at line 82 of file SMESH_ComputeError.hxx.

References COMPERR_OK, and myName.

◆ IsCommon()

bool SMESH_ComputeError::IsCommon ( )

Definition at line 83 of file SMESH_ComputeError.hxx.

References myName.

◆ CommonName()

Field Documentation

◆ myName

int SMESH_ComputeError::myName

SMESH_ComputeErrorName or anything algo specific.

Definition at line 66 of file SMESH_ComputeError.hxx.

Referenced by CommonName(), IsCommon(), and IsOK().

◆ myComment

std::string SMESH_ComputeError::myComment

Definition at line 67 of file SMESH_ComputeError.hxx.

◆ myAlgo

const SMESH_Algo* SMESH_ComputeError::myAlgo

Definition at line 68 of file SMESH_ComputeError.hxx.

◆ myBadElements

std::list<const SMDS_MeshElement*> SMESH_ComputeError::myBadElements

to explain COMPERR_BAD_INPUT_MESH

Definition at line 70 of file SMESH_ComputeError.hxx.