Skip to main content
FRAMES NO FRAMES

Class IloSymbolMap

Definition file: ilopl/ilomap.h
Map of IloSymbolMapIloSymbolMapIloSymbolMap
This is the class for mapping a list of string values.

The class IloSymbolMap maps a list of string elements. This list is indexed by sets of integers, floats, strings or tuples.

Method Summary
public const IloSymbolget(IloTuple index) const
public const IloSymbolget(IloSymbol index) const
public const IloSymbolget(const char * index) const
public const IloSymbolget(IloNum index) const
public const IloSymbolget(IloInt index) const
public IloSymbolgetAt(IloMapIndexArray indices) const
public IloSymbolMapgetSub(const char * index) const
public IloSymbolMapgetSub(IloTuple index) const
public IloSymbolMapgetSub(IloInt index) const
public IloSymbolMapgetSub(IloNum index) const
public IloSymbolMapoperator[](IloTuple index) const
public IloSymbolMapoperator[](IloSymbol index) const
public IloSymbolMapoperator[](const char * index) const
public IloSymbolMapoperator[](IloNum index) const
public IloSymbolMapoperator[](IloInt index) const
public voidset(IloTuple index, const char * value)
public voidset(const char * index, const char * value)
public voidset(IloNum index, const char * value)
public voidset(IloInt index, const char * value)
Method Detail

get

public const IloSymbol get(IloTuple index) const

This member function returns the element index from the map. The invoking map should be of one dimension only.

Parameters:

index
The requested element.

get

public const IloSymbol get(IloSymbol index) const

This member function returns the element idx from the map. The invoking map should be of one dimension only. See get(IloInt).


get

public const IloSymbol get(const char * index) const

This member function returns the element index from the map. The invoking map should be of one dimension only.

Parameters:

index
The requested element.

get

public const IloSymbol get(IloNum index) const

This member function returns the element index from the map. The invoking map should be of one dimension only.

Parameters:

index
The requested element.

get

public const IloSymbol get(IloInt index) const

This member function returns the element index from the map. The invoking map should be of one dimension only.

Parameters:

index
The requested element.

getAt

public IloSymbol getAt(IloMapIndexArray indices) const

This member function returns the element corresponding to indices from the map. The invoking map should have as many dimensions as the size of indices.

Parameters:

indices
The requested element.

getSub

public IloSymbolMap getSub(const char * index) const

This member function returns the submap index from the map. The invoking map should have more than one dimension.


getSub

public IloSymbolMap getSub(IloTuple index) const

This member function returns the submap index from the map. The invoking map should have more than one dimension.

see IloMap#getSub(IloInt)

getSub

public IloSymbolMap getSub(IloInt index) const

This member function returns the submap index from the map. The invoking map should have more than one dimension.


getSub

public IloSymbolMap getSub(IloNum index) const

This member function returns the submap index from the map. The invoking map should have more than one dimension.


operator[]

public IloSymbolMap operator[](IloTuple index) const

Returns the submap index from the map. The invoking map should have more than one dimension.


operator[]

public IloSymbolMap operator[](IloSymbol index) const

Returns the submap index from the map. The invoking map should have more than one dimension.


operator[]

public IloSymbolMap operator[](const char * index) const

Returns the submap index from the map. The invoking map should have more than one dimension.


operator[]

public IloSymbolMap operator[](IloNum index) const

Returns the submap index from the map. The invoking map should have more than one dimension.


operator[]

public IloSymbolMap operator[](IloInt index) const

This member function returns the submap index from the map. The invoking map should have more than one dimension.


set

public void set(IloTuple index, const char * value)

Sets the element index in the current map to value. The invoking map should be of only one dimension.

Parameters:

index
The tuple element to set.
value
The value of the element.

set

public void set(const char * index, const char * value)

Sets the element index in the current map to value. The invoking map should be of only one dimension.

Parameters:

index
The string element to set.
value
The value of the element.

set

public void set(IloNum index, const char * value)

Sets the element index in the current map to value. The invoking map should be of only one dimension.

Parameters:

index
The float element to set.
value
The value of the element.

set

public void set(IloInt index, const char * value)

Sets the element index in the current map to value. The invoking map should be of only one dimension.

Parameters:

index
The integer element to set.
value
The value of the element.