|
MeVisLab Toolbox Reference
|
This class provides diagnostic information on a WEMNode. More...
#include <WEMPatchDiagnosis.h>
Classes | |
| struct | WEMPosition |
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. | |
| WEMPatch * | getPatch () |
| Returns the patch. | |
| const WEMPatch * | getPatch () 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. | |
This class provides diagnostic information on a WEMNode.
Definition at line 30 of file WEMPatchDiagnosis.h.
| ml::WEMPatchDiagnosis::WEMPatchDiagnosis | ( | bool | hasEdges | ) |
Standard constructor.
| ml::WEMPatchDiagnosis::~WEMPatchDiagnosis | ( | ) |
Standard destructor.
| void ml::WEMPatchDiagnosis::checkIntegrity | ( | WEMPatch * | patch | ) |
Checks the integrity of the given patch.
|
inline |
Returns the error message.
Definition at line 86 of file WEMPatchDiagnosis.h.
|
inline |
Returns the patch.
Definition at line 91 of file WEMPatchDiagnosis.h.
|
inline |
Returns the patch.
Definition at line 93 of file WEMPatchDiagnosis.h.
| int ml::WEMPatchDiagnosis::getSeverity | ( | ) | const |
Returns the severity of errors.
|
inline |
Returns whether 'Duplicate nodes' errors were found.
Definition at line 58 of file WEMPatchDiagnosis.h.
|
inline |
Returns whether Get 'Holes' errors were found.
Definition at line 62 of file WEMPatchDiagnosis.h.
|
inline |
Returns whether 'Non-closeable holes' errors were found.
Definition at line 66 of file WEMPatchDiagnosis.h.
|
inline |
Returns whether the patch is inverted.
Definition at line 70 of file WEMPatchDiagnosis.h.
|
inline |
Returns whether the patch is ok.
Definition at line 82 of file WEMPatchDiagnosis.h.
|
inline |
Returns whether 'Get amount of duplicate nodes' errors were found.
Definition at line 60 of file WEMPatchDiagnosis.h.
|
inline |
Returns the number of errors.
Definition at line 77 of file WEMPatchDiagnosis.h.
|
inline |
Returns the number of fatals.
Definition at line 79 of file WEMPatchDiagnosis.h.
|
inline |
Returns the number of found holes.
Definition at line 64 of file WEMPatchDiagnosis.h.
|
inline |
Returns the number of non-closeable holes.
Definition at line 68 of file WEMPatchDiagnosis.h.
|
inline |
Returns the number of notices.
Definition at line 73 of file WEMPatchDiagnosis.h.
|
inline |
Returns the number of warnings.
Definition at line 75 of file WEMPatchDiagnosis.h.
| std::string ml::WEMPatchDiagnosis::message |
Stuff used by SoWEMDiagnosis.
Short error message.
Definition at line 100 of file WEMPatchDiagnosis.h.
| bool ml::WEMPatchDiagnosis::selected |
Is the node selected.
Definition at line 102 of file WEMPatchDiagnosis.h.