mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-24 09:25:31 +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;
|
||||
|
||||
import org.eclipse.cdt.debug.core.cdi.CDIException;
|
||||
import org.eclipse.cdt.debug.core.cdi.model.type.ICDIType;
|
||||
|
||||
/**
|
||||
*
|
||||
|
@ -18,39 +17,6 @@ import org.eclipse.cdt.debug.core.cdi.model.type.ICDIType;
|
|||
*/
|
||||
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.
|
||||
|
|
|
@ -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 @@ package org.eclipse.cdt.debug.core.cdi.model;
|
|||
public interface ICDIVariableObject extends ICDIObject {
|
||||
|
||||
/**
|
||||
* Method getName.
|
||||
* @return String
|
||||
* Returns the name of this variable.
|
||||
*
|
||||
* @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