diff options
Diffstat (limited to 'core/org.eclipse.cdt.core/model/org/eclipse/cdt/core/model/IStructure.java')
-rw-r--r-- | core/org.eclipse.cdt.core/model/org/eclipse/cdt/core/model/IStructure.java | 69 |
1 files changed, 0 insertions, 69 deletions
diff --git a/core/org.eclipse.cdt.core/model/org/eclipse/cdt/core/model/IStructure.java b/core/org.eclipse.cdt.core/model/org/eclipse/cdt/core/model/IStructure.java deleted file mode 100644 index af967c70e0d..00000000000 --- a/core/org.eclipse.cdt.core/model/org/eclipse/cdt/core/model/IStructure.java +++ /dev/null @@ -1,69 +0,0 @@ -/********************************************************************** -Copyright (c) 2002, 2004 IBM Rational Software and others. -All rights reserved. This program and the accompanying materials -are made available under the terms of the Common Public License v1.0 -which accompanies this distribution, and is available at -http://www.eclipse.org/legal/cpl-v10.html - -Contributors: - IBM Rational Software - Initial API and implementation -**********************************************************************/ - -package org.eclipse.cdt.core.model; - -/** - * Represent struct(ure), class or union. - */ -public interface IStructure extends IInheritance, IParent, IVariableDeclaration { - public IField getField(String name); - - /** - * Returns the fields of a structure. - * @return an array of IField elements - * @throws CModelException - */ - public IField[] getFields() throws CModelException; - - /** - * Returns the specific method with the given name within the structure. - * Returns the first occurance more than one method has the same name. - * @param name - * @return IMethodDeclaration - */ - public IMethodDeclaration getMethod(String name); - - /** - * Returns all methods within the structure. - * @return array of IMethodDeclaration. - * @throws CModelException - */ - public IMethodDeclaration [] getMethods() throws CModelException; - - /** - * Checks if the structure is a Union - * @return boolean - * @throws CModelException - */ - public boolean isUnion() throws CModelException; - - /** - * Checks if the structure is a class - * @return boolean - * @throws CModelException - */ - public boolean isClass() throws CModelException; - - /** - * Checks if the structure is a struct - * @return boolean - * @throws CModelException - */ - public boolean isStruct() throws CModelException; - - /** - * Checks if the structure is abstract - * @return boolean - * @throws CModelException - */ - public boolean isAbstract() throws CModelException; -} |