Eclipse CDT
Pre-release 3.0

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

All Superinterfaces:
java.lang.Cloneable

public interface ICPPBase
extends java.lang.Cloneable

Represents the relationship between a class and one of its base classes.


Field Summary
static ICPPBase[] EMPTY_BASE_ARRAY
           
static int v_private
           
static int v_protected
           
static int v_public
           
 
Method Summary
 ICPPBase clone()
           
 IBinding getBaseClass()
          The base class.
 org.eclipse.cdt.core.dom.IName getBaseClassSpecifierName()
          Returns the name that specifies the base class.
 int getVisibility()
          The visibility qualifier applied to the base class.
 boolean isVirtual()
          Whether this is a virtual base class.
 void setBaseClass(IBinding baseClass)
          Used internally to change cloned bases.
 

Field Detail

EMPTY_BASE_ARRAY

static final ICPPBase[] EMPTY_BASE_ARRAY

v_private

static final int v_private
See Also:
Constant Field Values

v_protected

static final int v_protected
See Also:
Constant Field Values

v_public

static final int v_public
See Also:
Constant Field Values
Method Detail

getBaseClass

IBinding getBaseClass()
                      throws DOMException
The base class. Generally a ICPPClassType, but may be a ICPPTemplateParameter. In the case of typedefs, the target type will be returned instead of the typedef itself.

Throws:
DOMException

getBaseClassSpecifierName

org.eclipse.cdt.core.dom.IName getBaseClassSpecifierName()
Returns the name that specifies the base class.

Since:
4.0

getVisibility

int getVisibility()
                  throws DOMException
The visibility qualifier applied to the base class.

Throws:
DOMException

isVirtual

boolean isVirtual()
                  throws DOMException
Whether this is a virtual base class.

Throws:
DOMException

clone

ICPPBase clone()
Since:
5.1

setBaseClass

void setBaseClass(IBinding baseClass)
Used internally to change cloned bases.


Eclipse CDT
Pre-release 3.0

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