Interface ICSettingEntry
- All Known Subinterfaces:
ICExclusionPatternPathEntry
,ICIncludeFileEntry
,ICIncludePathEntry
,ICLanguageSettingEntry
,ICLanguageSettingPathEntry
,ICLibraryFileEntry
,ICLibraryPathEntry
,ICMacroEntry
,ICMacroFileEntry
,ICOutputEntry
,ICPathEntry
,ICSourceEntry
- All Known Implementing Classes:
ACExclusionFilterEntry
,ACPathEntry
,ACSettingEntry
,CIncludeFileEntry
,CIncludePathEntry
,CLibraryFileEntry
,CLibraryPathEntry
,CMacroEntry
,CMacroFileEntry
,COutputEntry
,CSourceEntry
public interface ICSettingEntry
An interface representing setting entries.
- Restriction:
- This interface is not intended to be implemented by clients.
Any class implementing this interface should be immutable so the setting
entries could be safely pooled by
CDataUtil.getPooledEntry(ICSettingEntry)
. - Restriction:
- This interface is not intended to be extended by clients.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
static final int
FlagBUILTIN
indicates settings built in a tool (compiler) itself.static final int
FlagUNDEFINED
indicates that the entry is "Exported" to referencing projects.static final int
FlagFRAMEWORKS_MAC
applies for path entries.static final int
static final int
static final int
static final int
static final int
FlagLOCAL
is used during creation ofIIncludeEntry
to indicate that an include path is not a system path.static final int
static final int
static final int
A constant known to be zero (0), used to indicate that no flags are set.static final int
static final int
FlagREADONLY
means that the entry is not intended to be overwritten by user.static final int
FlagRESOLVED
means that any build or other variables (for example ${ProjDirPath}) have been expanded to their values.static final int
static final int
FlagUNDEFINED
indicates that the entry should not be defined.static final int
FlagVALUE_WORKSPACE_PATH
is used to indicate that the entry is a resource managed by eclipse in the workspace. -
Method Summary
Modifier and TypeMethodDescriptionboolean
equalsByContents
(ICSettingEntry entry) boolean
equalsByName
(ICSettingEntry entry) int
getFlags()
int
getKind()
getName()
getValue()
boolean
boolean
boolean
-
Field Details
-
NONE
static final int NONEA constant known to be zero (0), used to indicate that no flags are set.- Since:
- 5.6
- See Also:
-
BUILTIN
static final int BUILTINFlagBUILTIN
indicates settings built in a tool (compiler) itself. That kind of settings are not passed as options to a compiler but indexer or other clients might need them.- See Also:
-
READONLY
static final int READONLYFlagREADONLY
means that the entry is not intended to be overwritten by user.- See Also:
-
LOCAL
static final int LOCALFlagLOCAL
is used during creation ofIIncludeEntry
to indicate that an include path is not a system path. "System" path is denoted by angle brackets as in #include <x.h> "Local" path is denoted by quotes as in #include "x.h"- See Also:
-
VALUE_WORKSPACE_PATH
static final int VALUE_WORKSPACE_PATHFlagVALUE_WORKSPACE_PATH
is used to indicate that the entry is a resource managed by eclipse in the workspace. It does not always mean that the path is rooted in the workspace root. In some cases it may be a project path.- See Also:
-
RESOLVED
static final int RESOLVEDFlagRESOLVED
means that any build or other variables (for example ${ProjDirPath}) have been expanded to their values.- See Also:
-
UNDEFINED
static final int UNDEFINEDFlagUNDEFINED
indicates that the entry should not be defined. It's main purpose to provide the means to negate entries defined elsewhere.- Since:
- 5.4
- See Also:
-
FRAMEWORKS_MAC
static final int FRAMEWORKS_MACFlagFRAMEWORKS_MAC
applies for path entries. Such a path entry will be treated in a special way to imitate resolving paths by Apple's version of gcc, see bug 69529.- Since:
- 5.4
- See Also:
-
EXPORTED
static final int EXPORTEDFlagUNDEFINED
indicates that the entry is "Exported" to referencing projects. It will be passed to the projects configurations referencing the configuration the entry belongs to.- Since:
- 5.6
- See Also:
-
INCLUDE_PATH
static final int INCLUDE_PATH- See Also:
-
INCLUDE_FILE
static final int INCLUDE_FILE- See Also:
-
MACRO
static final int MACRO- See Also:
-
MACRO_FILE
static final int MACRO_FILE- See Also:
-
LIBRARY_PATH
static final int LIBRARY_PATH- See Also:
-
LIBRARY_FILE
static final int LIBRARY_FILE- See Also:
-
OUTPUT_PATH
static final int OUTPUT_PATH- See Also:
-
SOURCE_PATH
static final int SOURCE_PATH- See Also:
-
ALL
static final int ALL- See Also:
-
-
Method Details