M8MatchEX Class Reference

#include <Match.h>

Inheritance diagram for M8MatchEX:

M8Match Match

List of all members.

Public Member Functions

 M8MatchEX ()
 M8MatchEX (const M8MatchEX &m)
 M8MatchEX (const M8Match &m)
M8MatchEXoperator= (const M8MatchEX &m)
M8MatchEXoperator= (const M8Match &m)
double getMaxScore () const
void setMaxScore (double sc)
void attachTo (M8MatchEX &m)
M8MatchEXprevious () const
M8MatchEXnext () const
void setPrevious (M8MatchEX *p)
void setNext (M8MatchEX *p)
void setDefault ()

Private Attributes

double maxScore
M8MatchEXbefore
M8MatchEXafter

Friends

class Boxchain
ostream & operator<< (ostream &ous, const M8MatchEX &m)


Detailed Description

this class is created to do chaining We have to make copies of the objects, less efficient but cleanner code.

Constructor & Destructor Documentation

M8MatchEX::M8MatchEX (  )  [inline]

M8MatchEX::M8MatchEX ( const M8MatchEX m  )  [inline]

M8MatchEX::M8MatchEX ( const M8Match m  )  [inline]


Member Function Documentation

M8MatchEX & M8MatchEX::operator= ( const M8MatchEX m  ) 

M8MatchEX & M8MatchEX::operator= ( const M8Match m  ) 

Reimplemented from M8Match.

References after, before, maxScore, M8Match::operator=(), and M8Match::score().

double M8MatchEX::getMaxScore (  )  const [inline]

void M8MatchEX::setMaxScore ( double  sc  )  [inline]

References maxScore.

void M8MatchEX::attachTo ( M8MatchEX m  )  [inline]

References before, maxScore, and M8Match::score().

M8MatchEX* M8MatchEX::previous (  )  const [inline]

M8MatchEX* M8MatchEX::next (  )  const [inline]

void M8MatchEX::setPrevious ( M8MatchEX p  )  [inline]

References before.

Referenced by Boxchain::Boxchain(), and Boxchain::operator=().

void M8MatchEX::setNext ( M8MatchEX p  )  [inline]

References after.

Referenced by Boxchain::Boxchain(), and Boxchain::operator=().

void M8MatchEX::setDefault (  )  [inline]

References before, maxScore, and M8Match::score().


Friends And Related Function Documentation

friend class Boxchain [friend]

ostream& operator<< ( ostream &  ous,
const M8MatchEX m 
) [friend]


Member Data Documentation

double M8MatchEX::maxScore [private]

for dynamimc chaining algorithm

Referenced by attachTo(), getMaxScore(), operator<<(), operator=(), setDefault(), and setMaxScore().

for the chaining algorithm, point to the previous M8MatchEX

Referenced by attachTo(), operator<<(), operator=(), previous(), setDefault(), and setPrevious().

Referenced by next(), operator<<(), operator=(), and setNext().


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

Generated on Wed Aug 10 11:57:12 2011 for Softwares from Orpara by  doxygen 1.5.6