Eclipse CDT
7.0

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

All Superinterfaces:
IBinding, ICPPBinding
All Known Subinterfaces:
ICPPClassSpecialization, ICPPClassTemplatePartialSpecializationSpecialization, ICPPDeferredTemplateInstance, ICPPEnumerationSpecialization, ICPPMethodSpecialization, ICPPTemplateInstance

public interface ICPPSpecialization
extends ICPPBinding

For an instantiation of a class template, the members of that instantiation will be specializations of the members of the original class template. For an instantiation of a function template, the parameters will be specializations of the parameters of the original function template. Specializations can also be explicitly defined.


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()
          Deprecated. use getTemplateParameterMap(), instead.
 IBinding getSpecializedBinding()
          Return the binding that this specialization specializes.
 ICPPTemplateParameterMap getTemplateParameterMap()
          Returns the mapping of template parameters to values.
 
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
getLinkage, getName, getNameCharArray, getOwner, getScope
 

Method Detail

getSpecializedBinding

IBinding getSpecializedBinding()
Return the binding that this specialization specializes.

Returns:
the original binding that this is a specialization of

getTemplateParameterMap

ICPPTemplateParameterMap getTemplateParameterMap()
Returns the mapping of template parameters to values.

Since:
5.1

getArgumentMap

@Deprecated
org.eclipse.cdt.core.parser.util.ObjectMap getArgumentMap()
Deprecated. use getTemplateParameterMap(), instead.


Eclipse CDT
7.0

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