finitediff
Public Member Functions | Private Attributes | List of all members
m_num Class Reference

#include <m_num.h>

Public Member Functions

 m_num (const unsigned int n)
 
 m_num (const int n)
 
m_num operator++ ()
 
m_num operator++ (int)
 
bool operator> (const unsigned int &b) const
 
bool operator> (const m_num &b) const
 
bool operator> (const int &b) const
 
bool operator< (const unsigned int &b) const
 
bool operator< (const m_num &b) const
 
bool operator< (const int &b) const
 
 operator unsigned int () const
 
void swap (m_num &other)
 

Private Attributes

unsigned int num
 

Detailed Description

This class is a wrapper for (a priori) unsigned int.

It represents a number of line or column in a matrix.

For the moment, the template parameter for the matrix size itself remains 'unsigned int'.

Constructor & Destructor Documentation

m_num::m_num ( const unsigned int  n)
m_num::m_num ( const int  n)
explicit

Member Function Documentation

m_num::operator unsigned int ( ) const

Allows conversion to unsigned int

m_num m_num::operator++ ( )
m_num m_num::operator++ ( int  )
bool m_num::operator< ( const unsigned int &  b) const
bool m_num::operator< ( const m_num b) const
bool m_num::operator< ( const int &  b) const
bool m_num::operator> ( const unsigned int &  b) const
bool m_num::operator> ( const m_num b) const
bool m_num::operator> ( const int &  b) const
void m_num::swap ( m_num other)

Member Data Documentation

unsigned int m_num::num
private

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