org.eclipse.cdt.core.dom.ast.cpp
Interface ICPPTemplateInstance
- All Superinterfaces:
- IBinding, ICPPBinding, ICPPSpecialization
- All Known Subinterfaces:
- ICPPDeferredTemplateInstance
public interface ICPPTemplateInstance
- extends ICPPSpecialization
This interface represents an instantiation of a class or function template.
An instantiated template is a specialization of that template.
An instance of a class template will also implement ICPPClassType and similarly
a function template instance will also implement ICPPFunction (or even ICPPMethod
or ICPPConstructor as appropriate)
EMPTY_TEMPLATE_INSTANCE_ARRAY
static final ICPPTemplateInstance[] EMPTY_TEMPLATE_INSTANCE_ARRAY
- Since:
- 5.1
getTemplateDefinition
ICPPTemplateDefinition getTemplateDefinition()
- get the template that this was instantiated from
getTemplateArguments
ICPPTemplateArgument[] getTemplateArguments()
- Returns the template arguments of this instance.
- Since:
- 5.1
getArguments
@Deprecated
IType[] getArguments()
- Deprecated. use
getTemplateArguments()
, instead.
Copyright (c) IBM Corp. and others 2004. All Rights Reserved.