org.eclipse.cdt.debug.internal.core.model
Class CValue

java.lang.Object
  extended by org.eclipse.core.runtime.PlatformObject
      extended by org.eclipse.cdt.debug.internal.core.model.CDebugElement
          extended by org.eclipse.cdt.debug.internal.core.model.AbstractCValue
              extended by org.eclipse.cdt.debug.internal.core.model.CValue
All Implemented Interfaces:
ICDebugElement, ICDebugElementStatus, ICValue, org.eclipse.core.runtime.IAdaptable, org.eclipse.debug.core.model.IDebugElement, org.eclipse.debug.core.model.IValue
Direct Known Subclasses:
CFloatingPointValue, CGlobalValue

public class CValue
extends AbstractCValue

Represents the value of a variable in the CDI model.


Field Summary
 
Fields inherited from interface org.eclipse.cdt.debug.core.model.ICDebugElementStatus
ERROR, OK, WARNING
 
Method Summary
 void dispose()
           
 java.lang.String getReferenceTypeName()
           
 ICType getType()
           
 org.eclipse.cdt.debug.core.cdi.model.ICDIValue getUnderlyingValue()
           
 java.lang.String getValueString()
           
 org.eclipse.debug.core.model.IVariable[] getVariables()
           
 boolean hasVariables()
           
 boolean isAllocated()
           
 
Methods inherited from class org.eclipse.cdt.debug.internal.core.model.AbstractCValue
evaluateAsExpression, getParentVariable
 
Methods inherited from class org.eclipse.cdt.debug.internal.core.model.CDebugElement
createChangeEvent, createCreateEvent, createResumeEvent, createSuspendEvent, createTerminateEvent, fireChangeEvent, fireCreationEvent, fireResumeEvent, fireSuspendEvent, fireTerminateEvent, getAdapter, getCDISession, getCDITarget, getCurrentStateInfo, getDebugTarget, getLaunch, getMessage, getModelIdentifier, getSeverity, getState, isOK, notSupported, requestFailed, requestFailed, targetRequestFailed, targetRequestFailed
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.eclipse.debug.core.model.IDebugElement
getDebugTarget, getLaunch, getModelIdentifier
 
Methods inherited from interface org.eclipse.core.runtime.IAdaptable
getAdapter
 
Methods inherited from interface org.eclipse.cdt.debug.core.model.ICDebugElement
getCurrentStateInfo, getState
 
Methods inherited from interface org.eclipse.debug.core.model.IDebugElement
getDebugTarget, getLaunch, getModelIdentifier
 
Methods inherited from interface org.eclipse.core.runtime.IAdaptable
getAdapter
 

Method Detail

getReferenceTypeName

public java.lang.String getReferenceTypeName()
                                      throws org.eclipse.debug.core.DebugException
Throws:
org.eclipse.debug.core.DebugException

getValueString

public java.lang.String getValueString()
                                throws org.eclipse.debug.core.DebugException
Throws:
org.eclipse.debug.core.DebugException

isAllocated

public boolean isAllocated()
                    throws org.eclipse.debug.core.DebugException
Throws:
org.eclipse.debug.core.DebugException

getVariables

public org.eclipse.debug.core.model.IVariable[] getVariables()
                                                      throws org.eclipse.debug.core.DebugException
Throws:
org.eclipse.debug.core.DebugException

hasVariables

public boolean hasVariables()
                     throws org.eclipse.debug.core.DebugException
Throws:
org.eclipse.debug.core.DebugException

getUnderlyingValue

public org.eclipse.cdt.debug.core.cdi.model.ICDIValue getUnderlyingValue()

dispose

public void dispose()
Specified by:
dispose in class AbstractCValue

getType

public ICType getType()
               throws org.eclipse.debug.core.DebugException
Throws:
org.eclipse.debug.core.DebugException