MeVisLabToolboxReference
ml::WEMPatchDiagnosis Class Reference

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

#include <WEMPatchDiagnosis.h>

List of all members.

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

ml::WEMPatchDiagnosis::WEMPatchDiagnosis ( bool  hasEdges)

Standard constructor.

ml::WEMPatchDiagnosis::~WEMPatchDiagnosis ( )

Standard destructor.


Member Function Documentation

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

Checks the integrity of the given patch.

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

Returns the error message.

Definition at line 69 of file WEMPatchDiagnosis.h.

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

Returns the patch.

Definition at line 76 of file WEMPatchDiagnosis.h.

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

Returns the patch.

Definition at line 74 of file WEMPatchDiagnosis.h.

int ml::WEMPatchDiagnosis::getSeverity ( ) const

Returns the severity of errors.

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

Returns whether 'Duplicate nodes' errors were found.

Definition at line 41 of file WEMPatchDiagnosis.h.

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

Returns whether Get 'Holes' errors were found.

Definition at line 45 of file WEMPatchDiagnosis.h.

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

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

Definition at line 49 of file WEMPatchDiagnosis.h.

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

Returns whether the patch is inverted.

Definition at line 53 of file WEMPatchDiagnosis.h.

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

Returns whether the patch is ok.

Definition at line 65 of file WEMPatchDiagnosis.h.

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

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

Definition at line 43 of file WEMPatchDiagnosis.h.

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

Returns the number of errors.

Definition at line 60 of file WEMPatchDiagnosis.h.

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

Returns the number of fatals.

Definition at line 62 of file WEMPatchDiagnosis.h.

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

Returns the number of found holes.

Definition at line 47 of file WEMPatchDiagnosis.h.

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

Returns the number of non-closeable holes.

Definition at line 51 of file WEMPatchDiagnosis.h.

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

Returns the number of notices.

Definition at line 56 of file WEMPatchDiagnosis.h.

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

Returns the number of warnings.

Definition at line 58 of file WEMPatchDiagnosis.h.


Member Data Documentation

Stuff used by SoWEMDiagnosis.

Short error message.

Definition at line 83 of file WEMPatchDiagnosis.h.

Is the node selected.

Definition at line 85 of file WEMPatchDiagnosis.h.


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