Eclipse CDT
7.0

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

All Superinterfaces:
IBinding

public interface IEnumerator
extends IBinding

Interface for enumerators.


Field Summary
 
Fields inherited from interface org.eclipse.cdt.core.dom.ast.IBinding
EMPTY_BINDING_ARRAY
 
Method Summary
 IType getType()
          Returns the type of this enumeration.
 IValue getValue()
          Returns the value assigned to this enumerator.
 
Methods inherited from interface org.eclipse.cdt.core.dom.ast.IBinding
getLinkage, getName, getNameCharArray, getOwner, getScope
 

Method Detail

getType

IType getType()
Returns the type of this enumeration. The type of an enumerator is the enumeration in which it is declared.

Returns:
the type of the enumeration

getValue

IValue getValue()
Returns the value assigned to this enumerator.

Since:
5.1

Eclipse CDT
7.0

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