Opens and creates an IData object that represents the data of the AIMMS identifier with the provided name.
virtual IData* openData(const char* szName) = 0;
Parameters |
Description |
const char* szName |
The name of the AIMMS identifier. |
An instance of an IData object.
Throws an InvalidUseException if the model has no identifier with the supplied name.
Depending on the actual AIMMS identifer, the appropriate instance of a kind of IData object will be returned (ISetData, IScalarData or IMultiDimData).