Editing SEQUENCE OF/SET OF Fields


 

The following editing operations may be performed on a SEQUENCE OF or SET OF typed value:

  • Adding elements
  • Deleting elements

Adding elements

When a value of type SEQUENCE OF or SET OF is selected for edit, a spin box is displayed:

 

Increasing the number in the spin box and pressing Update will cause additional empty elements to be added to the value. These nodes can then be selected in the tree view and edited to add content.

A new element can also be inserted before or after an existing element by right-clicking on an element in tree view and selecting the Insert Before or Insert After command:

This will cause a new empty element tp be inserted at the current position. This element can then be edited to add content.

 

Deleting Elements

Elements are removed from a SEQUENCE OF or SET OF value simply by decreasing the number in the spin box and clicking Update. This will remove elements from the end of the value.

To delete specific elements, right-click on the element in tree view to be deleted and select the Delete option from the popup menu:

Note that ASN1VE will not allow you do delete more elements then allowed by the schema. In other words, if the SEQUENCE OF or SET OF type contains a SIZE constraint with a minimum bound, ASN1VE will not allow the number of elements to drop below that bound.

 

 

 

Copyright © 2004-2012 Objective Systems, Inc. All Rights Reserved.