public interface IIndexedValue extends IValue
The indexed collection value has been added to the debug model to support automatic partitioning of large arrays in the debug UI. Clients are not required to implement this interface for values representing indexed collections, however, doing so will provide enhanced display options in the debug UI.
Clients may implement this interface.
Modifier and Type | Method and Description |
---|---|
int |
getInitialOffset()
Returns the index of the first variable contained in this value.
|
int |
getSize()
Returns the number of entries in this indexed collection.
|
IVariable |
getVariable(int offset)
Returns the variable at the given offset in this collection.
|
IVariable[] |
getVariables(int offset,
int length)
Returns a subset of the elements in this collection of variables as
specified by the given offset and length.
|
getReferenceTypeName, getValueString, getVariables, hasVariables, isAllocated
getDebugTarget, getLaunch, getModelIdentifier
getAdapter
IVariable getVariable(int offset) throws DebugException
offset
- zero based offset into this collectionDebugException
- if unable to retrieve the variable at the
given offsetIVariable[] getVariables(int offset, int length) throws DebugException
offset
- beginning offset of the subset of elements to returnlength
- the number of elements to returnDebugException
- if unable to retrieve the variablesint getSize() throws DebugException
DebugException
- if unable to determine the number
of entries in this collectionint getInitialOffset()
Copyright (c) 2000, 2014 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.