Eclipse CDT
Pre-release 3.0

org.eclipse.cdt.debug.core.cdi.model
Interface ICDIVariableDescriptor

All Superinterfaces:
ICDIObject
All Known Subinterfaces:
ICDIArgument, ICDIArgumentDescriptor, ICDIGlobalVariable, ICDIGlobalVariableDescriptor, ICDILocalVariable, ICDILocalVariableDescriptor, ICDIRegister, ICDIRegisterDescriptor, ICDIThreadStorage, ICDIThreadStorageDescriptor, ICDIVariable

public interface ICDIVariableDescriptor
extends ICDIObject


Method Summary
 boolean equals(ICDIVariableDescriptor varDesc)
          Returns true if the variable Object are the same, For example event if the name is the same because of casting this may return false;
 String getName()
          Returns the name of this variable.
 String getQualifiedName()
          Returns the qualified name of this variable.
 ICDIType getType()
          Returns the type of this variable descriptor.
 String getTypeName()
          Returns the type name of this variable descriptor.
 ICDIVariableDescriptor getVariableDescriptorAsArray(int start, int length)
          Consider the variable object as an Array of type and range[start, start + length - 1]
 ICDIVariableDescriptor getVariableDescriptorAsType(String type)
          Consider the variable descritor as type.
 int sizeof()
          Returns the size of this variable descriptor.
 
Methods inherited from interface org.eclipse.cdt.debug.core.cdi.model.ICDIObject
getTarget
 

Method Detail

getName

String getName()
Returns the name of this variable.

Returns:
String the name of this variable

getType

ICDIType getType()
                 throws CDIException
Returns the type of this variable descriptor.

Returns:
the type of data this variable is declared
Throws:
CDIException - if this method fails. Reasons include:

getTypeName

String getTypeName()
                   throws CDIException
Returns the type name of this variable descriptor.

Returns:
the type of data this variable is declared
Throws:
CDIException - if this method fails. Reasons include:

sizeof

int sizeof()
           throws CDIException
Returns the size of this variable descriptor.

Returns:
the size of this variable
Throws:
CDIException - if this method fails. Reasons include:

getQualifiedName

String getQualifiedName()
                        throws CDIException
Returns the qualified name of this variable.

Returns:
the qualified name of this variable
Throws:
CDIException - if this method fails. Reasons include:

getVariableDescriptorAsArray

ICDIVariableDescriptor getVariableDescriptorAsArray(int start,
                                                    int length)
                                                    throws CDIException
Consider the variable object as an Array of type and range[start, start + length - 1]

Parameters:
stack -
name -
Returns:
ICDIVariableDescriptor
Throws:
CDIException

getVariableDescriptorAsType

ICDIVariableDescriptor getVariableDescriptorAsType(String type)
                                                   throws CDIException
Consider the variable descritor as type.

Parameters:
stack -
name -
Returns:
ICDIVariableDescriptor
Throws:
CDIException

equals

boolean equals(ICDIVariableDescriptor varDesc)
Returns true if the variable Object are the same, For example event if the name is the same because of casting this may return false;

Returns:
true if the same

Eclipse CDT
Pre-release 3.0

Copyright (c) IBM Corp. and others 2004. All Rights Reserved.