Interface ICPPBase

All Superinterfaces:
Cloneable

public interface ICPPBase extends Cloneable
Represents the relationship between a class and one of its base classes.
Restriction:
This interface is not intended to be implemented by clients.
Restriction:
This interface is not intended to be extended by clients.
  • Field Details

  • Method Details

    • getBaseClass

      IBinding getBaseClass()
      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.
    • getBaseClassType

      IType getBaseClassType()
      The base class. Generally a ICPPClassType, but may be an ICPPUnknownType. In the case of typedefs, the target type will be returned instead of the typedef itself.
      Since:
      5.5
    • getClassDefinitionName

      IName getClassDefinitionName()
      Returns the name of the class definition that originally declares the base.
      Since:
      5.5
    • getVisibility

      int getVisibility()
      The visibility qualifier applied to the base class.
    • isVirtual

      boolean isVirtual()
      Whether this is a virtual base class.
    • isInheritedConstructorsSource

      boolean isInheritedConstructorsSource()
      The base class is a source of inherited constructors if the class definition that declares this base contains a using declaration naming the constructors of the base class.
      Since:
      5.7
    • clone

      ICPPBase clone()
      Since:
      5.1
    • setBaseClass

      void setBaseClass(IBinding baseClass)
      Used internally to change cloned bases.
      Restriction:
      This method is not intended to be referenced by clients.
    • setBaseClass

      void setBaseClass(IType baseClass)
      Used internally to change cloned bases.
      Restriction:
      This method is not intended to be referenced by clients.