MipAlgorithms::DDubInt Class Reference
[Binary registration]

Class representing a couple of int and a Decimal. More...

#include <BiReg.h>

List of all members.

Public Member Functions

Decimal dist ()
 Returns the Decimal value _dist.
int m1 ()
 Returns the first int value _m._m1.
int m2 ()
 Return the second int value _m._m1.
DubInt m ()
 Return the DubInt _m.
 DDubInt ()
 Null constructor.
 DDubInt (int a, int b, Decimal c)
 Constructor.
 DDubInt (const DDubInt &db)
 Copy constructor.
DDubInt operator= (DDubInt db)
 Assignment operator =.
string print ()
 Print function.

Protected Attributes

DubInt _m
Decimal _dist


Detailed Description

Class representing a couple of int and a Decimal.

This class is used to represents two index of two different vectors and the associated distance.

Author:
Paolo Stegagno

Constructor & Destructor Documentation

MipAlgorithms::DDubInt::DDubInt (  ) 

Null constructor.

MipAlgorithms::DDubInt::DDubInt ( int  a,
int  b,
Decimal  c 
)

Constructor.

MipAlgorithms::DDubInt::DDubInt ( const DDubInt db  ) 

Copy constructor.


Member Function Documentation

Decimal MipAlgorithms::DDubInt::dist (  ) 

Returns the Decimal value _dist.

int MipAlgorithms::DDubInt::m1 (  ) 

Returns the first int value _m._m1.

int MipAlgorithms::DDubInt::m2 (  ) 

Return the second int value _m._m1.

DubInt MipAlgorithms::DDubInt::m (  ) 

Return the DubInt _m.

DDubInt MipAlgorithms::DDubInt::operator= ( DDubInt  db  ) 

Assignment operator =.

string MipAlgorithms::DDubInt::print (  ) 

Print function.


Member Data Documentation


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

Generated on Mon Feb 20 07:01:10 2017 for MIP by  doxygen 1.5.6