Interface IInclude

All Superinterfaces:
org.eclipse.core.runtime.IAdaptable, ICElement, ISourceManipulation, ISourceReference

public interface IInclude extends ICElement, ISourceReference, ISourceManipulation
Represents an include declaration in a C translation unit.
Restriction:
This interface is not intended to be implemented by clients.
Restriction:
This interface is not intended to be extended by clients.
  • Method Details

    • getIncludeName

      String getIncludeName()
      Returns the name that of the included file. For example, for the statement #include <stdio.h>, this returns "stdio.h".
    • isStandard

      boolean isStandard()
      Returns whether the included was search on "standard places" like /usr/include first . An include is standard if it starts with '<'. For example, #include <stdio.h> returns true and #include "foobar.h" returns false.
    • isLocal

      boolean isLocal()
      The inverse of isStandard()
    • getFullFileName

      String getFullFileName()
    • isResolved

      boolean isResolved()
      Returns:
      whether this include directive was resolved and followed.