org.eclipse.cdt.internal.ui.includebrowser
Class IBFile

java.lang.Object
  extended by org.eclipse.cdt.internal.ui.includebrowser.IBFile

public class IBFile
extends java.lang.Object


Field Summary
 org.eclipse.cdt.core.index.IIndexFileLocation fLocation
           
 java.lang.String fName
           
 org.eclipse.cdt.core.model.ITranslationUnit fTU
           
 
Constructor Summary
IBFile(org.eclipse.cdt.core.model.ICProject preferredProject, org.eclipse.cdt.core.index.IIndexFileLocation location)
           
IBFile(org.eclipse.cdt.core.model.ITranslationUnit tu)
           
IBFile(java.lang.String name)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 org.eclipse.cdt.core.index.IIndexFileLocation getLocation()
           
 java.lang.String getName()
           
 org.eclipse.core.resources.IFile getResource()
           
 org.eclipse.cdt.core.model.ITranslationUnit getTranslationUnit()
           
 int hashCode()
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

fTU

public final org.eclipse.cdt.core.model.ITranslationUnit fTU

fLocation

public final org.eclipse.cdt.core.index.IIndexFileLocation fLocation

fName

public final java.lang.String fName
Constructor Detail

IBFile

public IBFile(org.eclipse.cdt.core.model.ITranslationUnit tu)

IBFile

public IBFile(org.eclipse.cdt.core.model.ICProject preferredProject,
              org.eclipse.cdt.core.index.IIndexFileLocation location)
       throws org.eclipse.cdt.core.model.CModelException
Throws:
org.eclipse.cdt.core.model.CModelException

IBFile

public IBFile(java.lang.String name)
Method Detail

getLocation

public org.eclipse.cdt.core.index.IIndexFileLocation getLocation()

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

getTranslationUnit

public org.eclipse.cdt.core.model.ITranslationUnit getTranslationUnit()

getResource

public org.eclipse.core.resources.IFile getResource()

getName

public java.lang.String getName()