Class CIncludeFileEntry

All Implemented Interfaces:
ICIncludeFileEntry, ICLanguageSettingEntry, ICLanguageSettingPathEntry, ICPathEntry, ICSettingEntry

public final class CIncludeFileEntry extends ACPathEntry implements ICIncludeFileEntry
Representation in the project model of include file settings entries. As an example, those are supplied by a gcc compiler with option "-include".
  • Constructor Details

    • CIncludeFileEntry

      public CIncludeFileEntry(String name, int flags)
      This constructor is discouraged to be referenced by clients. Instead, use pooled entries with CDataUtil.createCIncludeFileEntry(name, flags).
      Parameters:
      name - - include file path. The path can be an absolute location on the local file-system or with flag ICSettingEntry.VALUE_WORKSPACE_PATH it is treated as workspace full path.
      flags - - bitwise combination of ICSettingEntry flags.
    • CIncludeFileEntry

      public CIncludeFileEntry(org.eclipse.core.runtime.IPath location, int flags)
      This constructor is discouraged to be used directly. Instead, use pooled entries with CDataUtil.createCIncludeFileEntry(location.toString(), flags) or wrap it with CDataUtil.getPooledEntry(new CIncludeFileEntry(location, flags)).
      Parameters:
      location - - include file path. The path can be an absolute location on the local file-system or with flag ICSettingEntry.VALUE_WORKSPACE_PATH it is treated as workspace full path.
      flags - - bitwise combination of ICSettingEntry flags.
    • CIncludeFileEntry

      public CIncludeFileEntry(org.eclipse.core.resources.IFile rc, int flags)
      This constructor is discouraged to be used directly. Instead, use pooled entries wrapping with CDataUtil.getPooledEntry(new CIncludeFileEntry(rc, flags)).
      Parameters:
      rc - - include file as a resource in the workspace.
      flags - - bitwise combination of ICSettingEntry flags. If ICSettingEntry.VALUE_WORKSPACE_PATH is missing it will be supplied.
  • Method Details