Class CMacroFileEntry

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

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

    • CMacroFileEntry

      public CMacroFileEntry(String name, int flags)
      This constructor is discouraged to be referenced by clients. Instead, use pooled entries with CDataUtil.createCMacroFileEntry(name, flags).
      Parameters:
      name - - macro 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.
    • CMacroFileEntry

      public CMacroFileEntry(org.eclipse.core.runtime.IPath location, int flags)
      This constructor is discouraged to be used directly. Instead, use pooled entries with CDataUtil.createCMacroFileEntry(location.toString(), flags) or wrap it with CDataUtil.getPooledEntry(new CMacroFileEntry(location, flags)).
      Parameters:
      location - - macro 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.
    • CMacroFileEntry

      public CMacroFileEntry(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 CMacroFileEntry(rc, flags)).
      Parameters:
      rc - - macro 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