/*******************************************************************************
 * Copyright (c) 2004, 2006 IBM Corporation and others.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *     IBM Corporation - initial API and implementation
 *     Markus Schorn (Wind River Systems)
 *******************************************************************************/

/*
 * Created on Nov 25, 2004
 */
package org.eclipse.cdt.core.dom.ast.c;

import org.eclipse.cdt.core.dom.ast.DOMException;
import org.eclipse.cdt.core.dom.ast.IBinding;
import org.eclipse.cdt.core.dom.ast.ICompositeType;

/**
 * @author aniefer
 */
public interface ICCompositeTypeScope extends ICScope {
	/**
	 * get the binding for the member that has been previous added to this scope
	 * and that matches the given name.
	 * 
	 * @param name
	 * @return
	 * @throws DOMException
	 */
	public IBinding getBinding(char[] name) throws DOMException;

	/**
	 * Get the type this scope is associated with
	 * @since 4.0
	 */
	public ICompositeType getCompositeType();
}
