Package org.eclipse.cdt.core.dom.ast.cpp
Interface ICPPTemplateTemplateParameter
- All Superinterfaces:
Cloneable,org.eclipse.core.runtime.IAdaptable,IBinding,ICompositeType,ICPPBinding,ICPPClassTemplate,ICPPClassType,ICPPPartiallySpecializable,ICPPTemplateDefinition,ICPPTemplateParameter,IType
Template parameters of type template.
- Restriction:
- This interface is not intended to be implemented by clients.
- Restriction:
- This interface is not intended to be extended by clients.
-
Field Summary
Fields inherited from interface org.eclipse.cdt.core.dom.ast.IBinding
EMPTY_BINDING_ARRAYFields inherited from interface org.eclipse.cdt.core.dom.ast.ICompositeType
k_struct, k_unionFields inherited from interface org.eclipse.cdt.core.dom.ast.cpp.ICPPClassType
EMPTY_CLASS_ARRAY, k_class, v_private, v_protected, v_publicFields inherited from interface org.eclipse.cdt.core.dom.ast.cpp.ICPPTemplateParameter
EMPTY_TEMPLATE_PARAMETER_ARRAYFields inherited from interface org.eclipse.cdt.core.dom.ast.IType
EMPTY_TYPE_ARRAY, TYPE_MATCHER -
Method Summary
Modifier and TypeMethodDescriptionReturns the default value for this parameter, ornull.Returns the partial specializations of this class template.booleanisSameType(IType type) Types containing template parameters need to be compared even before it is known to which binding the template parameter belongs to.Methods inherited from interface org.eclipse.core.runtime.IAdaptable
getAdapterMethods inherited from interface org.eclipse.cdt.core.dom.ast.IBinding
getLinkage, getName, getNameCharArray, getOwner, getScopeMethods inherited from interface org.eclipse.cdt.core.dom.ast.ICompositeType
getCompositeScope, getKey, isAnonymousMethods inherited from interface org.eclipse.cdt.core.dom.ast.cpp.ICPPBinding
getQualifiedName, getQualifiedNameCharArray, isGloballyQualifiedMethods inherited from interface org.eclipse.cdt.core.dom.ast.cpp.ICPPClassTemplate
asDeferredInstanceMethods inherited from interface org.eclipse.cdt.core.dom.ast.cpp.ICPPClassType
findField, getAllDeclaredMethods, getBases, getConstructors, getDeclaredFields, getDeclaredMethods, getFields, getFriends, getMethods, getNestedClasses, getUsingDeclarations, getVisibility, isFinal, isNoDiscardMethods inherited from interface org.eclipse.cdt.core.dom.ast.cpp.ICPPTemplateDefinition
getTemplateParametersMethods inherited from interface org.eclipse.cdt.core.dom.ast.cpp.ICPPTemplateParameter
getDefaultValue, getParameterID, getParameterPosition, getTemplateNestingLevel, isParameterPack
-
Method Details
-
getDefault
Returns the default value for this parameter, ornull.- Throws:
DOMException
-
isSameType
Types containing template parameters need to be compared even before it is known to which binding the template parameter belongs to. ThereforeisSameType(IType)compares the kind and the parameter position of the template parameter, only. The name and the owner is ignored.- Specified by:
isSameTypein interfaceIType- Parameters:
type- can benull.- Since:
- 5.1
-
getPartialSpecializations
ICPPClassTemplatePartialSpecialization[] getPartialSpecializations()Description copied from interface:ICPPClassTemplateReturns the partial specializations of this class template.- Specified by:
getPartialSpecializationsin interfaceICPPClassTemplate- Specified by:
getPartialSpecializationsin interfaceICPPPartiallySpecializable
-