Eclipse CDT
Pre-release 3.0

org.eclipse.cdt.core.dom.ast.cpp
Interface ICPPTemplateInstance

All Superinterfaces:
IBinding, ICPPBinding, ICPPSpecialization

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 similarily a function template instance will also implement ICPPFunction (or even ICPPMethod or ICPPConstructor as appropriate)


Field Summary
 
Fields inherited from interface org.eclipse.cdt.core.dom.ast.IBinding
EMPTY_BINDING_ARRAY
 
Method Summary
 org.eclipse.cdt.core.parser.util.ObjectMap getArgumentMap()
          return a map which maps from template parameter to the corresponding template argument
 IType[] getArguments()
          get the types of the arguments the template was instantiated with.
 ICPPTemplateDefinition getTemplateDefinition()
          get the template that this was instantiated from
 
Methods inherited from interface org.eclipse.cdt.core.dom.ast.cpp.ICPPSpecialization
getSpecializedBinding
 
Methods inherited from interface org.eclipse.cdt.core.dom.ast.cpp.ICPPBinding
getQualifiedName, getQualifiedNameCharArray, isGloballyQualified
 
Methods inherited from interface org.eclipse.cdt.core.dom.ast.IBinding
getName, getNameCharArray, getScope
 

Method Detail

getTemplateDefinition

ICPPTemplateDefinition getTemplateDefinition()
get the template that this was instantiated from

Returns:

getArguments

IType[] getArguments()
get the types of the arguments the template was instantiated with.

Returns:

getArgumentMap

org.eclipse.cdt.core.parser.util.ObjectMap getArgumentMap()
return a map which maps from template parameter to the corresponding template argument

Returns:

Eclipse CDT
Pre-release 3.0

Copyright (c) IBM Corp. and others 2004. All Rights Reserved.