Eclipse CDT
Pre-release 3.0

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

All Superinterfaces:
IBinding
All Known Subinterfaces:
ICPPField, ICPPParameter, ICPPTemplateNonTypeParameter, ICPPVariable, IField, IParameter

public interface IVariable
extends IBinding


Field Summary
 
Fields inherited from interface org.eclipse.cdt.core.dom.ast.IBinding
EMPTY_BINDING_ARRAY
 
Method Summary
 IType getType()
           
 boolean isAuto()
           
 boolean isExtern()
           
 boolean isRegister()
           
 boolean isStatic()
          Does this function have the static storage-class specifier similarily for extern, auto, register
 
Methods inherited from interface org.eclipse.cdt.core.dom.ast.IBinding
getName, getNameCharArray, getScope
 

Method Detail

getType

IType getType()
              throws DOMException
Returns:
the type of the variable
Throws:
DOMException

isStatic

boolean isStatic()
                 throws DOMException
Does this function have the static storage-class specifier similarily for extern, auto, register

Returns:
Throws:
DOMException

isExtern

boolean isExtern()
                 throws DOMException
Throws:
DOMException

isAuto

boolean isAuto()
               throws DOMException
Throws:
DOMException

isRegister

boolean isRegister()
                   throws DOMException
Throws:
DOMException

Eclipse CDT
Pre-release 3.0

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