Eclipse CDT
Pre-release 3.0

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


public interface ICPPBase

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
 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.
 

Field Detail

EMPTY_BASE_ARRAY

public static final ICPPBase[] EMPTY_BASE_ARRAY

v_private

public static final int v_private
See Also:
Constant Field Values

v_protected

public static final int v_protected
See Also:
Constant Field Values

v_public

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

getBaseClass

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

Returns:
Throws:
DOMException

getBaseClassSpecifierName

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

Since:
4.0

getVisibility

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

Returns:
Throws:
DOMException

isVirtual

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

Returns:
Throws:
DOMException

Eclipse CDT
Pre-release 3.0

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