org.eclipse.cdt.debug.core.model
Interface ICastToArray
- All Superinterfaces:
- org.eclipse.core.runtime.IAdaptable, ICastToType
- All Known Subinterfaces:
- ICGlobalVariable, ICRegister, ICVariable
- All Known Implementing Classes:
- AbstractCVariable, CExpression, CGlobalVariable, CLocalVariable, CRegister, CVariable
public interface ICastToArray
- extends ICastToType
Provides the ability to present a variable as an array of the same type.
Method Summary |
boolean |
canCastToArray()
Returns whether this element can be currently casted to array. |
void |
castToArray(int startIndex,
int length)
Performs the casting. |
Methods inherited from interface org.eclipse.core.runtime.IAdaptable |
getAdapter |
canCastToArray
boolean canCastToArray()
- Returns whether this element can be currently casted to array.
- Returns:
- whether this element can be currently casted to array
castToArray
void castToArray(int startIndex,
int length)
throws org.eclipse.debug.core.DebugException
- Performs the casting. The element is transformed to the array of the same type.
- Parameters:
startIndex
- the index of the first element of the array. 0 means that
the original element is the first member of the array.length
- tha array size
- Throws:
org.eclipse.debug.core.DebugException