From 2644a0923ef3d3c22f8257557d6005a2e0bcbf65 Mon Sep 17 00:00:00 2001 From: Alain Magloire Date: Mon, 26 May 2003 18:46:13 +0000 Subject: [PATCH] getType() new method. --- .../eclipse/cdt/debug/core/cdi/model/ICDIVariable.java | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/core/cdi/model/ICDIVariable.java b/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/core/cdi/model/ICDIVariable.java index bfd8401c537..5fb407984fa 100644 --- a/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/core/cdi/model/ICDIVariable.java +++ b/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/core/cdi/model/ICDIVariable.java @@ -7,6 +7,7 @@ package org.eclipse.cdt.debug.core.cdi.model; import org.eclipse.cdt.debug.core.cdi.CDIException; +import org.eclipse.cdt.debug.core.cdi.model.type.ICDIType; /** * @@ -43,6 +44,14 @@ public interface ICDIVariable extends ICDIVariableObject { */ String getTypeName() throws CDIException; + /** + * Returns the type of data this variable is declared. + * + * @return the type of data this variable is declared + * @throws CDIException if this method fails. Reasons include: + */ + ICDIType getType() throws CDIException; + /** * Returns the value of this variable. *