ContentsIndexHome
PreviousUpNext
insert Method

Sets the given position to the specified value. If the specified position does not exist yet in the index domain(s), the index domain(s) will be extended.

Sets the given position to the specified value. If the specified position does not exist yet in the index domain(s), the index domain(s) will be extended. Applies to element valued data.

void insert(Tuple pos, IElement value);

 

Sets the given position to the specified value. If the specified position does not exist yet in the index domain(s), the index domain(s) will be extended. Applies to string valued data.

void insert(Tuple pos, String value);

 

Sets the given position to the specified value. If the specified position does not exist yet in the index domain(s), the index domain(s) will be extended. 

 

If the value does not exist in the associated range (when this is a view on an Element Parameter which does not have a subset of Integer as its range), the boolean insertIntoRange can be set to true to indicate that the value should also be inserted into the range. 

 

Applies to element valued data of which the range is not a subset of Integers.

void insert(Tuple pos, String value, bool insertIntoRange);

 

Sets the given position to the specified value. If the specified position does not exist yet in the index domain(s), the index domain(s) will be extended. Applies to double valued data.

void insert(Tuple pos, double value);

 

Sets the given position to the specified value. If the specified position does not exist yet in the index domain(s), the index domain(s) will be extended. Applies to integer and double valued data.

void insert(Tuple pos, int value);

 

Sets the given position to the specified value. If the specified position does not exist yet in the index domain(s), the index domain(s) will be extended. 

 

If the value does not exist in the associated range (when this is a view on an Element Parameter with a subset of Integer as its range), the boolean insertIntoRange can be set to true to indicate that the value should also be inserted into the range. 

 

Applies to element valued data of which the range is a subset of Integers.

void insert(Tuple pos, int value, bool insertIntoRange);