CoinSet Class Reference

Very simple class for containing data on set. More...

#include <CoinMpsIO.hpp>

Inheritance diagram for CoinSet:

Inheritance graph
[legend]
List of all members.

Public Member Functions

Constructor and destructor
 CoinSet (int numberEntries, const int *which)
 Constructor.
virtual ~CoinSet ()
 Destructor.
gets
int numberEntries () const
 Returns number of entries.
int setType () const
 Returns type of set - 1 =SOS1, 2 =SOS2.
const int * which () const
 Returns list of variables.

Protected Attributes

data
int numberEntries_
 Number of entries.
int setType_
 type of set
int * which_
 Which variables are in set.

Detailed Description

Very simple class for containing data on set.

Definition at line 208 of file CoinMpsIO.hpp.


Constructor & Destructor Documentation

CoinSet::CoinSet ( int  numberEntries,
const int *  which 
)

Constructor.

virtual CoinSet::~CoinSet (  )  [virtual]

Destructor.


Member Function Documentation

int CoinSet::numberEntries (  )  const [inline]

Returns number of entries.

Definition at line 225 of file CoinMpsIO.hpp.

int CoinSet::setType (  )  const [inline]

Returns type of set - 1 =SOS1, 2 =SOS2.

Definition at line 228 of file CoinMpsIO.hpp.

const int* CoinSet::which (  )  const [inline]

Returns list of variables.

Definition at line 231 of file CoinMpsIO.hpp.


Member Data Documentation

int CoinSet::numberEntries_ [protected]

Number of entries.

Definition at line 250 of file CoinMpsIO.hpp.

int CoinSet::setType_ [protected]

type of set

Definition at line 252 of file CoinMpsIO.hpp.

int* CoinSet::which_ [protected]

Which variables are in set.

Definition at line 254 of file CoinMpsIO.hpp.


The documentation for this class was generated from the following file:
Generated on Thu May 15 22:00:33 2008 by  doxygen 1.4.7