| Overview | Group | Tree | Graph | Deprecated | Index | Concepts |

Instances of this class represent the input source for an OPL model.
This class is used to build an internal representation, called the model definition. Refer also to the Interfaces User's Manual.
See Also:
| Method Summary | |
|---|---|
public void | close() const |
public void | end() |
public | IloOplModelSource(IloEnv env, const char * filename) |
public | IloOplModelSource(IloEnv env, std::istream & ins, const char * name) |
| Method Detail |
|---|
This constructor creates a model input source from a model file.
OPL detects compiled sources automatically.
| env |
The environment to allocate memory.
|
| filename |
The path to the model file.
|
This constructor creates a model input source from a stream that provides model file syntax.
OPL detects compiled sources automatically.
| env |
The environment to allocate memory.
|
| ins |
The input stream from which the model file syntax is read.
|
| name |
The name of this model source.
|
This member function closes this model source; it is no longer needed.
Clears the memory used by this object