Computer Assited Medical Intervention Tool Kit  version 3.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
Public Types | Public Member Functions | Protected Attributes | List of all members
Method Class Referenceabstract

A Method represent how to make the boolean assessment with criteria data (a vector of double) More...

#include <Method.h>

+ Inheritance diagram for Method:

Public Types

enum  ScopeType { Any, Average, Sum, None }
 the scope of the method More...
 

Public Member Functions

virtual bool individualTest (double tested)=0
 return true if the double passed the test More...
 
 Method (mml::Method *m)
 constructor More...
 
std::string scopeTosString ()
 get a String of the scope More...
 
virtual bool test (std::vector< double > &values)
 return true if the vector of fouble values passed the test (see scope) More...
 
virtual std::string toString ()=0
 get Method name More...
 
virtual ~Method ()
 destructor More...
 

Protected Attributes

ScopeType scope
 scope of the method Any: test is true if all indivitual test are true in the values vector Average: test is true if the indivudal test of values vector's average is true Sum: test is true if the indivudal test of the sum of all double of the values vector is true None: used for monitor wich are not applied to a structural component (ex: time) More...
 

Detailed Description

A Method represent how to make the boolean assessment with criteria data (a vector of double)

Constructor & Destructor Documentation

Method::Method ( mml::Method *  m)

constructor

Parameters
thexsdcxx generated method class
virtual Method::~Method ( )
virtual

destructor

Member Function Documentation

virtual bool Method::individualTest ( double  tested)
pure virtual

return true if the double passed the test

Implemented in MinThreshold, and Threshold.

std::string Method::scopeTosString ( )

get a String of the scope

virtual bool Method::test ( std::vector< double > &  values)
virtual

return true if the vector of fouble values passed the test (see scope)

virtual std::string Method::toString ( )
pure virtual

get Method name

Implemented in MinThreshold, and Threshold.

Member Data Documentation

ScopeType Method::scope
protected

scope of the method Any: test is true if all indivitual test are true in the values vector Average: test is true if the indivudal test of values vector's average is true Sum: test is true if the indivudal test of the sum of all double of the values vector is true None: used for monitor wich are not applied to a structural component (ex: time)


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