This is for various structures/classes needed by CoinModel. More...
#include <CoinModelUseful.hpp>
Public Member Functions | |
Constructors, destructor | |
CoinModelLink () | |
Default constructor. | |
~CoinModelLink () | |
Destructor. | |
Copy method | |
CoinModelLink (const CoinModelLink &) | |
The copy constructor. | |
CoinModelLink & | operator= (const CoinModelLink &) |
= | |
Sets and gets method | |
int | row () const |
Get row. | |
int | column () const |
Get column. | |
double | value () const |
Get value. | |
double | element () const |
Get value. | |
int | position () const |
Get position. | |
bool | onRow () const |
Get onRow. | |
void | setRow (int row) |
Set row. | |
void | setColumn (int column) |
Set column. | |
void | setValue (double value) |
Set value. | |
void | setElement (double value) |
Set value. | |
void | setPosition (int position) |
Set position. | |
void | setOnRow (bool onRow) |
Set onRow. |
Private Attributes | |
Data members | |
int | row_ |
Row. | |
int | column_ |
Column. | |
double | value_ |
Value as double. | |
int | position_ |
Position in data. | |
bool | onRow_ |
If on row chain. |
This is for various structures/classes needed by CoinModel.
CoinModelLink CoinModelLinkedList CoinModelHashfor going through row or column
Definition at line 28 of file CoinModelUseful.hpp.
CoinModelLink::CoinModelLink | ( | ) |
Default constructor.
CoinModelLink::~CoinModelLink | ( | ) |
Destructor.
CoinModelLink::CoinModelLink | ( | const CoinModelLink & | ) |
The copy constructor.
CoinModelLink& CoinModelLink::operator= | ( | const CoinModelLink & | ) |
=
|
inline |
Get row.
Definition at line 50 of file CoinModelUseful.hpp.
|
inline |
Get column.
Definition at line 53 of file CoinModelUseful.hpp.
|
inline |
Get value.
Definition at line 56 of file CoinModelUseful.hpp.
|
inline |
Get value.
Definition at line 59 of file CoinModelUseful.hpp.
|
inline |
Get position.
Definition at line 62 of file CoinModelUseful.hpp.
|
inline |
Get onRow.
Definition at line 65 of file CoinModelUseful.hpp.
|
inline |
Set row.
Definition at line 68 of file CoinModelUseful.hpp.
|
inline |
Set column.
Definition at line 71 of file CoinModelUseful.hpp.
|
inline |
Set value.
Definition at line 74 of file CoinModelUseful.hpp.
|
inline |
Set value.
Definition at line 77 of file CoinModelUseful.hpp.
|
inline |
Set position.
Definition at line 80 of file CoinModelUseful.hpp.
|
inline |
Set onRow.
Definition at line 83 of file CoinModelUseful.hpp.
|
private |
Row.
Definition at line 91 of file CoinModelUseful.hpp.
|
private |
Column.
Definition at line 93 of file CoinModelUseful.hpp.
|
private |
Value as double.
Definition at line 95 of file CoinModelUseful.hpp.
|
private |
Position in data.
Definition at line 97 of file CoinModelUseful.hpp.
|
private |
If on row chain.
Definition at line 99 of file CoinModelUseful.hpp.