1
/*******************************************************************************
2
* Copyright (c) 2007, 2009 IBM Corporation and others.
3
* All rights reserved. This program and the accompanying materials
4
* are made available under the terms of the Eclipse Public License v1.0
5
* which accompanies this distribution, and is available at
6
* http://www.eclipse.org/legal/epl-v10.html
9
* Andrew Niefer (IBM) - Initial API and implementation
10
* Markus Schorn (Wind River Systems)
11
*******************************************************************************/
12
package org.eclipse.cdt.internal.core.dom.parser.cpp;
14
import org.eclipse.cdt.core.dom.ast.DOMException;
15
import org.eclipse.cdt.core.dom.ast.cpp.ICPPClassTemplatePartialSpecialization;
16
import org.eclipse.cdt.core.dom.ast.cpp.ICPPTemplateArgument;
19
* Interface for class templates used in the AST.
21
public interface ICPPInternalClassTemplate extends ICPPInternalTemplate {
22
public void addPartialSpecialization(ICPPClassTemplatePartialSpecialization spec);
25
* Returns a deferred instance that allows lookups within this class template.
27
public ICPPDeferredClassInstance asDeferredInstance() throws DOMException;
30
* Tries to obtain a default argument for a template parameter from the index.
31
* @throws DOMException
33
public ICPPTemplateArgument getDefaultArgFromIndex(int paramPos) throws DOMException;