| 
    MeVisLab Toolbox 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.   | |
| 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.
Checks the integrity of the given patch.
      
  | 
  inline | 
Returns the error message.
Definition at line 68 of file WEMPatchDiagnosis.h.
      
  | 
  inline | 
Returns the patch.
Definition at line 73 of file WEMPatchDiagnosis.h.
Returns the patch.
Definition at line 75 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 40 of file WEMPatchDiagnosis.h.
      
  | 
  inline | 
Returns whether Get 'Holes' errors were found.
Definition at line 44 of file WEMPatchDiagnosis.h.
      
  | 
  inline | 
Returns whether 'Non-closeable holes' errors were found.
Definition at line 48 of file WEMPatchDiagnosis.h.
      
  | 
  inline | 
Returns whether the patch is inverted.
Definition at line 52 of file WEMPatchDiagnosis.h.
      
  | 
  inline | 
Returns whether the patch is ok.
Definition at line 64 of file WEMPatchDiagnosis.h.
      
  | 
  inline | 
Returns whether 'Get amount of duplicate nodes' errors were found.
Definition at line 42 of file WEMPatchDiagnosis.h.
      
  | 
  inline | 
Returns the number of errors.
Definition at line 59 of file WEMPatchDiagnosis.h.
      
  | 
  inline | 
Returns the number of fatals.
Definition at line 61 of file WEMPatchDiagnosis.h.
      
  | 
  inline | 
Returns the number of found holes.
Definition at line 46 of file WEMPatchDiagnosis.h.
      
  | 
  inline | 
Returns the number of non-closeable holes.
Definition at line 50 of file WEMPatchDiagnosis.h.
      
  | 
  inline | 
Returns the number of notices.
Definition at line 55 of file WEMPatchDiagnosis.h.
      
  | 
  inline | 
Returns the number of warnings.
Definition at line 57 of file WEMPatchDiagnosis.h.
| std::string ml::WEMPatchDiagnosis::message | 
Stuff used by SoWEMDiagnosis.
Short error message.
Definition at line 82 of file WEMPatchDiagnosis.h.
| bool ml::WEMPatchDiagnosis::selected | 
Is the node selected.
Definition at line 84 of file WEMPatchDiagnosis.h.