#include <GamsDictionary.hpp>
Collaboration diagram for GamsDictionary:

Public Member Functions | |
| GamsDictionary (GamsHandler &gams_) | |
| Constructor. | |
| ~GamsDictionary () | |
| Destructor. | |
| bool | readDictionary () |
| Reads the GAMS dictionary. | |
| bool | haveNames () |
| Indicates whether a dictionary has been successfully read. | |
| char * | getColName (int colnr, char *buffer, int bufLen) |
| The name of a column. | |
| char * | getRowName (int rownr, char *buffer, int bufLen) |
| The name of a row. | |
| char * | getObjName (char *buffer, int bufLen) |
| The name of the objective. | |
| char * | getColText (int colnr, char *buffer, int bufLen) |
| The descriptive text of a column. | |
| char * | getRowText (int rownr, char *buffer, int bufLen) |
| The descriptive text of a row. | |
| char * | getObjText (char *buffer, int bufLen) |
| The descriptive text of the objective. | |
Private Member Functions | |
| char * | constructName (char *buffer, int bufLen, int lSym, int *uelIndices, int nIndices) |
Private Attributes | |
| GamsHandler & | gams |
| dictRec * | dict |
Friends | |
| class | GamsBCH |
| class | GamsGDX |
Definition at line 23 of file GamsDictionary.hpp.
| GamsDictionary::GamsDictionary | ( | GamsHandler & | gams_ | ) |
| GamsDictionary::~GamsDictionary | ( | ) |
Destructor.
| char* GamsDictionary::constructName | ( | char * | buffer, | |
| int | bufLen, | |||
| int | lSym, | |||
| int * | uelIndices, | |||
| int | nIndices | |||
| ) | [private] |
| bool GamsDictionary::readDictionary | ( | ) |
Reads the GAMS dictionary.
| bool GamsDictionary::haveNames | ( | ) | [inline] |
Indicates whether a dictionary has been successfully read.
Definition at line 50 of file GamsDictionary.hpp.
References dict.
| char* GamsDictionary::getColName | ( | int | colnr, | |
| char * | buffer, | |||
| int | bufLen | |||
| ) |
The name of a column.
| colnr | column index | |
| buffer | a buffer for writing the name in | |
| bufLen | length of the buffer |
| char* GamsDictionary::getRowName | ( | int | rownr, | |
| char * | buffer, | |||
| int | bufLen | |||
| ) |
The name of a row.
| rownr | row index | |
| buffer | a buffer for writing the name in | |
| bufLen | length of the buffer |
| char* GamsDictionary::getObjName | ( | char * | buffer, | |
| int | bufLen | |||
| ) |
The name of the objective.
| buffer | a buffer for writing the name in | |
| bufLen | length of the buffer |
| char* GamsDictionary::getColText | ( | int | colnr, | |
| char * | buffer, | |||
| int | bufLen | |||
| ) |
The descriptive text of a column.
| colnr | col index | |
| buffer | a buffer for writing the name in | |
| bufLen | length of the buffer |
| char* GamsDictionary::getRowText | ( | int | rownr, | |
| char * | buffer, | |||
| int | bufLen | |||
| ) |
The descriptive text of a row.
| rownr | row index | |
| buffer | a buffer for writing the name in | |
| bufLen | length of the buffer |
| char* GamsDictionary::getObjText | ( | char * | buffer, | |
| int | bufLen | |||
| ) |
The descriptive text of the objective.
| buffer | a buffer for writing the name in | |
| bufLen | length of the buffer |
friend class GamsBCH [friend] |
Definition at line 24 of file GamsDictionary.hpp.
friend class GamsGDX [friend] |
Definition at line 25 of file GamsDictionary.hpp.
GamsHandler& GamsDictionary::gams [private] |
Definition at line 27 of file GamsDictionary.hpp.
struct dictRec* GamsDictionary::dict [private] |
1.4.7