PTP
Release 5.0

org.eclipse.ptp.debug.core.pdi.model
Interface IPDIRegister

All Superinterfaces:
IPDIRegisterDescriptor, IPDISessionObject, IPDISet, IPDIVariable, IPDIVariableDescriptor

public interface IPDIRegister
extends IPDIVariable, IPDIRegisterDescriptor

A register is special kind of variable that is contained in a register group. Each register has a name and a AIF value


Method Summary
 void dispose()
          Remove the variable from the manager list
 boolean equals(IPDIVariable variable)
          Determines whether both variables are the same
 IAIF getAIF(IPDIStackFrame context)
          Returns AIF value of this variable
 boolean isEditable()
          Returns whether the value of this variable could be changed
 void setValue(String expression)
          Sets value of this variable by given expression
 
Methods inherited from interface org.eclipse.ptp.debug.core.pdi.model.IPDIVariable
getChild, getChildren, getChildren, getChildrenNumber, resetValue
 
Methods inherited from interface org.eclipse.ptp.debug.core.pdi.model.IPDIVariableDescriptor
equalDescriptors, getAIF, getCastingArrayEnd, getCastingArrayStart, getCastingTypes, getFullName, getId, getName, getPosition, getQualifiedName, getStackDepth, getStackFrame, getThread, getTypeName, getVariableDescriptorAsArray, getVariableDescriptorAsType, setAIF, setCastingArrayEnd, setCastingArrayStart, sizeof
 
Methods inherited from interface org.eclipse.ptp.debug.core.pdi.IPDISessionObject
getSession
 
Methods inherited from interface org.eclipse.ptp.debug.core.pdi.IPDISet
getTasks
 
Methods inherited from interface org.eclipse.ptp.debug.core.pdi.model.IPDIVariableDescriptor
equalDescriptors, getAIF, getCastingArrayEnd, getCastingArrayStart, getCastingTypes, getFullName, getId, getName, getPosition, getQualifiedName, getStackDepth, getStackFrame, getThread, getTypeName, getVariableDescriptorAsArray, getVariableDescriptorAsType, setAIF, setCastingArrayEnd, setCastingArrayStart, sizeof
 
Methods inherited from interface org.eclipse.ptp.debug.core.pdi.IPDISessionObject
getSession
 
Methods inherited from interface org.eclipse.ptp.debug.core.pdi.IPDISet
getTasks
 

Method Detail

isEditable

boolean isEditable()
                   throws PDIException
Returns whether the value of this variable could be changed

Specified by:
isEditable in interface IPDIVariable
Returns:
true if the value of this variable could be changed
Throws:
PDIException - on failure

getAIF

IAIF getAIF(IPDIStackFrame context)
            throws PDIException
Returns AIF value of this variable

Parameters:
context - StackFrame
Returns:
AIF value of this variable
Throws:
PDIException - on failure

setValue

void setValue(String expression)
              throws PDIException
Sets value of this variable by given expression

Specified by:
setValue in interface IPDIVariable
Parameters:
expression - an expression to generate a new AIF value
Throws:
PDIException - on failure

dispose

void dispose()
             throws PDIException
Remove the variable from the manager list

Specified by:
dispose in interface IPDIVariable
Throws:
PDIException - on failure

equals

boolean equals(IPDIVariable variable)
Determines whether both variables are the same

Specified by:
equals in interface IPDIVariable
Parameters:
variable - IPDIVariable for comparing
Returns:
true if given variable is same as the current variable

PTP
Release 5.0

Copyright (c) 2011 IBM Corporation and others. All Rights Reserved.