62 inline bool hasFold()
const {
return _fold; }
75 return (_numNotices == 0 && _numWarnings == 0 && _numErrors == 0 && _numFatals == 0);
112 std::string _message;
120 bool _neighborhoodNotSet;
128 bool _edgePointerNotConnected;
130 bool _edgePointerLink;
134 bool _circularPointer;
This class provides diagnostic information on a WEMEdge.
bool hasZeroLength() const
Returns whether 'Zero length' errors were found.
bool hasWrongOrder() const
Returns whether 'Order' errors were found.
bool hasNULLPointer() const
Returns whether 'NULL edge pointer' errors were found.
WEMEdge * getEdge()
Returns the edge.
std::string getErrorMessage() const
Returns the error message.
int numFatals() const
Returns the number of fatals.
int numWarnings() const
Returns the number of warnings.
bool hasNonConnectedPointer() const
Returns whether 'Non connected edge pointer' errors were found.
bool isOk() const
Returns whether the edge is ok.
int numNotices() const
Returns the number of notices.
bool hasCircularPointer() const
Returns whether 'Circular edge pointer' errors wre found.
bool selected
Is the edge selected?
int getSeverity() const
Returns the severity of errors.
void checkIntegrity(WEMEdge *edge)
Checks the integrity of the given edge.
int numErrors() const
Returns the number of errors.
std::string message
Stuff used by SoWEMDiagnosis.
bool isNeighborhoodNotSet() const
Returns whether 'Neighborhood not set' errors were found.
bool isBoundary() const
Returns whether 'Boundary' errors were found.
bool hasNULLHead() const
Returns whether 'NULL head' errors were found.
bool hasEqualPointer() const
Returns whether 'Equal edge pointer' errors were found.
~WEMEdgeDiagnosis()
Standard destructor.
bool hasNULLTail() const
Returns whether 'NULL tail' errors were found.
bool hasIncorrectlyLinkedPointer() const
Returns whether 'Incorrectly linked edge pointer' were found.
WEMEdgeDiagnosis()
Standard constructor.
const WEMEdge * getEdge() const
Returns the edge.
bool hasFold() const
Returns whether 'Fold' errors were found.
Defines the mesh component: edge.
Target mlrange_cast(Source arg)
Generic version of checked ML casts.
const int EDGE_SEVERITY_NOTICE
Error status: just a notice.
const int EDGE_SEVERITY_ALLISWELL
Error status: no error at all.
const int EDGE_SEVERITY_WARNING
Error status: a warning.
const int EDGE_SEVERITY_ERROR
Error status: an error.
const int EDGE_SEVERITY_FATAL
Error status: a serious error.