Package org.eclipse.cdt.core.dom.ast.cpp
Interface ICPPClassTemplatePartialSpecialization
- All Superinterfaces:
Cloneable,org.eclipse.core.runtime.IAdaptable,IBinding,ICompositeType,ICPPBinding,ICPPClassTemplate,ICPPClassType,ICPPPartiallySpecializable,ICPPPartialSpecialization,ICPPTemplateDefinition,IType
- All Known Subinterfaces:
ICPPClassTemplatePartialSpecializationSpecialization
public interface ICPPClassTemplatePartialSpecialization
extends ICPPClassTemplate, ICPPPartialSpecialization
This interface represents a class template partial specialization. A partial specialization is
a class template in its own right.
E.g.:
template <class T> class A {}; // the primary class template
template <class T> class A<T*> {}; // a partial specialization of the primary class 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
FieldsModifier and TypeFieldDescriptionstatic final ICPPClassTemplatePartialSpecialization[]static final ICPPClassTemplatePartialSpecialization[]Deprecated.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.IType
EMPTY_TYPE_ARRAY, TYPE_MATCHER -
Method Summary
Modifier and TypeMethodDescriptionReturns the ICPPTemplateDefinition which this is a specialization of.Returns the arguments of this partial specialization.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
asDeferredInstance, getPartialSpecializationsMethods 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.ICPPPartialSpecialization
getPrimaryTemplateMethods inherited from interface org.eclipse.cdt.core.dom.ast.cpp.ICPPTemplateDefinition
getTemplateParametersMethods inherited from interface org.eclipse.cdt.core.dom.ast.IType
clone, isSameType
-
Field Details
-
EMPTY_ARRAY
- Since:
- 6.0
-
EMPTY_PARTIAL_SPECIALIZATION_ARRAY
@Deprecated static final ICPPClassTemplatePartialSpecialization[] EMPTY_PARTIAL_SPECIALIZATION_ARRAYDeprecated.UseEMPTY_ARRAY- Restriction:
- This field is not intended to be referenced by clients.
-
-
Method Details
-
getPrimaryClassTemplate
ICPPClassTemplate getPrimaryClassTemplate()Returns the ICPPTemplateDefinition which this is a specialization of. -
getTemplateArguments
ICPPTemplateArgument[] getTemplateArguments()Returns the arguments of this partial specialization.- Specified by:
getTemplateArgumentsin interfaceICPPPartialSpecialization- Since:
- 5.1
-
EMPTY_ARRAY