|
Eclipse CDT Pre-release 3.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(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(String name)
Return the binary for this name, it must be a valid binary This is a handle-only operation. |
ICContainer |
getCContainer(String name)
Returns the container with the given name. |
ICContainer[] |
getCContainers()
Return al the child containers of this container. |
Object[] |
getNonCResources()
Returns an array of non-C resources directly contained in this project. |
ITranslationUnit |
getTranslationUnit(String name)
Returns the tranlation 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, 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 |
---|
Object[] getNonCResources() throws CModelException
Non-C resources includes files, folders, projects not accounted for.
JavaModelException
- if this element does not exist or if an
exception occurs while accessing its corresponding resource
CModelException
ITranslationUnit[] getTranslationUnits() throws CModelException
CModelException
- if this element does not exist or if an
exception occurs while accessing its corresponding resource.ITranslationUnit getTranslationUnit(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
CModelException
IBinary getBinary(String name)
CModelException
IArchive[] getArchives() throws CModelException
CModelException
IArchive getArchive(String name)
file
-
CModelException
ICContainer[] getCContainers() throws CModelException
CModelException
ICContainer getCContainer(String name)
name
- the given container
|
Eclipse CDT Pre-release 3.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |