Package org.eclipse.cdt.core.model
Interface IPathEntry
- All Known Subinterfaces:
IContainerEntry,IIncludeEntry,IIncludeFileEntry,ILibraryEntry,IMacroEntry,IMacroFileEntry,IOutputEntry,IProjectEntry,ISourceEntry
public interface IPathEntry
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intEntry kind constant describing a path entry representing a container id.static final intEntry kind constant describing a path entry identifying a include path.static final intEntry kind constant describing a path entry representing a file that will be process file as if "#include "file"" appeared as the first line of the source file.static final intEntry kind constant describing a path entry identifying a library.static final intEntry kind constant describing a path entry representing a macro definition.static final intEntry kind constant describing a path entry representing a file that will be process file as if "#include "file"" appeared as the first line of the source file but only the macro definitions are kept.static final intEntry kind constant describing output locationstatic final intEntry kind constant describing a path entry identifying a required project.static final intEntry kind constant describing a path entry identifying a folder containing source code to be compiled. -
Method Summary
Modifier and TypeMethodDescriptionintReturns the kind of this path entry.org.eclipse.core.runtime.IPathgetPath()Returns the affected IPathboolean
-
Field Details
-
CDT_LIBRARY
static final int CDT_LIBRARYEntry kind constant describing a path entry identifying a library. A library is an archive containing consisting of pre-compiled binaries.- See Also:
-
CDT_PROJECT
static final int CDT_PROJECTEntry kind constant describing a path entry identifying a required project.- See Also:
-
CDT_SOURCE
static final int CDT_SOURCEEntry kind constant describing a path entry identifying a folder containing source code to be compiled.- See Also:
-
CDT_INCLUDE
static final int CDT_INCLUDEEntry kind constant describing a path entry identifying a include path.- See Also:
-
CDT_CONTAINER
static final int CDT_CONTAINEREntry kind constant describing a path entry representing a container id.- See Also:
-
CDT_MACRO
static final int CDT_MACROEntry kind constant describing a path entry representing a macro definition.- See Also:
-
CDT_OUTPUT
static final int CDT_OUTPUTEntry kind constant describing output location- See Also:
-
CDT_INCLUDE_FILE
static final int CDT_INCLUDE_FILEEntry kind constant describing a path entry representing a file that will be process file as if "#include "file"" appeared as the first line of the source file.- See Also:
-
CDT_MACRO_FILE
static final int CDT_MACRO_FILEEntry kind constant describing a path entry representing a file that will be process file as if "#include "file"" appeared as the first line of the source file but only the macro definitions are kept.- See Also:
-
-
Method Details
-
getEntryKind
int getEntryKind()Returns the kind of this path entry.- Returns:
- one of:
CDT_SOURCE- this entry describes a source root in its projectCDT_LIBRARY- this entry describes a libraryCDT_PROJECT- this entry describes another projectCDT_INCLUDE- this entry describes a include pathCDT_MACRO- this entry describes a macro definitionCDT_CONTAINER- this entry describes a container idCDT_OUTPUT- this entry describes output locationCDT_INCLUDE_FILE- this entry describes a file to be process as an includeCDT_MACRO_FILE- this entry describes a file containing macro definitions
-
isExported
boolean isExported()- Returns:
- true if exported.
-
getPath
org.eclipse.core.runtime.IPath getPath()Returns the affected IPath- Returns:
- IPath
-