|
Eclipse CDT Pre-release 3.0 |
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use CModelException | |
---|---|
org.eclipse.cdt.core.model |
Uses of CModelException in org.eclipse.cdt.core.model |
---|
Methods in org.eclipse.cdt.core.model that throw CModelException | |
ICElement[] |
IParent.getChildren()
Returns the immediate children of this element. |
List |
IParent.getChildrenOfType(int type)
returns the children of a certain type |
String |
IFunctionDeclaration.getSignature()
Returns the signature of the method. |
void |
IOpenable.close()
Closes this element and its buffer (if any). |
IBuffer |
IOpenable.getBuffer()
Returns the buffer opened for this element, or null
if this element does not have a buffer. |
boolean |
IOpenable.hasUnsavedChanges()
returns true if the associated buffer has some unsaved changes |
boolean |
IOpenable.isConsistent()
Returns whether the element is consistent with its underlying resource or buffer. |
void |
IOpenable.makeConsistent(IProgressMonitor progress)
Makes this element consistent with its underlying resource or buffer by updating the element's structure and properties as necessary. |
void |
IOpenable.makeConsistent(IProgressMonitor progress,
boolean forced)
|
void |
IOpenable.open(IProgressMonitor progress)
Opens this element and all parent elements that are not already open. |
void |
IOpenable.save(IProgressMonitor progress,
boolean force)
Saves any changes in this element's buffer to its underlying resource via a workspace resource operation. |
ICElement |
ICProject.findElement(IPath path)
Returns the ICElement corresponding to the given
path, or null if no such
ICElement is found. |
IArchiveContainer |
ICProject.getArchiveContainer()
Return the ArchiveContainer of this Project. |
IBinaryContainer |
ICProject.getBinaryContainer()
Return the BinaryContainer of this Project. |
ISourceRoot[] |
ICProject.getSourceRoots()
Returns the source root folders of the project. |
ISourceRoot[] |
ICProject.getAllSourceRoots()
Returns all of the existing source roots that exist on the pathentry, in the order they are defined by the ".cdtproject". |
ISourceRoot |
ICProject.getSourceRoot(ISourceEntry entry)
|
IOutputEntry[] |
ICProject.getOutputEntries()
Return the output entries. |
ILibraryReference[] |
ICProject.getLibraryReferences()
Return the library references for this project. |
IIncludeReference[] |
ICProject.getIncludeReferences()
Return the include paths set on the project. |
String[] |
ICProject.getRequiredProjectNames()
Returns the names of the projects that are directly required by this project. |
IPathEntry[] |
ICProject.getResolvedPathEntries()
Returns the list of entries for the project. |
IPathEntry[] |
ICProject.getRawPathEntries()
Returns the list of entries for the project. |
void |
ICProject.setRawPathEntries(IPathEntry[] entries,
IProgressMonitor monitor)
Sets the entries for this project. |
Object[] |
ICProject.getNonCResources()
Returns an array of non-C resources directly contained in this project. |
org.eclipse.cdt.core.parser.ast.ASTAccessVisibility |
IMember.getVisibility()
Returns the member's visibility V_PRIVATE = 0 V_PROTECTED = 1 V_PUBLIC = 2 |
IBinary[] |
IArchive.getBinaries()
Return the binaries contain in the archive. |
void |
IWorkingCopy.commit(boolean force,
IProgressMonitor monitor)
Commits the contents of this working copy to its original element and underlying resource, bringing the C model up-to-date with the current contents of the working copy. |
IMarker[] |
IWorkingCopy.reconcile()
Reconciles the contents of this working copy. |
void |
IWorkingCopy.reconcile(boolean forceProblemDetection,
IProgressMonitor monitor)
Reconciles the contents of this working copy. |
IASTTranslationUnit |
IWorkingCopy.reconcile(boolean computeAST,
boolean forceProblemDetection,
IProgressMonitor monitor)
Reconciles the contents of this working copy. |
void |
IWorkingCopy.restore()
Restores the contents of this working copy to the current contents of this working copy's original element. |
boolean |
ICElement.isStructureKnown()
Returns whether the structure of this element is known. |
IArchive[] |
IArchiveContainer.getArchives()
|
static ITranslationUnit |
CoreModelUtil.findTranslationUnitForLocation(IPath location,
ICProject preferredProject)
Searches for a translation unit within the cprojects. |
String |
ITemplate.getTemplateSignature()
Returns the template signature The signature depends on the type of template. |
boolean |
IMethodDeclaration.isConstructor()
Returns whether this method is a constructor. |
boolean |
IMethodDeclaration.isDestructor()
Returns whether this method is a destructor. |
boolean |
IMethodDeclaration.isOperator()
Returns whether this method is an operator method. |
boolean |
IMethodDeclaration.isPureVirtual()
Returns whether this method is declared pure virtual. |
boolean |
IMethodDeclaration.isStatic()
Returns if this method is static or not |
boolean |
IMethodDeclaration.isInline()
Returns if this method is inline or not |
boolean |
IMethodDeclaration.isVirtual()
Returns whether this method is declared virtual. |
boolean |
IMethodDeclaration.isFriend()
return true if the member is a friend. |
IBinary[] |
IBinaryContainer.getBinaries()
|
void |
ICModel.copy(ICElement[] elements,
ICElement[] containers,
ICElement[] siblings,
String[] renamings,
boolean replace,
IProgressMonitor monitor)
Copies the given elements to the specified container(s). |
void |
ICModel.delete(ICElement[] elements,
boolean force,
IProgressMonitor monitor)
Deletes the given elements, forcing the operation if necessary and specified. |
void |
ICModel.move(ICElement[] elements,
ICElement[] containers,
ICElement[] siblings,
String[] renamings,
boolean replace,
IProgressMonitor monitor)
Moves the given elements to the specified container(s). |
void |
ICModel.rename(ICElement[] elements,
ICElement[] destinations,
String[] names,
boolean replace,
IProgressMonitor monitor)
Renames the given elements as specified. |
ICProject[] |
ICModel.getCProjects()
Returns the C projects. |
Object[] |
ICModel.getNonCResources()
Returns an array of non-C resources (i.e. non-C projects) in the workspace. |
String |
IVariableDeclaration.getTypeName()
Returns the variable declaration type name. |
void |
IVariableDeclaration.setTypeName(String type)
Sets the variable declaration type name. |
IInclude |
ITranslationUnit.createInclude(String name,
boolean isStd,
ICElement sibling,
IProgressMonitor monitor)
Creates and returns an include declaration in this translation unit with the given name. |
IUsing |
ITranslationUnit.createUsing(String name,
boolean isDirective,
ICElement sibling,
IProgressMonitor monitor)
Creates and returns a using declaration/directive in this translation unit |
INamespace |
ITranslationUnit.createNamespace(String namespace,
ICElement sibling,
IProgressMonitor monitor)
Creates and returns a namespace in this translation unit |
ICElement |
ITranslationUnit.getElementAtLine(int line)
Returns the smallest element within this translation unit that includes the given source position (that is, a method, field, etc.), or null if there is no element other than the translation
unit itself at the given position, or if the given position is not
within the source range of this translation unit. |
ICElement |
ITranslationUnit.getElementAtOffset(int offset)
Returns the smallest element within this translation unit that includes the given source position (that is, a method, field, etc.), or null if there is no element other than the translation
unit itself at the given position, or if the given position is not
within the source range of this translation unit. |
ICElement[] |
ITranslationUnit.getElementsAtOffset(int offset)
Returns the elements within this translation unit that includes the given source position (that is, a method, field, etc.), or an empty array if there are no elements other than the translation unit itself at the given position, or if the given position is not within the source range of this translation unit. |
ICElement |
ITranslationUnit.getElement(String name)
|
IInclude[] |
ITranslationUnit.getIncludes()
Returns the include declarations in this translation unit in the order in which they appear in the source. |
IWorkingCopy |
ITranslationUnit.getSharedWorkingCopy(IProgressMonitor monitor,
org.eclipse.cdt.internal.core.model.IBufferFactory factory)
Returns a shared working copy on this element using the given factory to create the buffer, or this element if this element is already a working copy. |
IWorkingCopy |
ITranslationUnit.getSharedWorkingCopy(IProgressMonitor monitor,
org.eclipse.cdt.internal.core.model.IBufferFactory factory,
IProblemRequestor requestor)
Returns a shared working copy on this element using the given factory to create the buffer, or this element if this element is already a working copy. |
IUsing[] |
ITranslationUnit.getUsings()
Returns the usings in this translation unit in the order in which they appear in the source. |
INamespace[] |
ITranslationUnit.getNamespaces()
Returns the namespace declarations in this translation unit in the order in which they appear in the source. |
IWorkingCopy |
ITranslationUnit.getWorkingCopy()
Returns a new working copy for the Translation Unit. |
IWorkingCopy |
ITranslationUnit.getWorkingCopy(IProgressMonitor monitor,
org.eclipse.cdt.internal.core.model.IBufferFactory factory)
Returns a new working copy for the Translation Unit. |
String |
IEnumeration.getTypeName()
Deprecated. |
String |
ISourceReference.getSource()
Returns the source code associated with this element. |
ISourceRange |
ISourceReference.getSourceRange()
Returns the source range associated with this element. |
Object[] |
ICContainer.getNonCResources()
Returns an array of non-C resources directly contained in this project. |
ITranslationUnit[] |
ICContainer.getTranslationUnits()
Returns all of the translation units in this ccontainer. |
IBinary[] |
ICContainer.getBinaries()
Returns the all the binaries of this container. |
IArchive[] |
ICContainer.getArchives()
Returns all the archive of this container |
ICContainer[] |
ICContainer.getCContainers()
Return al the child containers of this container. |
boolean |
IDeclaration.isStatic()
Checks if the declaration is static Returns true if the declaration is static, false otherwise. |
boolean |
IDeclaration.isConst()
Checks if the declaration is constant. |
boolean |
IDeclaration.isVolatile()
Checks if the declaration is volatile. |
boolean |
IField.isMutable()
Returns whether this storage specifier is mutable for the member. |
IAddress |
IBinaryElement.getAddress()
Returns the address of the function. |
IBinaryElement[] |
IBinaryModule.getBinaryElements()
|
static IPathEntryContainer |
CoreModel.getPathEntryContainer(IPath containerPath,
ICProject project)
Answers the project specific value for a given container. |
static void |
CoreModel.setPathEntryContainer(ICProject[] affectedProjects,
IPathEntryContainer container,
IProgressMonitor monitor)
Bind a container reference path to some actual containers ( IPathEntryContainer ).
|
static void |
CoreModel.setRawPathEntries(ICProject cproject,
IPathEntry[] newEntries,
IProgressMonitor monitor)
Sets the pathentries of this project using a list of entries. |
static IPathEntry[] |
CoreModel.getRawPathEntries(ICProject cproject)
Returns the raw pathentries for the project. |
static IPathEntry[] |
CoreModel.getResolvedPathEntries(ICProject cproject)
This method returns the resolved pathentries for the project All pathEntry.CDT_CONTAINER entries in the project's will be replaced by the entries they resolve to. |
static IIncludeEntry[] |
CoreModel.getIncludeEntries(IPath path)
This method returns the include entries associated with a translation unit if the path does not refer to a valid translation unit an empty array is return. |
static IIncludeFileEntry[] |
CoreModel.getIncludeFileEntries(IPath path)
This method returns the include file entries associated with a translation unit if the path does not refer to a valid translation unit an empty array is return. |
static IMacroEntry[] |
CoreModel.getMacroEntries(IPath path)
This method returns the macro entries associated with a translation unit if the path does not refer to a valid translation unit an empty array is return. |
static IMacroFileEntry[] |
CoreModel.getMacroFileEntries(IPath path)
This method returns the macro file entries associated with a translation unit if the path does not refer to a valid translation unit an empty array is return. |
void |
IBuffer.save(IProgressMonitor progress,
boolean force)
Saves the contents of this buffer to its underlying resource. |
void |
ISourceManipulation.copy(ICElement container,
ICElement sibling,
String rename,
boolean replace,
IProgressMonitor monitor)
Copies this element to the given container. |
void |
ISourceManipulation.delete(boolean force,
IProgressMonitor monitor)
Deletes this element, forcing if specified and necessary. |
void |
ISourceManipulation.move(ICElement container,
ICElement sibling,
String rename,
boolean replace,
IProgressMonitor monitor)
Moves this element to the given container. |
void |
ISourceManipulation.rename(String name,
boolean replace,
IProgressMonitor monitor)
Renames this element to the given name. |
IField[] |
IStructure.getFields()
Returns the fields of a structure. |
IMethodDeclaration[] |
IStructure.getMethods()
Returns all methods within the structure. |
boolean |
IStructure.isAbstract()
Checks if the structure is abstract |
boolean |
IStructureDeclaration.isUnion()
Checks if the structure is a Union |
boolean |
IStructureDeclaration.isClass()
Checks if the structure is a class |
boolean |
IStructureDeclaration.isStruct()
Checks if the structure is a struct |
String |
IStructureDeclaration.getTypeName()
Deprecated. use isUnion(), isClass(), isStruct() |
|
Eclipse CDT Pre-release 3.0 |
||||||||||
PREV NEXT | FRAMES NO FRAMES |