org.eclipse.cdt.debug.internal.core.model
Class CType

java.lang.Object
  extended by org.eclipse.cdt.debug.internal.core.model.CType
All Implemented Interfaces:
ICType

public class CType
extends java.lang.Object
implements ICType

The CDI-based implementation of ICType.


Constructor Summary
CType(org.eclipse.cdt.debug.core.cdi.model.type.ICDIType cdiType)
          Constructor for CType.
 
Method Summary
 void dispose()
           
 int[] getArrayDimensions()
          Returns the array dimensions for array types, otherwise returns an empty array.
 java.lang.String getName()
          Returns the name of this type.
 boolean isArray()
          Returns whether this is an array type.
 boolean isCharacter()
          Returns whether this is a character type.
 boolean isFloatingPointType()
          Returns whether this is a floating point type.
 boolean isIntegralType()
          Returns whether this is an integral type.
 boolean isPointer()
          Returns whether this is a pointer type.
 boolean isReference()
          Returns whether this is a reference type.
 boolean isStructure()
          Returns whether this is a structure or a class type.
 boolean isUnsigned()
          Returns whether this is an unsigned type.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CType

public CType(org.eclipse.cdt.debug.core.cdi.model.type.ICDIType cdiType)
Constructor for CType.

Method Detail

getName

public java.lang.String getName()
Description copied from interface: ICType
Returns the name of this type.

Specified by:
getName in interface ICType
Returns:
the name of this type

dispose

public void dispose()

getArrayDimensions

public int[] getArrayDimensions()
Description copied from interface: ICType
Returns the array dimensions for array types, otherwise returns an empty array.

Specified by:
getArrayDimensions in interface ICType
Returns:
the array dimensions

isArray

public boolean isArray()
Description copied from interface: ICType
Returns whether this is an array type.

Specified by:
isArray in interface ICType
Returns:
whether this is an array type

isCharacter

public boolean isCharacter()
Description copied from interface: ICType
Returns whether this is a character type.

Specified by:
isCharacter in interface ICType
Returns:
whether this is a character type

isFloatingPointType

public boolean isFloatingPointType()
Description copied from interface: ICType
Returns whether this is a floating point type.

Specified by:
isFloatingPointType in interface ICType
Returns:
whether this is a floating point type

isPointer

public boolean isPointer()
Description copied from interface: ICType
Returns whether this is a pointer type.

Specified by:
isPointer in interface ICType
Returns:
whether this is a pointer type

isReference

public boolean isReference()
Description copied from interface: ICType
Returns whether this is a reference type.

Specified by:
isReference in interface ICType
Returns:
whether this is a reference type

isStructure

public boolean isStructure()
Description copied from interface: ICType
Returns whether this is a structure or a class type.

Specified by:
isStructure in interface ICType
Returns:
whether this is a structure or a class type

isUnsigned

public boolean isUnsigned()
Description copied from interface: ICType
Returns whether this is an unsigned type.

Specified by:
isUnsigned in interface ICType
Returns:
whether this is an unsigned type

isIntegralType

public boolean isIntegralType()
Description copied from interface: ICType
Returns whether this is an integral type.

Specified by:
isIntegralType in interface ICType
Returns:
whether this is an integral type