|
Eclipse CDT 7.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ICDIMemorySpaceEncoder
Add-on interface for objects that implement ICDIMemorySpaceManagement. Provides the string encoding and decoding of a memory space qualified address. CDT provides a default encoding of [memory-space-id]:[expression]. If this is adequate, the CDI client need not implement this interface. This method is called when having to represent a memory-space qualified address as a single string.
Nested Class Summary | |
---|---|
static interface |
ICDIMemorySpaceEncoder.DecodeResult
|
Method Summary | |
---|---|
ICDIMemorySpaceEncoder.DecodeResult |
decodeAddress(java.lang.String str)
The inverse of encodeAddress(String, String) . |
java.lang.String |
encodeAddress(java.lang.String expression,
java.lang.String memorySpaceID)
Encode an expression + memory space ID to a string. |
Methods inherited from interface org.eclipse.cdt.debug.core.cdi.model.ICDIObject |
---|
getTarget |
Method Detail |
---|
java.lang.String encodeAddress(java.lang.String expression, java.lang.String memorySpaceID)
expression
- the expression representing a location within a memory space.
This can be a simple numeric expression like "0x10000" or
something more complex "$EAX+(gCustomerCount*100)".memorySpaceID
- a string which represents the memory space
ICDIMemorySpaceEncoder.DecodeResult decodeAddress(java.lang.String str) throws CDIException
encodeAddress(String, String)
.
str
- the encoded string
CDIException
- if string is not in the expected format
|
Eclipse CDT 7.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |