|
finitediff
|
#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 |
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'.
| m_num::m_num | ( | const unsigned int | n | ) |
|
explicit |
| 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 | ) |
|
private |
1.8.11