Dip
0.92.4
|
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... | |
CoinBigIndex | 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 (CoinBigIndex 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... | |
CoinBigIndex | 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 29 of file CoinModelUseful.hpp.
CoinModelLink::CoinModelLink | ( | ) |
Default constructor.
CoinModelLink::~CoinModelLink | ( | ) |
Destructor.
CoinModelLink::CoinModelLink | ( | const CoinModelLink & | ) |
The copy constructor.
CoinModelLink& CoinModelLink::operator= | ( | const CoinModelLink & | ) |
=
|
inline |
|
inline |
Get column.
Definition at line 56 of file CoinModelUseful.hpp.
References column_.
Referenced by setColumn().
|
inline |
Get value.
Definition at line 61 of file CoinModelUseful.hpp.
References value_.
Referenced by setElement(), and setValue().
|
inline |
|
inline |
Get position.
Definition at line 71 of file CoinModelUseful.hpp.
References position_.
Referenced by setPosition().
|
inline |
Get onRow.
Definition at line 76 of file CoinModelUseful.hpp.
References onRow_.
Referenced by setOnRow().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Set position.
Definition at line 101 of file CoinModelUseful.hpp.
References position(), and position_.
|
inline |
|
private |
|
private |
Column.
Definition at line 118 of file CoinModelUseful.hpp.
Referenced by column(), and setColumn().
|
private |
Value as double.
Definition at line 120 of file CoinModelUseful.hpp.
Referenced by element(), setElement(), setValue(), and value().
|
private |
Position in data.
Definition at line 122 of file CoinModelUseful.hpp.
Referenced by position(), and setPosition().
|
private |
If on row chain.
Definition at line 124 of file CoinModelUseful.hpp.
Referenced by onRow(), and setOnRow().