MeVisLab Toolbox Reference
ml::WEMPatchDiagnosis Class Reference

This class provides diagnostic information on a WEMNode. More...

#include <WEMPatchDiagnosis.h>

Public Member Functions

 WEMPatchDiagnosis (bool hasEdges)
 Standard constructor.
 
 ~WEMPatchDiagnosis ()
 Standard destructor.
 
bool hasDuplicateNodes () const
 Returns whether 'Duplicate nodes' errors were found.
 
int numDuplicateNodes () const
 Returns whether 'Get amount of duplicate nodes' errors were found.
 
bool hasHoles () const
 Returns whether Get 'Holes' errors were found.
 
int numHoles () const
 Returns the number of found holes.
 
bool hasNonCloseableHoles () const
 Returns whether 'Non-closeable holes' errors were found.
 
int numNonCloseableHoles () const
 Returns the number of non-closeable holes.
 
bool isInverted () const
 Returns whether the patch is inverted.
 
int numNotices () const
 Returns the number of notices.
 
int numWarnings () const
 Returns the number of warnings.
 
int numErrors () const
 Returns the number of errors.
 
int numFatals () const
 Returns the number of fatals.
 
bool isOk () const
 Returns whether the patch is ok.
 
std::string getErrorMessage () const
 Returns the error message.
 
int getSeverity () const
 Returns the severity of errors.
 
WEMPatchgetPatch ()
 Returns the patch.
 
const WEMPatchgetPatch () const
 Returns the patch.
 
void checkIntegrity (WEMPatch *patch)
 Checks the integrity of the given patch.
 

Public Attributes

std::string message
 Stuff used by SoWEMDiagnosis.
 
bool selected
 Is the node selected.
 

Detailed Description

This class provides diagnostic information on a WEMNode.

Definition at line 30 of file WEMPatchDiagnosis.h.

Constructor & Destructor Documentation

◆ WEMPatchDiagnosis()

ml::WEMPatchDiagnosis::WEMPatchDiagnosis ( bool hasEdges)

Standard constructor.

◆ ~WEMPatchDiagnosis()

ml::WEMPatchDiagnosis::~WEMPatchDiagnosis ( )

Standard destructor.

Member Function Documentation

◆ checkIntegrity()

void ml::WEMPatchDiagnosis::checkIntegrity ( WEMPatch * patch)

Checks the integrity of the given patch.

◆ getErrorMessage()

std::string ml::WEMPatchDiagnosis::getErrorMessage ( ) const
inline

Returns the error message.

Definition at line 68 of file WEMPatchDiagnosis.h.

◆ getPatch() [1/2]

WEMPatch * ml::WEMPatchDiagnosis::getPatch ( )
inline

Returns the patch.

Definition at line 73 of file WEMPatchDiagnosis.h.

◆ getPatch() [2/2]

const WEMPatch * ml::WEMPatchDiagnosis::getPatch ( ) const
inline

Returns the patch.

Definition at line 75 of file WEMPatchDiagnosis.h.

◆ getSeverity()

int ml::WEMPatchDiagnosis::getSeverity ( ) const

Returns the severity of errors.

◆ hasDuplicateNodes()

bool ml::WEMPatchDiagnosis::hasDuplicateNodes ( ) const
inline

Returns whether 'Duplicate nodes' errors were found.

Definition at line 40 of file WEMPatchDiagnosis.h.

◆ hasHoles()

bool ml::WEMPatchDiagnosis::hasHoles ( ) const
inline

Returns whether Get 'Holes' errors were found.

Definition at line 44 of file WEMPatchDiagnosis.h.

◆ hasNonCloseableHoles()

bool ml::WEMPatchDiagnosis::hasNonCloseableHoles ( ) const
inline

Returns whether 'Non-closeable holes' errors were found.

Definition at line 48 of file WEMPatchDiagnosis.h.

◆ isInverted()

bool ml::WEMPatchDiagnosis::isInverted ( ) const
inline

Returns whether the patch is inverted.

Definition at line 52 of file WEMPatchDiagnosis.h.

◆ isOk()

bool ml::WEMPatchDiagnosis::isOk ( ) const
inline

Returns whether the patch is ok.

Definition at line 64 of file WEMPatchDiagnosis.h.

◆ numDuplicateNodes()

int ml::WEMPatchDiagnosis::numDuplicateNodes ( ) const
inline

Returns whether 'Get amount of duplicate nodes' errors were found.

Definition at line 42 of file WEMPatchDiagnosis.h.

◆ numErrors()

int ml::WEMPatchDiagnosis::numErrors ( ) const
inline

Returns the number of errors.

Definition at line 59 of file WEMPatchDiagnosis.h.

◆ numFatals()

int ml::WEMPatchDiagnosis::numFatals ( ) const
inline

Returns the number of fatals.

Definition at line 61 of file WEMPatchDiagnosis.h.

◆ numHoles()

int ml::WEMPatchDiagnosis::numHoles ( ) const
inline

Returns the number of found holes.

Definition at line 46 of file WEMPatchDiagnosis.h.

◆ numNonCloseableHoles()

int ml::WEMPatchDiagnosis::numNonCloseableHoles ( ) const
inline

Returns the number of non-closeable holes.

Definition at line 50 of file WEMPatchDiagnosis.h.

◆ numNotices()

int ml::WEMPatchDiagnosis::numNotices ( ) const
inline

Returns the number of notices.

Definition at line 55 of file WEMPatchDiagnosis.h.

◆ numWarnings()

int ml::WEMPatchDiagnosis::numWarnings ( ) const
inline

Returns the number of warnings.

Definition at line 57 of file WEMPatchDiagnosis.h.

Member Data Documentation

◆ message

std::string ml::WEMPatchDiagnosis::message

Stuff used by SoWEMDiagnosis.

Short error message.

Definition at line 82 of file WEMPatchDiagnosis.h.

◆ selected

bool ml::WEMPatchDiagnosis::selected

Is the node selected.

Definition at line 84 of file WEMPatchDiagnosis.h.


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