|
Eclipse CDT 7.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ICContainer
A C Folder Resource.
| Field Summary |
|---|
| Method Summary | |
|---|---|
IArchive |
getArchive(java.lang.String name)
This is a handle-only operation. |
IArchive[] |
getArchives()
Returns all the archive of this container |
IBinary[] |
getBinaries()
Returns the all the binaries of this container. |
IBinary |
getBinary(java.lang.String name)
Return the binary for this name, it must be a valid binary This is a handle-only operation. |
ICContainer |
getCContainer(java.lang.String name)
Returns the container with the given name. |
ICContainer[] |
getCContainers()
Return al the child containers of this container. |
java.lang.Object[] |
getNonCResources()
Returns an array of non-C resources directly contained in this project. |
ITranslationUnit |
getTranslationUnit(java.lang.String name)
Returns the translation unit with the specified name in this container (for example, "foobar.c"). |
ITranslationUnit[] |
getTranslationUnits()
Returns all of the translation units in this ccontainer. |
| Methods inherited from interface org.eclipse.cdt.core.model.ICElement |
|---|
accept, exists, getAncestor, getCModel, getCProject, getElementName, getElementType, getHandleIdentifier, getLocationURI, getParent, getPath, getResource, getUnderlyingResource, isReadOnly, isStructureKnown |
| Methods inherited from interface org.eclipse.cdt.core.model.IParent |
|---|
getChildren, getChildrenOfType, hasChildren |
| Methods inherited from interface org.eclipse.cdt.core.model.IOpenable |
|---|
close, getBuffer, hasUnsavedChanges, isConsistent, isOpen, makeConsistent, makeConsistent, open, save |
| Methods inherited from interface org.eclipse.cdt.core.model.IBufferChangedListener |
|---|
bufferChanged |
| Method Detail |
|---|
java.lang.Object[] getNonCResources()
throws CModelException
Non-C resources includes files, folders, projects not accounted for.
CModelException - if this element does not exist or if an
exception occurs while accessing its corresponding resource
ITranslationUnit[] getTranslationUnits()
throws CModelException
CModelException - if this element does not exist or if an
exception occurs while accessing its corresponding resource.ITranslationUnit getTranslationUnit(java.lang.String name)
"foobar.c").
The name has to be a valid translation unit name.
This is a handle-only operation. The celement
may or may not exist.
name - the given name
IBinary[] getBinaries()
throws CModelException
CModelExceptionIBinary getBinary(java.lang.String name)
IArchive[] getArchives()
throws CModelException
CModelExceptionIArchive getArchive(java.lang.String name)
ICContainer[] getCContainers()
throws CModelException
CModelExceptionICContainer getCContainer(java.lang.String name)
name - the given container
|
Eclipse CDT 7.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||