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

An instance of this class represents the data used by an OPL model. It can be used as a data source for another model instance.
See Also:
| Method Summary | |
|---|---|
public void | addElement(IloOplElement element) |
public void | addElementAs(const char * name, IloOplElement element) |
public IloOplElement | getElement(const char * name) const |
public | IloOplDataElements(IloEnv env) |
public IloOplElement | makeElement(const char * name, IloTuple value) const |
public IloOplElement | makeElement(const char * name, const char * value) const |
public IloOplElement | makeElement(const char * name, IloNum value) const |
public IloOplElement | makeElement(const char * name, IloInt value) const |
public IloOplElementIterator | makeElementIterator() |
public void | setElement(IloOplElement element) |
Inherited Methods from IloOplDataSource |
|---|
end, getDataSourceName, IloOplDataSource, IloOplDataSource, IloOplDataSource |
| Method Detail |
|---|
Constructs empty collections of data elements.
| env |
The environment in which to create the collection.
|
Adds an element to this collection.
The collection does not take ownership of the allocated memory.
| element |
The element to add.
|
Adds an element to this collection, with a different name.
The collection does not take ownership of the allocated memory.
| name |
The name for the added element.
|
| element |
The element to add.
|
Returns a named data element.
| name |
The name of the desired data element.
|
Creates a new data element, which can be added to this collection.
The caller takes ownership of the allocated memory.
| name |
The name for the new element.
|
| value |
The value of the new element.
|
IloOplElementIterator being created. Creates a new data element, which can be added to this collection.
The caller takes ownership of the allocated memory.
| name |
The name for the new element.
|
| value |
The value of the new element.
|
IloOplElementIterator being created. Creates a new data element, which can be added to this collection.
The caller takes ownership of the allocated memory.
| name |
The name for the new element.
|
| value |
The value of the new element.
|
IloOplElementIterator being created. Creates a new data element, which can be added to this collection.
The caller takes ownership of the allocated memory.
| name |
The name for the new element.
|
| value |
The value of the new element.
|
IloOplElementIterator being created. Returns a new iterator for the elements in this model. The caller is responsible for ending the iterator.
IloOplElementIterator being created. Replaces an element in this collection.
The collection does not take ownership of the allocated memory.
| element |
The element to add.
|