org.eclipse.cdt.debug.core.model
Interface IFormatSupport

All Known Subinterfaces:
ICGlobalVariable, ICRegister, ICVariable
All Known Implementing Classes:
AbstractCVariable, CExpression, CGlobalVariable, CLocalVariable, CRegister, CVariable

public interface IFormatSupport

Provides the ability to set and get the format of a variable.


Method Summary
 void changeFormat(CVariableFormat format)
          Sets the current format of this variable to format.
 CVariableFormat getFormat()
          Returns the current format of this variable.
 boolean supportsFormatting()
          Returns whether this variable supports formatting operations.
 

Method Detail

supportsFormatting

boolean supportsFormatting()
Returns whether this variable supports formatting operations.

Returns:
whether this variable supports formatting operations

getFormat

CVariableFormat getFormat()
Returns the current format of this variable.

Returns:
the current format of this variable

changeFormat

void changeFormat(CVariableFormat format)
                  throws org.eclipse.debug.core.DebugException
Sets the current format of this variable to format.

Parameters:
format - the new format type
Throws:
org.eclipse.debug.core.DebugException - if this method fails.