22.04.2013 Views

GAMS Data Exchange API

GAMS Data Exchange API

GAMS Data Exchange API

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Page 10<br />

Special Values gdxResetSpecialValues ( see page 86) gdxSetSpecialValues ( see page 87)<br />

gdxGetSpecialValues ( see page 84) gdxMapValue ( see page 85)<br />

Errors gdxGetLastError ( see page 83) gdxErrorCount ( see page 80) gdxErrorStr ( see page<br />

80)<br />

Version<br />

Information<br />

Longest symbol<br />

unique element<br />

gdxSetTraceLevel ( see page 87) gdxFileVersion ( see page 81) gdxGetDLLVersion (<br />

see page 82)<br />

gdxSymbMaxLength ( see page 88) gdxUELMaxLength ( see page 90)<br />

gdxSymbIndxMaxLength ( see page 88)<br />

Acronyms gdxAcronymIndex ( see page 71) gdxAcronymValue ( see page 72) gdxAcronymCount (<br />

see page 71) gdxAcronymGetInfo ( see page 71) gdxAcronymSetInfo ( see page 72)<br />

1.5 Transition diagram<br />

GDX <strong>GAMS</strong> <strong>Data</strong> <strong>Exchange</strong> Transition<br />

diagram<br />

The routines documented below follow certain input / output state transitions. Routines not documented below have no special<br />

state requirements.<br />

Routine Input State Output State Notes<br />

gdxOpenRead ( see page 86) f_notopen fr_init<br />

gdxOpenWrite ( see page 86) f_notopen fw_init<br />

gdxOpenWriteEx ( see page 86) f_notopen fw_init<br />

gdxClose ( see page 73) fr_init, fw_init f_notopen<br />

gdx<strong>Data</strong>WriteRawStart ( see page 79) fw_init fw_raw_data<br />

gdx<strong>Data</strong>WriteMapStart ( see page 79) fw_init fw_map_data<br />

gdx<strong>Data</strong>WriteStrStart ( see page 80) fw_init fw_str_data<br />

gdx<strong>Data</strong>WriteRaw ( see page 79) fw_raw_data N/C<br />

gdx<strong>Data</strong>WriteMap ( see page 79) fw_map_data N/C<br />

gdx<strong>Data</strong>WriteStr ( see page 80) fw_str_data N/C<br />

gdx<strong>Data</strong>WriteDone ( see page 78) fw_raw_data, fw_map_data,<br />

fw_str_data, fw_init<br />

fw_init<br />

gdx<strong>Data</strong>ReadRawStart ( see page 77) fr_init fr_raw_data Note1<br />

gdx<strong>Data</strong>ReadMapStart ( see page 76) fr_init fr_map_data Note1<br />

gdx<strong>Data</strong>ReadStrStart ( see page 78) fr_init fr_str_data Note1<br />

gdx<strong>Data</strong>ReadFilteredStart ( see page 76) fr_init fr_map_data Note1<br />

gdx<strong>Data</strong>ReadRaw ( see page 77) fr_raw_data N/C, fr_init Note2<br />

gdx<strong>Data</strong>ReadMap ( see page 76) fr_map_data N/C, fr_init Note2<br />

gdx<strong>Data</strong>ReadStr ( see page 78) fr_str_data N/C, fr_init Note2<br />

gdx<strong>Data</strong>ReadDone ( see page 76) fr_raw_data, fr_map_data,<br />

fr_str_data, fr_init<br />

<strong>GAMS</strong> <strong>Data</strong> <strong>Exchange</strong> <strong>API</strong><br />

1.5<br />

Page 10 2.4<br />

12/3/2012

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!