|
Eclipse CDT Pre-release 3.0 |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This is the base interface that represents a declaration specifier sequence.
Field Summary | |
---|---|
static int |
sc_auto
sc_auto auto |
static int |
sc_extern
sc_extern extern |
static int |
sc_last
sc_last for sub-interfaces to continue on |
static int |
sc_register
sc_register register |
static int |
sc_static
sc_static static |
static int |
sc_typedef
sc_typedef typedef |
static int |
sc_unspecified
sc_unspecified undefined storage class |
Fields inherited from interface org.eclipse.cdt.core.dom.ast.IASTNode |
---|
EMPTY_NODE_ARRAY |
Method Summary | |
---|---|
String |
getRawSignature()
Get the string that represents the decl specifier seq. as represented in the file pre-processing. |
int |
getStorageClass()
Get the storage class. |
boolean |
isConst()
Is const modifier used? |
boolean |
isInline()
Is inline modifier used? |
boolean |
isVolatile()
Is volatile modifier used? |
void |
setConst(boolean value)
Set const modifier used. |
void |
setInline(boolean value)
Set inline modifier used. |
void |
setStorageClass(int storageClass)
Set the storage class. |
void |
setVolatile(boolean value)
Set volatile modifier used. |
Methods inherited from interface org.eclipse.cdt.core.dom.ast.IASTNode |
---|
accept, contains, getContainingFilename, getFileLocation, getNodeLocations, getParent, getPropertyInParent, getTranslationUnit, setParent, setPropertyInParent |
Field Detail |
public static final int sc_unspecified
sc_unspecified
undefined storage class
public static final int sc_typedef
sc_typedef
typedef
public static final int sc_extern
sc_extern
extern
public static final int sc_static
sc_static
static
public static final int sc_auto
sc_auto
auto
public static final int sc_register
sc_register
register
public static final int sc_last
sc_last
for sub-interfaces to continue on
Method Detail |
public void setStorageClass(int storageClass)
storageClass
- intpublic int getStorageClass()
public boolean isConst()
public void setConst(boolean value)
value
- booleanpublic boolean isVolatile()
public void setVolatile(boolean value)
value
- booleanpublic boolean isInline()
public void setInline(boolean value)
value
- booleanpublic String getRawSignature()
getRawSignature
in interface IASTNode
|
Eclipse CDT Pre-release 3.0 |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |