|
Carbide.c++ | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IMakMakeReference
IMakMakeReference is the base interface for a build file in prj_mmpfiles or prj_testmmpfiles.
It provides convenience APIs for the commonly used keywords, which really work on the generic attribute list.
As mentioned in the Shiner_Build_APIs_Overview, the model doesn’t validate anything. The various attributes here may not apply for a given reference (depending on the presence in prj_mmpfiles vs. prj_testmmpfiles, or based on SDK version, like build_as_arm), but it’s up to the client to manage the list properly.
Method Summary | |
---|---|
IMakMakeReference |
copy()
|
java.util.List<java.lang.String> |
getAttributes()
Access/modify; with case-insensitive membership tests |
IPath |
getPath()
Get project relative path, never null |
boolean |
isBuildAsArm()
Check for BUILD_AS_ARM attribute |
boolean |
isManual()
Check for MANUAL attribute |
boolean |
isSupport()
Check for SUPPORT attribute |
boolean |
isTidy()
Check for TIDY attribute |
boolean |
isValid()
Tell if valid, e.g. initialized |
void |
setAttributes(java.util.List<java.lang.String> attributes)
Set attributes |
void |
setBuildAsArm(boolean build_as_arm)
Add/remove BUILD_AS_ARM attribute |
void |
setManual(boolean manual)
Add/remove MANUAL attribute |
void |
setPath(IPath path)
Set project-relative path, never null |
void |
setSupport(boolean support)
Add/remove SUPPORT attribute |
void |
setTidy(boolean tidy)
Add/remove TIDY attribute |
Method Detail |
---|
boolean isValid()
IPath getPath()
void setPath(IPath path)
java.util.List<java.lang.String> getAttributes()
void setAttributes(java.util.List<java.lang.String> attributes)
boolean isTidy()
void setTidy(boolean tidy)
tidy
- boolean isManual()
void setManual(boolean manual)
manual
- boolean isSupport()
void setSupport(boolean support)
support
- boolean isBuildAsArm()
void setBuildAsArm(boolean build_as_arm)
build_as_arm
- IMakMakeReference copy()
|
Carbide.c++ | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |