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
 Get errors - Duplicate nodes.
int numDuplicateNodes () const
 Get errors - Get amount of duplicate nodes.
bool hasHoles () const
 Get errors - Holes.
int numHoles () const
 Get errors - get amount of holes.
bool hasNonCloseableHoles () const
 Get errors - Non closeable holes.
int numNonCloseableHoles () const
 Get errors - get amount of non closeable holes.
bool isInverted () const
 Get errors - Inverted.
int numNotices () const
 Get number of notices.
int numWarnings () const
 Get number of warnings.
int numErrors () const
 Get number of errors.
int numFatals () const
 Get number of fatals.
bool isOk () const
 Is node ok?
std::string getErrorMessage () const
 Get error message.
int getSeverity () const
 Get severity of errors.
WEMPatchgetPatch ()
 Get patch.
const WEMPatchgetPatch () const
 Get patch.
void checkIntegrity (WEMPatch *patch)
 Check integrity.

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  ) 

Check integrity.

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

Get error message.

Definition at line 69 of file WEMPatchDiagnosis.h.

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

Get patch.

Definition at line 76 of file WEMPatchDiagnosis.h.

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

Get patch.

Definition at line 74 of file WEMPatchDiagnosis.h.

int ml::WEMPatchDiagnosis::getSeverity (  )  const

Get severity of errors.

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

Get errors - Duplicate nodes.

Definition at line 41 of file WEMPatchDiagnosis.h.

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

Get errors - Holes.

Definition at line 45 of file WEMPatchDiagnosis.h.

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

Get errors - Non closeable holes.

Definition at line 49 of file WEMPatchDiagnosis.h.

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

Get errors - Inverted.

Definition at line 53 of file WEMPatchDiagnosis.h.

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

Is node ok?

Definition at line 65 of file WEMPatchDiagnosis.h.

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

Get errors - Get amount of duplicate nodes.

Definition at line 43 of file WEMPatchDiagnosis.h.

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

Get number of errors.

Definition at line 60 of file WEMPatchDiagnosis.h.

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

Get number of fatals.

Definition at line 62 of file WEMPatchDiagnosis.h.

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

Get errors - get amount of holes.

Definition at line 47 of file WEMPatchDiagnosis.h.

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

Get errors - get amount of non closeable holes.

Definition at line 51 of file WEMPatchDiagnosis.h.

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

Get number of notices.

Definition at line 56 of file WEMPatchDiagnosis.h.

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

Get 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:

Generated on Sat Sep 3 18:39:41 2011 for MeVisLab Toolbox Reference by  doxygen 1.5.8