Interface ICLibraryFileEntry
- All Superinterfaces:
ICLanguageSettingEntry
,ICLanguageSettingPathEntry
,ICPathEntry
,ICSettingEntry
- All Known Implementing Classes:
CLibraryFileEntry
Representation in the project model of language settings entries
such as library file (-l gcc option). See
ICSettingEntry.LIBRARY_FILE
.-
Field Summary
Fields inherited from interface org.eclipse.cdt.core.settings.model.ICSettingEntry
ALL, BUILTIN, EXPORTED, FRAMEWORKS_MAC, INCLUDE_FILE, INCLUDE_PATH, LIBRARY_FILE, LIBRARY_PATH, LOCAL, MACRO, MACRO_FILE, NONE, OUTPUT_PATH, READONLY, RESOLVED, SOURCE_PATH, UNDEFINED, VALUE_WORKSPACE_PATH
-
Method Summary
Modifier and TypeMethodDescriptionorg.eclipse.core.runtime.IPath
Returns the path to the source archive or folder associated with this C path entry, ornull
if this C path entry has no source attachment.org.eclipse.core.runtime.IPath
Returns the path to map the source paths with to the source achive or folder An empty path indicates that the is a one-to-one mapping of source paths to the source achive or folder path.org.eclipse.core.runtime.IPath
Returns the path within the source archive or folder where source are located.Methods inherited from interface org.eclipse.cdt.core.settings.model.ICPathEntry
getFullPath, getLocation, isValueWorkspacePath
Methods inherited from interface org.eclipse.cdt.core.settings.model.ICSettingEntry
equalsByContents, equalsByName, getFlags, getKind, getName, getValue, isBuiltIn, isReadOnly, isResolved
-
Method Details
-
getSourceAttachmentPath
org.eclipse.core.runtime.IPath getSourceAttachmentPath()Returns the path to the source archive or folder associated with this C path entry, ornull
if this C path entry has no source attachment.Only library and variable C path entries may have source attachments. For library C path entries, the result path (if present) locates a source archive or folder. This archive or folder can be located in a project of the workspace or outside thr workspace. For variable c path entries, the result path (if present) has an analogous form and meaning as the variable path, namely the first segment is the name of a c path variable.
- Returns:
- the path to the source archive or folder, or
null
if none
-
getSourceAttachmentRootPath
org.eclipse.core.runtime.IPath getSourceAttachmentRootPath()Returns the path within the source archive or folder where source are located. An empty path indicates that packages are located at the root of the source archive or folder. Returns a non-null
value if and only ifgetSourceAttachmentPath
returns a non-null
value.- Returns:
- the path within the source archive or folder, or
null
if not applicable
-
getSourceAttachmentPrefixMapping
org.eclipse.core.runtime.IPath getSourceAttachmentPrefixMapping()Returns the path to map the source paths with to the source achive or folder An empty path indicates that the is a one-to-one mapping of source paths to the source achive or folder path. Returns a non-null
value if and only ifgetSourceAttachmentPath
returns a non-null
value.- Returns:
- the path mapping within the source archive or folder, or
null
if not applicable
-