This is for various structures/classes needed by CoinModel. More...
#include <CoinModelUseful.hpp>
Public Member Functions | |
Constructors, destructor | |
CoinModelLink () | |
Default constructor. More... | |
~CoinModelLink () | |
Destructor. More... | |
Copy method | |
CoinModelLink (const CoinModelLink &) | |
The copy constructor. More... | |
CoinModelLink & | operator= (const CoinModelLink &) |
= More... | |
Sets and gets method | |
int | row () const |
Get row. More... | |
int | column () const |
Get column. More... | |
double | value () const |
Get value. More... | |
double | element () const |
Get value. More... | |
int | position () const |
Get position. More... | |
bool | onRow () const |
Get onRow. More... | |
void | setRow (int row) |
Set row. More... | |
void | setColumn (int column) |
Set column. More... | |
void | setValue (double value) |
Set value. More... | |
void | setElement (double value) |
Set value. More... | |
void | setPosition (int position) |
Set position. More... | |
void | setOnRow (bool onRow) |
Set onRow. More... | |
Private Attributes | |
Data members | |
int | row_ |
Row. More... | |
int | column_ |
Column. More... | |
double | value_ |
Value as double. More... | |
int | position_ |
Position in data. More... | |
bool | onRow_ |
If on row chain. More... | |
This is for various structures/classes needed by CoinModel.
CoinModelLink CoinModelLinkedList CoinModelHashfor going through row or column
Definition at line 30 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 52 of file CoinModelUseful.hpp.
|
inline |
Get column.
Definition at line 55 of file CoinModelUseful.hpp.
|
inline |
Get value.
Definition at line 58 of file CoinModelUseful.hpp.
|
inline |
Get value.
Definition at line 61 of file CoinModelUseful.hpp.
|
inline |
Get position.
Definition at line 64 of file CoinModelUseful.hpp.
|
inline |
Get onRow.
Definition at line 67 of file CoinModelUseful.hpp.
|
inline |
Set row.
Definition at line 70 of file CoinModelUseful.hpp.
|
inline |
Set column.
Definition at line 73 of file CoinModelUseful.hpp.
|
inline |
Set value.
Definition at line 76 of file CoinModelUseful.hpp.
|
inline |
Set value.
Definition at line 79 of file CoinModelUseful.hpp.
|
inline |
Set position.
Definition at line 82 of file CoinModelUseful.hpp.
|
inline |
Set onRow.
Definition at line 85 of file CoinModelUseful.hpp.
|
private |
Row.
Definition at line 93 of file CoinModelUseful.hpp.
|
private |
Column.
Definition at line 95 of file CoinModelUseful.hpp.
|
private |
Value as double.
Definition at line 97 of file CoinModelUseful.hpp.
|
private |
Position in data.
Definition at line 99 of file CoinModelUseful.hpp.
|
private |
If on row chain.
Definition at line 101 of file CoinModelUseful.hpp.