1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-06-09 10:46:02 +02:00

A bit of JavaDoc

This commit is contained in:
Andrew Gvozdev 2010-06-24 04:10:29 +00:00
parent 38b1009303
commit 658dc0af75

View file

@ -1,5 +1,5 @@
/******************************************************************************* /*******************************************************************************
* Copyright (c) 2007 Intel Corporation and others. * Copyright (c) 2007, 2010 Intel Corporation and others.
* All rights reserved. This program and the accompanying materials * All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0 * are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at * which accompanies this distribution, and is available at
@ -10,13 +10,42 @@
*******************************************************************************/ *******************************************************************************/
package org.eclipse.cdt.core.settings.model; package org.eclipse.cdt.core.settings.model;
import org.eclipse.cdt.core.model.IIncludeEntry;
public interface ICSettingEntry { public interface ICSettingEntry {
/**
* Flag {@code BUILTIN} 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.
*/
int BUILTIN = 1; int BUILTIN = 1;
/**
* Flag {@code READONLY} means that the entry is not intended to be overwritten by user.
*/
int READONLY = 1 << 1; int READONLY = 1 << 1;
/**
* Flag {@code LOCAL} is used during creation of {@link IIncludeEntry}
* to indicate that an include path is not a system path.
* It does not appear it is used anywhere else.
*/
int LOCAL = 1 << 2; int LOCAL = 1 << 2;
/**
* Flag {@code VALUE_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.
*/
int VALUE_WORKSPACE_PATH = 1 << 3; int VALUE_WORKSPACE_PATH = 1 << 3;
/**
* Flag {@code RESOLVED} means that any build or other variables (for example ${ProjDirPath})
* have been expanded to their values.
*/
int RESOLVED = 1 << 4; int RESOLVED = 1 << 4;
int INCLUDE_PATH = 1; int INCLUDE_PATH = 1;
int INCLUDE_FILE = 1 << 1; int INCLUDE_FILE = 1 << 1;
int MACRO = 1 << 2; int MACRO = 1 << 2;
@ -28,17 +57,17 @@ public interface ICSettingEntry {
int ALL = ~0; int ALL = ~0;
boolean isReadOnly(); boolean isReadOnly();
int getKind(); int getKind();
String getName(); String getName();
String getValue(); String getValue();
boolean isBuiltIn(); boolean isBuiltIn();
boolean isResolved(); boolean isResolved();
boolean equalsByName(ICSettingEntry entry); boolean equalsByName(ICSettingEntry entry);
boolean equalsByContents(ICSettingEntry entry); boolean equalsByContents(ICSettingEntry entry);