|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.sf.ant4eclipse.model.project.cproject.CPathEntry
public class CPathEntry
A path entry as it's been used within C/C++ projects.
| Field Summary | |
|---|---|
static int |
CPE_CONTAINER
a container path which requires some resolving |
static int |
CPE_INCLUDE
an include path |
static int |
CPE_MACRO
a macro value |
static int |
CPE_OUTPUT
an output path |
static int |
CPE_SOURCE
a source path |
| Constructor Summary | |
|---|---|
CPathEntry(int kind,
java.lang.String path)
Initializes this path entry with a specific type and a corresponding value. |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj)
|
java.lang.String |
getBasePath()
Returns the location of an additional path associated with this entry. |
java.lang.String |
getInclude()
Returns the current include location of this C/C++ path. |
int |
getKind()
Returns the kind of path entry. |
java.lang.String |
getName()
Returns the name of the macro entry. |
java.lang.String |
getPath()
Returns the path value for this entry. |
java.lang.String |
getValue()
Returns the value of the macro entry. |
int |
hashCode()
|
boolean |
isSystemEntry()
Returns true if this path entry is related to the system. |
void |
setBasePath(java.lang.String basepath)
Changes the base path which is used in conjunction with system entries to locate an additional path. |
void |
setInclude(java.lang.String include)
Changes the include location of this C/C++ path. |
void |
setName(java.lang.String name)
Sets the name for a macro entry. |
void |
setSystemEntry(boolean system)
(Un)Marks this entry as a system specific one. |
void |
setValue(java.lang.String value)
Sets the value for a macro entry. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int CPE_CONTAINER
public static final int CPE_SOURCE
public static final int CPE_INCLUDE
public static final int CPE_OUTPUT
public static final int CPE_MACRO
| Constructor Detail |
|---|
public CPathEntry(int kind,
java.lang.String path)
kind - A CPE_??? constant which declares the kind of this entry.path - A value depending on the kind.| Method Detail |
|---|
public int getKind()
public java.lang.String getPath()
public void setInclude(java.lang.String include)
include - The new include location of the C/C++ path.public java.lang.String getInclude()
public void setSystemEntry(boolean system)
system - true <=> This path entry is related to the system.public boolean isSystemEntry()
public void setBasePath(java.lang.String basepath)
basepath - An additional path that is associated with this entry.public java.lang.String getBasePath()
public void setName(java.lang.String name)
name - The name of the macro entry.public java.lang.String getName()
public void setValue(java.lang.String value)
value - The value for the macro entry.public java.lang.String getValue()
public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||