Eclipse CDT
7.0

org.eclipse.cdt.core.dom.ast
Interface IArrayType

All Superinterfaces:
java.lang.Cloneable, IType
All Known Subinterfaces:
ICArrayType

public interface IArrayType
extends IType


Field Summary
 
Fields inherited from interface org.eclipse.cdt.core.dom.ast.IType
EMPTY_TYPE_ARRAY, TYPE_MATCHER
 
Method Summary
 IASTExpression getArraySizeExpression()
          get the expression that represents the size of this array
 IValue getSize()
          Returns the value for the size of the array type, or null if it is unspecified.
 IType getType()
          get the type that this is an array of
 
Methods inherited from interface org.eclipse.cdt.core.dom.ast.IType
clone, isSameType
 

Method Detail

getType

IType getType()
get the type that this is an array of


getSize

IValue getSize()
Returns the value for the size of the array type, or null if it is unspecified.

Since:
5.2

getArraySizeExpression

IASTExpression getArraySizeExpression()
                                      throws DOMException
get the expression that represents the size of this array

Throws:
DOMException

Eclipse CDT
7.0

Copyright (c) IBM Corp. and others 2004, 2012. All Rights Reserved.