Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[cdt-patch] CDI core patch

Index: ChangeLog
===================================================================
RCS file: /home/tools/org.eclipse.cdt.debug.core/ChangeLog,v
retrieving revision 1.226
diff -u -r1.226 ChangeLog
--- ChangeLog	5 Aug 2003 21:13:51 -0000	1.226
+++ ChangeLog	6 Aug 2003 19:35:42 -0000
@@ -1,3 +1,10 @@
+2003-08-06 Alain Magloire
+
+	Move some of the methods in ICDIVariableObject.
+
+	* src/org/eclipse/cdt/debug/core/cdi/ICDIVariable.java
+	* src/org/eclipse/cdt/debug/core/cdi/ICDIVariableObject.java
+
 2003-08-05 Mikhail Khodjaiants
 	Use the 'getReferencedProject' method to obtain all referenced projects.
 	* CDebugUtils.java
Index: src/org/eclipse/cdt/debug/core/cdi/model/ICDIVariable.java
===================================================================
RCS file: /home/tools/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/core/cdi/model/ICDIVariable.java,v
retrieving revision 1.7
diff -u -r1.7 ICDIVariable.java
--- src/org/eclipse/cdt/debug/core/cdi/model/ICDIVariable.java	26 May 2003 18:46:13 -0000	1.7
+++ src/org/eclipse/cdt/debug/core/cdi/model/ICDIVariable.java	6 Aug 2003 19:35:42 -0000
@@ -7,7 +7,6 @@
 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;
 
 /**
  * 
@@ -18,39 +17,6 @@
  */
 public interface ICDIVariable extends ICDIVariableObject {
 
-	
-	/**
-	 * Returns the stackframe where the variable was found
-	 * may return null.
-	 * 
-	 * @return the stackframe
-	 * @throws CDIException if this method fails.  Reasons include:
-	 */
-	ICDIStackFrame getStackFrame() throws CDIException;
-
-	/**
-	 * Returns the name of this variable.
-	 * 
-	 * @return the name of this variable
-	 * @throws CDIException if this method fails.  Reasons include:
-	 */
-	String getName();
-
-	/**
-	 * 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:
-	 */
-	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.
Index: src/org/eclipse/cdt/debug/core/cdi/model/ICDIVariableObject.java
===================================================================
RCS file: /home/tools/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/core/cdi/model/ICDIVariableObject.java,v
retrieving revision 1.1
diff -u -r1.1 ICDIVariableObject.java
--- src/org/eclipse/cdt/debug/core/cdi/model/ICDIVariableObject.java	27 Jan 2003 16:15:33 -0000	1.1
+++ src/org/eclipse/cdt/debug/core/cdi/model/ICDIVariableObject.java	6 Aug 2003 19:35:42 -0000
@@ -6,6 +6,9 @@
 
 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;
+
 
 /**
  * 
@@ -13,9 +16,39 @@
 public interface ICDIVariableObject extends ICDIObject {
 
 	/**
-	 * Method getName.
-	 * @return String
+	 * Returns the name of this variable.
+	 * 
+	 * @return String the name of this variable
+	 */
+	String getName();
+	
+	/**
+	 * Returns the stackframe where the variable was found
+	 * may return null.
+	 * 
+	 * @return the stackframe
+	 * @throws CDIException if this method fails.  Reasons include:
+	 */
+	ICDIStackFrame getStackFrame() 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 type of data this variable is declared.
+	 * 
+	 * @return the type of data this variable is declared
+	 * @throws CDIException if this method fails.  Reasons include:
 	 */
-	public String getName();
+	String getTypeName() throws CDIException;
 
+	/**
+	 * @return
+	 */
+	//int sizeof() throws CDIException;
 }



Back to the top