mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
added new methods to allow casting
This commit is contained in:
parent
00d81cd9ef
commit
c857a4eaf2
1 changed files with 9 additions and 1 deletions
|
@ -6,6 +6,7 @@
|
|||
|
||||
package org.eclipse.cdt.debug.core.cdi.model.type;
|
||||
|
||||
import org.eclipse.cdt.debug.core.cdi.CDIException;
|
||||
import org.eclipse.cdt.debug.core.cdi.model.ICDIValue;
|
||||
|
||||
|
||||
|
@ -17,5 +18,12 @@ import org.eclipse.cdt.debug.core.cdi.model.ICDIValue;
|
|||
*/
|
||||
public interface ICDIIntegralValue extends ICDIValue {
|
||||
|
||||
// Implement type conversion here
|
||||
public long longValue() throws CDIException;
|
||||
|
||||
public int intValue() throws CDIException;
|
||||
|
||||
public short shortValue() throws CDIException;
|
||||
|
||||
public int byteValue() throws CDIException;
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue