Eclipse CDT
Pre-release 3.0

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

All Superinterfaces:
IBinding, ICPPBinding
All Known Subinterfaces:
ICPPDeferredTemplateInstance, 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()
          Returns the argument map for this specialization.
 IBinding getSpecializedBinding()
          Return the binding that this specialization specializes.
 
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, getScope
 

Method Detail

getSpecializedBinding

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

Returns:
the original binding that this is a specialization of

getArgumentMap

public org.eclipse.cdt.core.parser.util.ObjectMap getArgumentMap()
Returns the argument map for this specialization. For partial specializations, only those arguments which have been specialized will appear.

Returns:
a map which maps from template parameter to the corresponding template argument

Eclipse CDT
Pre-release 3.0

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