Eclipse CDT
Pre-release 3.0

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

All Superinterfaces:
IASTNode, IASTPointerOperator
All Known Subinterfaces:
ICASTPointer, ICPPASTPointerToMember, IGPPASTPointer, IGPPASTPointerToMember

public interface IASTPointer
extends IASTPointerOperator

This represents the good ol' * pointer operator.


Field Summary
 
Fields inherited from interface org.eclipse.cdt.core.dom.ast.IASTPointerOperator
EMPTY_ARRAY
 
Fields inherited from interface org.eclipse.cdt.core.dom.ast.IASTNode
EMPTY_NODE_ARRAY
 
Method Summary
 boolean isConst()
          Is this a const pointer?
 boolean isVolatile()
          Is this a volatile pointer?
 void setConst(boolean value)
          Set this to be a const pointer (true/false).
 void setVolatile(boolean value)
          Set this to be a volatile pointer (true/false).
 
Methods inherited from interface org.eclipse.cdt.core.dom.ast.IASTNode
accept, getContainingFilename, getFileLocation, getNodeLocations, getParent, getPropertyInParent, getRawSignature, getTranslationUnit, setParent, setPropertyInParent
 

Method Detail

isConst

boolean isConst()
Is this a const pointer?

Returns:
boolean

isVolatile

boolean isVolatile()
Is this a volatile pointer?

Returns:
boolean

setConst

void setConst(boolean value)
Set this to be a const pointer (true/false).

Parameters:
value - - the value

setVolatile

void setVolatile(boolean value)
Set this to be a volatile pointer (true/false).

Parameters:
value - - the value

Eclipse CDT
Pre-release 3.0

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