Eclipse CDT
Pre-release 3.0

org.eclipse.cdt.core.dom.ast.cpp
Interface ICPPASTCompositeTypeSpecifier.ICPPASTBaseSpecifier

All Superinterfaces:
IASTNameOwner, IASTNode
Enclosing interface:
ICPPASTCompositeTypeSpecifier

public static interface ICPPASTCompositeTypeSpecifier.ICPPASTBaseSpecifier
extends IASTNode, IASTNameOwner

Base Specifiers are where a class expresses from whom it inherits.


Field Summary
static ICPPASTCompositeTypeSpecifier.ICPPASTBaseSpecifier[] EMPTY_BASESPECIFIER_ARRAY
          Constant.
static ASTNodeProperty NAME
          NAME is the name of the base class.
static int v_private
          v_private was private keyword used in describing this base class?
static int v_protected
          v_protected was protected keyword used in describing this base class?
static int v_public
          v_public was public keyword used in describing this base class?
 
Fields inherited from interface org.eclipse.cdt.core.dom.ast.IASTNode
EMPTY_NODE_ARRAY
 
Fields inherited from interface org.eclipse.cdt.core.dom.ast.IASTNameOwner
r_declaration, r_definition, r_reference, r_unclear
 
Method Summary
 IASTName getName()
          Get the name.
 int getVisibility()
          Get the visibility.
 boolean isVirtual()
          Is the keyword virtual used?
 void setName(IASTName name)
          Set the name.
 void setVirtual(boolean value)
          Set the virtual flag on/off.
 void setVisibility(int visibility)
          Set the visibility.
 
Methods inherited from interface org.eclipse.cdt.core.dom.ast.IASTNode
accept, getContainingFilename, getFileLocation, getNodeLocations, getParent, getPropertyInParent, getRawSignature, getTranslationUnit, setParent, setPropertyInParent
 
Methods inherited from interface org.eclipse.cdt.core.dom.ast.IASTNameOwner
getRoleForName
 

Field Detail

EMPTY_BASESPECIFIER_ARRAY

static final ICPPASTCompositeTypeSpecifier.ICPPASTBaseSpecifier[] EMPTY_BASESPECIFIER_ARRAY
Constant.


v_public

static final int v_public
v_public was public keyword used in describing this base class?

See Also:
Constant Field Values

v_protected

static final int v_protected
v_protected was protected keyword used in describing this base class?

See Also:
Constant Field Values

v_private

static final int v_private
v_private was private keyword used in describing this base class?

See Also:
Constant Field Values

NAME

static final ASTNodeProperty NAME
NAME is the name of the base class.

Method Detail

isVirtual

boolean isVirtual()
Is the keyword virtual used?

Returns:
boolean

setVirtual

void setVirtual(boolean value)
Set the virtual flag on/off.

Parameters:
value - boolean

getVisibility

int getVisibility()
Get the visibility.

Returns:
int

setVisibility

void setVisibility(int visibility)
Set the visibility.

Parameters:
visibility -

getName

IASTName getName()
Get the name.

Returns:
IASTName

setName

void setName(IASTName name)
Set the name.

Parameters:
name - IASTName

Eclipse CDT
Pre-release 3.0

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