Back to index

salome-smesh  6.5.0
Public Member Functions | Static Public Member Functions | Public Attributes
SMESH_ComputeError Struct Reference

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

#include <SMESH_ComputeError.hxx>

Collaboration diagram for SMESH_ComputeError:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 SMESH_ComputeError (int error=COMPERR_OK, std::string comment="", const SMESH_Algo *algo=0)
bool IsOK ()
bool IsKO ()
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)

Public Attributes

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

Detailed Description

Contains an algorithm and description of an occured error.

Definition at line 61 of file SMESH_ComputeError.hxx.


Constructor & Destructor Documentation

SMESH_ComputeError::SMESH_ComputeError ( int  error = COMPERR_OK,
std::string  comment = "",
const SMESH_Algo *  algo = 0 
) [inline]

Definition at line 74 of file SMESH_ComputeError.hxx.

    :myName(error),myComment(comment),myAlgo(algo) {}

Here is the caller graph for this function:


Member Function Documentation

std::string SMESH_ComputeError::CommonName ( ) const [inline]
bool SMESH_ComputeError::IsCommon ( ) [inline]

Definition at line 81 of file SMESH_ComputeError.hxx.

{ return myName < 0; }
bool SMESH_ComputeError::IsKO ( ) [inline]

Definition at line 80 of file SMESH_ComputeError.hxx.

{ return myName != COMPERR_OK && myName != COMPERR_WARNING; }
bool SMESH_ComputeError::IsOK ( ) [inline]

Definition at line 79 of file SMESH_ComputeError.hxx.

{ return myName == COMPERR_OK; }
static SMESH_ComputeErrorPtr SMESH_ComputeError::New ( int  error = COMPERR_OK,
std::string  comment = "",
const SMESH_Algo *  algo = 0 
) [inline, static]

Definition at line 69 of file SMESH_ComputeError.hxx.

  { return SMESH_ComputeErrorPtr( new SMESH_ComputeError( error, comment, algo )); }

Here is the call graph for this function:

Here is the caller graph for this function:


Member Data Documentation

const SMESH_Algo* SMESH_ComputeError::myAlgo

Definition at line 65 of file SMESH_ComputeError.hxx.

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

to explain COMPERR_BAD_INPUT_MESH

Definition at line 67 of file SMESH_ComputeError.hxx.

Definition at line 64 of file SMESH_ComputeError.hxx.

SMESH_ComputeErrorName or anything algo specific.

Definition at line 63 of file SMESH_ComputeError.hxx.


The documentation for this struct was generated from the following file: