Eclipse CDT
Pre-release 3.0

org.eclipse.cdt.core.dom.ast.cpp
Interface ICPPASTDeclSpecifier

All Superinterfaces:
IASTDeclSpecifier, IASTNode
All Known Subinterfaces:
ICPPASTCompositeTypeSpecifier, ICPPASTElaboratedTypeSpecifier, ICPPASTNamedTypeSpecifier, ICPPASTSimpleDeclSpecifier, IGPPASTSimpleDeclSpecifier

public interface ICPPASTDeclSpecifier
extends IASTDeclSpecifier

C++ adds additional modifiers and types for decl specifier sequence.


Field Summary
static int sc_last
          sc_last is overwritten to allow extensibility.
static int sc_mutable
          sc_mutable represents a mutable storage representation.
 
Fields inherited from interface org.eclipse.cdt.core.dom.ast.IASTDeclSpecifier
sc_auto, sc_extern, sc_register, sc_static, sc_typedef, sc_unspecified
 
Fields inherited from interface org.eclipse.cdt.core.dom.ast.IASTNode
EMPTY_NODE_ARRAY
 
Method Summary
 boolean isExplicit()
          Is this an explicit constructor?
 boolean isFriend()
          Is this a friend declaration?
 boolean isVirtual()
          Is this a virtual function?
 void setExplicit(boolean value)
          Set this to be an explicit constructor.
 void setFriend(boolean value)
          Set this to be a friend declaration true/false.
 void setVirtual(boolean value)
          Set this declaration to be virutal.
 
Methods inherited from interface org.eclipse.cdt.core.dom.ast.IASTDeclSpecifier
getRawSignature, getStorageClass, isConst, isInline, isVolatile, setConst, setInline, setStorageClass, setVolatile
 
Methods inherited from interface org.eclipse.cdt.core.dom.ast.IASTNode
accept, getContainingFilename, getFileLocation, getNodeLocations, getParent, getPropertyInParent, getTranslationUnit, setParent, setPropertyInParent
 

Field Detail

sc_mutable

static final int sc_mutable
sc_mutable represents a mutable storage representation.

See Also:
Constant Field Values

sc_last

static final int sc_last
sc_last is overwritten to allow extensibility.

See Also:
Constant Field Values
Method Detail

isFriend

boolean isFriend()
Is this a friend declaration?

Returns:
boolean

setFriend

void setFriend(boolean value)
Set this to be a friend declaration true/false.

Parameters:
value - boolean

isVirtual

boolean isVirtual()
Is this a virtual function?

Returns:
boolean

setVirtual

void setVirtual(boolean value)
Set this declaration to be virutal.

Parameters:
value - boolean

isExplicit

boolean isExplicit()
Is this an explicit constructor?

Returns:
boolean

setExplicit

void setExplicit(boolean value)
Set this to be an explicit constructor.

Parameters:
value - boolean

Eclipse CDT
Pre-release 3.0

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