Eclipse CDT
Pre-release 3.0

Uses of Interface
org.eclipse.cdt.core.model.ITranslationUnit

Packages that use ITranslationUnit
org.eclipse.cdt.core.model   
 

Uses of ITranslationUnit in org.eclipse.cdt.core.model
 

Subinterfaces of ITranslationUnit in org.eclipse.cdt.core.model
 interface IWorkingCopy
           A working copy of a C element acts just like a regular element (handle), except it is not attached to an underlying resource.
 

Methods in org.eclipse.cdt.core.model that return ITranslationUnit
 ITranslationUnit IWorkingCopy.getOriginalElement()
          Returns the original element this working copy was created from, or null if this is not a working copy.
static ITranslationUnit CoreModelUtil.findTranslationUnitForLocation(IPath location, ICProject preferredProject)
          Searches for a translation unit within the cprojects.
static ITranslationUnit CoreModelUtil.findTranslationUnit(IFile file)
          Returns the translation unit for the file given or null.
 ITranslationUnit ISourceReference.getTranslationUnit()
          Returns the translation unit in which this member is declared, or null if this member is not declared in a translation unit (for example, a binary type).
 ITranslationUnit[] ICContainer.getTranslationUnits()
          Returns all of the translation units in this ccontainer.
 ITranslationUnit ICContainer.getTranslationUnit(String name)
          Returns the tranlation unit with the specified name in this container (for example, "foobar.c").
 ITranslationUnit CoreModel.createTranslationUnitFrom(ICProject cproject, IPath path)
          Creates a translation form and IPath.
 

Methods in org.eclipse.cdt.core.model with parameters of type ITranslationUnit
 IASTTranslationUnit ILanguage.getASTTranslationUnit(ITranslationUnit file, int style)
          Deprecated. use getAST().
 IASTTranslationUnit ILanguage.getASTTranslationUnit(ITranslationUnit file, org.eclipse.cdt.core.dom.ICodeReaderFactory codeReaderFactory, int style)
          Deprecated. use getAST(...).
 IContributedModelBuilder ILanguage.createModelBuilder(ITranslationUnit tu)
          Used to override the default model building behavior for a translation unit.
 IASTTranslationUnit AbstractLanguage.getASTTranslationUnit(ITranslationUnit file, int style)
           
 IASTTranslationUnit AbstractLanguage.getASTTranslationUnit(ITranslationUnit file, org.eclipse.cdt.core.dom.ICodeReaderFactory codeReaderFactory, int style)
           
 


Eclipse CDT
Pre-release 3.0

Copyright (c) IBM Corp. and others 2004. All Rights Reserved.