mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-09 09:15:38 +02:00
Move methods to ICDIVariableObject.
This commit is contained in:
parent
06784eca01
commit
de21ec7208
2 changed files with 36 additions and 37 deletions
|
@ -7,7 +7,6 @@
|
||||||
package org.eclipse.cdt.debug.core.cdi.model;
|
package org.eclipse.cdt.debug.core.cdi.model;
|
||||||
|
|
||||||
import org.eclipse.cdt.debug.core.cdi.CDIException;
|
import org.eclipse.cdt.debug.core.cdi.CDIException;
|
||||||
import org.eclipse.cdt.debug.core.cdi.model.type.ICDIType;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
|
@ -19,39 +18,6 @@ import org.eclipse.cdt.debug.core.cdi.model.type.ICDIType;
|
||||||
public interface ICDIVariable extends ICDIVariableObject {
|
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.
|
* Returns the value of this variable.
|
||||||
*
|
*
|
||||||
|
|
|
@ -6,6 +6,9 @@
|
||||||
|
|
||||||
package org.eclipse.cdt.debug.core.cdi.model;
|
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 @@ package org.eclipse.cdt.debug.core.cdi.model;
|
||||||
public interface ICDIVariableObject extends ICDIObject {
|
public interface ICDIVariableObject extends ICDIObject {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Method getName.
|
* Returns the name of this variable.
|
||||||
* @return String
|
*
|
||||||
|
* @return String the name of this variable
|
||||||
*/
|
*/
|
||||||
public String getName();
|
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:
|
||||||
|
*/
|
||||||
|
String getTypeName() throws CDIException;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
|
//int sizeof() throws CDIException;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue