ContentsIndexHome
PreviousUpNext
IDataView::insert Method (Tuple&, char*, bool)

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. 

 

C++
virtual void insert(const Tuple& pos, 
                            const char* value, 
                            bool insertIntoRange = true) = 0;
Parameters 
Description 
const Tuple& pos 
The position.  
const char* value 
The value.  
bool insertIntoRange = true 
True if the range may be extended.
 

When applied to element parameters, the insertIntoRange boolean toggles whether the value may be added to the range as well.